You are viewing a static version of the site. Enable JavaScript to benefit from the
full functionality of this site and enable such things as forum posting.
uecide not compiling - error macro names must be identifiers
Giacobbe Cerrotta:
Hello,
while using UECIDE, compiling Arduino Nano, the software started to give this error:
Error at line 0 in file <command-line>:
‣ macro names must be identifiers
Compiling Failed
I'm asking if someone has got this error and if he can explain me how to resolve it.
Thanks in advance.
Best regards,
Jacob
matt:
That's a problem I sometimes see when a -D macro on the command line has merged with another parameter.
What board are you compiling for, and what OS are you on?
Giacobbe Cerrotta:
Hello,
the board is Arduino NANO. OS Win10Home. Uecide 0.11.5
Giacobbe Cerrotta:
WIN 10
matt:
Ok, booting my Win 10 VM now.
matt:
Ok. I guess you recently updated the AVR plugins, but you didn't update the board. Or rather the board definition has been replaced and there are now two board definitions available - the old one and the new one.
You need to remove the old board and install the new board. It will only take you a moment.
Go into the Plugin Manager
Locate the board Boards -> Arduino -> Arduino Nano 3.x w/ ATMega328
Click the Uninstall
button
Locate the board Boards -> Arduino -> AVR -> Arduino Nano
Press the Install
button
Once that is finished close the window and use the Hardware -> Boards menu to select the newly installed board, and all should be well.
The root cause is that Arduino combined the multiple versions of the Nano into a single board with menu entries to select which MCU and bootloader is on your specific variant (menus are in Hardware -> Options). That meant the names of the boards changed between versions.
Giacobbe Cerrotta:
Thanks Mat, now running
matt:
I guess I should remove the old board(s) from the repo.