HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
255 stars 140 forks source link

CubeCell AB02 not defining ARDUINO_CUBECELL_BOARDPLUS from boards.txt #256

Closed MrSniffer closed 2 years ago

MrSniffer commented 2 years ago

I am using the HTC-AB02 w Windows Arduino IDE 2.0 selected via Tools/Board. Despite there being a (correct) line in boards.txt, namely CubeCell-BoardPlus.build.board=CubeCell_BoardPlus

if defined(ARDUINO_CUBECELL_BOARDPLUS)

fails. I believe every board is supposed to define ARDUINO_{build.board} but apparently not for me.

MrSniffer commented 2 years ago

Looks like the source of the problem is that the build.board= definition is not UPPERCASE and is not processed as ARDUINO_CubeCell_BoardPlus or as ARDUINO_CUBECELL_BOARDPLUS.

Probably the Arduino IDE 2.0 should UC whatever is in the boards.txt.