Skip to content

Conversation

maxgerhardt
Copy link
Contributor

@maxgerhardt maxgerhardt commented Jan 11, 2021

  1. Macro name was invalid since there must never ever be a - in the name of a macro
  2. Macro name was wrong because Arduino-ESP32 uses -DARDUINO_TWatch as can be seen in https://github.com/espressif/arduino-esp32/blob/2452c1fb539246e47a715b74a3ad25b8a7ebbec7/boards.txt#L4537-L4550 and https://github.com/espressif/arduino-esp32/blob/2452c1fb539246e47a715b74a3ad25b8a7ebbec7/platform.txt#L75

Fixes

<command-line>:0:10: warning: ISO C++11 requires whitespace after the macro name

warnings when compiling for this board.

1. Macro name was invalid since there must never ever be a `-` in the name of a macro
2. Macro name was wrong because Arduino-ESP32 uses `-DARDUINO_TWatch` as can be seen in https://github.com/espressif/arduino-esp32/blob/2452c1fb539246e47a715b74a3ad25b8a7ebbec7/boards.txt#L4537-L4550 and https://github.com/espressif/arduino-esp32/blob/2452c1fb539246e47a715b74a3ad25b8a7ebbec7/platform.txt#L75
@valeros
Copy link
Member

valeros commented Jan 12, 2021

Thanks, duplicate #436 . The variant will be updated together with a new Arduino core release.

@valeros valeros closed this Jan 12, 2021
@maxgerhardt
Copy link
Contributor Author

Woopsie. 😅

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