8000 Fix compiler flags to be compatible with ESP8622/Arduino by CONSULitAS · Pull Request #813 · espressif/arduino-esp32 · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@CONSULitAS
Copy link
Contributor

see also "fix NodeMCU-32S .build.board property" (#812 (comment))

-DARDUINO_BOARD={build.board} is missing

With this fix you get a macro ARDUINO_BOARD with the name of the selected board (e.g. "NodeMCU-32S").

https://github.com/esp8266/Arduino/blob/master/platform.txt#L75
https://github.com/esp8266/Arduino/blob/master/platform.txt#L78
https://github.com/esp8266/Arduino/blob/master/platform.txt#L81

Jochen Groppe added 3 commits November 5, 2017 17:12
The .build.board=xx proptery is used for generating a macro named "ARDUINO_xxx".

C macro names should never have a "-" sign.

* current: ARDUINO_NodeMCU-32S
* should be: ARDUINO_=NodeMCU_32S
see also "fix NodeMCU-32S .build.board property" #812 (#812 (comment))

`-DARDUINO_BOARD={build.board}` **is missing**
@me-no-dev me-no-dev merged commit 1b2eb44 into espressif:master Nov 6, 2017
@me-no-dev
Copy link
Member

Nice :) don't know how I missed that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0