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!