Issue with boards.txt working in Arduino IDE 1.x but not in 2.x

Hello everyone,

I'm working on a project where I need to define multiple upload methods in the boards.txt file for a custom board in Arduino IDE. The following configuration works perfectly in Arduino IDE 1.8.x but does not work in the latest Arduino IDE 2.3.3.

Here’s the section of boards.txt that I’m using:

# Existing option for VEGA Flasher
aries_v2.menu.upload_method.serialMethod=VEGA Flasher
aries_v2.menu.upload_method.serialMethod.upload.protocol=serial
aries_v2.menu.upload_method.serialMethod.upload.tool=vegaflasher
aries_v2.menu.upload_method.serialMethod.build.ldscript={compiler.sdk.path}/link1.lds

# New option for VEGA Xmodem
aries_v2.menu.upload_method.xmodemMethod=VEGA Xmodem
aries_v2.menu.upload_method.xmodemMethod.upload.protocol=serial
aries_v2.menu.upload_method.xmodemMethod.upload.tool=vegaxmodem
aries_v2.menu.upload_method.xmodemMethod.build.ldscript={compiler.sdk.path}/link.lds

In Arduino IDE 1.x, both "VEGA Flasher" and "VEGA Xmodem" options appear in the upload method menu and work as expected. However, in Arduino IDE 2.x, only the "VEGA Flasher" option appears, and "VEGA Xmodem" is missing.

I would appreciate any advice on how to modify this configuration to make it work in Arduino IDE 2.x. Are there changes to the syntax or handling of the boards.txt file in Arduino IDE 2.x that I should be aware of?

Thanks in advance for your help!

There is a known issue in IDE 2.x where IDE 2.x does not see changes in boards.txt, platform.txt and programmers.txt.

Close the IDE and delete the directory C:\Users\yourUsername\AppData\Roaming\arduino-ide.

The above is for Windows, not sure where that directory is in other operating systems.

Your problem is with IDE 2.x and hence the topic has been moved to the dedicated IDE 2.x section of the forum.

1 Like

Thank you so much for your solution! It worked perfectly, and now both upload methods ("VEGA Flasher" and "VEGA Xmodem") are showing up in Arduino IDE 2.x.

Just to add, for anyone else using Ubuntu, the Arduino IDE 2.x configuration files can be found in the /home/.config/arduino-ide directory.

Thanks again for the help!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.