uecide not compiling - error macro names must be identifiers

Hello, while using UECIDE, compiling Arduino Nano, the software started to give this error:

Error at line 0 in file : ‣ 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

Tags: 

Comments

That's a problem I sometimes

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?

Ok. I guess you recently

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.

  1. Go into the Plugin Manager
  2. Locate the board Boards -> Arduino -> Arduino Nano 3.x w/ ATMega328
  3. Click the Uninstall button
  4. Locate the board Boards -> Arduino -> AVR -> Arduino Nano
  5. 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.

Pages