Skip to content

Conversation

@mcspr
Copy link
Collaborator

@mcspr mcspr commented Jul 13, 2022

Use {_id} in mDNS response instead of the {build.board}, adds extra build flag -DARDUINO_BOARD_ID="{_id}"

For example

$ 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

resolve #7759

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 esp8266#7759
@mcspr
Copy link
Collaborator Author

mcspr commented Jul 13, 2022

...or, just replace the {build.board} with {_id}. without adding yet another flag
just not sure whether changing its value matters anywhere but the IDE discovery, or if any user code might expect / use it in any way

@d-a-v d-a-v merged commit 06f34ed into esp8266:master Jul 27, 2022
@mcspr mcspr deleted the mdns/board-id-and-desc branch July 27, 2022 21:33
@mcspr mcspr added this to the 3.1 milestone Nov 2, 2022
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request Nov 18, 2024
* 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 esp8266#7759

* does not work with recent ide (?)

* fixup! does not work with recent ide (?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants