SOLVED: How can i use defined(ARDUINO_T-BEAM) when the '-' character is not accepted by compiler? #10919
Closed
serialrf433
started this conversation in
General
Replies: 1 comment
-
Solved it: In this file you have to ctrl+f for build.board |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. The file boards.txt have many different boards defined. Some of them have a name with a '-' inside like the t-beam. When i write software and want to check the board, i would like to use for example the defined(ARDUINO_T-BEAM). But that is not possible. The compiler does not accept '-' in defined().
Thats how the compiler error looks like:
Could someone tell me how this can be used in such a use case? I searched for some time but was not able to find an answer.
Beta Was this translation helpful? Give feedback.
All reactions