Skip to content

Commit 609854e

Browse files
authored
Merge pull request #172 from per1234/rp2040-alias
Expand rule LP045 to cover RP2040 architectures
2 parents 15f880f + 408599a commit 609854e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/rule/rulefunction/library.go

+1
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,7 @@ func LibraryPropertiesArchitecturesFieldSoloAlias() (result ruleresult.Type, out
10411041
"espressif8266": {"esp8266"},
10421042
"intel_arc32": {"arc32"},
10431043
"nordicnrf52": {"nRF5", "nrf52", "mbed", "mbed_edge", "mbed_nano"},
1044+
"raspberrypi": {"mbed_nano", "mbed_rp2040", "rp2040"},
10441045
}
10451046

10461047
trueArchitecturePresent := func(trueArchitecturesQuery []string) bool {

0 commit comments

Comments
 (0)