mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
Board ID as build flag (#8634)
* Board ID as build flag When using IDE or `arduino-cli board list`, show full board name and FQBN ``` $ arduino-cli.exe board list Port Protocol Type Board Name FQBN Core xxx.xxx.x.xxx network Network Port LOLIN(WEMOS) D1 R2 & mini esp8266com:esp8266:d1_mini esp8266com:esp8266 ``` Also add `description` field to the mDNS response containing the original `{build.board}` string value. resolve #7759 * does not work with recent ide (?) * fixup! does not work with recent ide (?)
This commit is contained in:
@ -127,6 +127,7 @@ env.Append(
|
||||
"_GNU_SOURCE",
|
||||
("ARDUINO", 10805),
|
||||
("ARDUINO_BOARD", '\\"PLATFORMIO_%s\\"' % env.BoardConfig().id.upper()),
|
||||
("ARDUINO_BOARD_ID", '\\"%s\\"' % env.BoardConfig().id),
|
||||
"FLASHMODE_${BOARD_FLASH_MODE.upper()}",
|
||||
"LWIP_OPEN_SRC"
|
||||
],
|
||||
|
Reference in New Issue
Block a user