We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b2351 commit a408877Copy full SHA for a408877
arduino/cores/cores.go
@@ -58,6 +58,7 @@ type PlatformRelease struct {
58
Properties properties.Map `json:"-"`
59
Boards map[string]*Board `json:"-"`
60
Programmers map[string]properties.Map `json:"-"`
61
+ Menus map[string]string `json:"-"`
62
Folder string `json:"-"`
63
}
64
arduino/cores/packagemanager/loader.go
@@ -289,6 +289,9 @@ func (pm *PackageManager) loadBoards(platform *cores.PlatformRelease) error {
289
290
291
propertiesByBoard := boardsProperties.FirstLevelOf()
292
+
293
+ platform.Menus = propertiesByBoard["menu"]
294
295
delete(propertiesByBoard, "menu") // TODO: check this one
296
297
for boardID, boardProperties := range propertiesByBoard {
0 commit comments