We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61185c6 commit e0feac8Copy full SHA for e0feac8
arduino/cores/packagemanager/loader.go
@@ -388,7 +388,7 @@ func (pm *PackageManager) loadBoards(platform *cores.PlatformRelease) error {
388
for boardID, boardProperties := range propertiesByBoard {
389
var board *cores.Board
390
for key := range boardProperties.AsMap() {
391
- if !strings.HasPrefix(key, "menu") {
+ if !strings.HasPrefix(key, "menu.") {
392
continue
393
}
394
// Menu keys are formed like this:
test/testdata/platform_with_wrong_custom_board_options/boards.txt
@@ -60,3 +60,4 @@ altra.build.core=arduino
60
altra.build.variant=standard
61
altra.menu.cpu.atmega328=ATmega328P
62
altra.menu.cpu.atmega168=ATmega168
63
+altra.menufoo=bar
0 commit comments