MrBlinky / Arduboy-homemade-package

Arduino IDE board package for Arduboy and homemade versions making things easy
Creative Commons Zero v1.0 Universal
109 stars 31 forks source link

There is no Programmer option under the Tools menu #19

Closed zipeijun closed 1 year ago

zipeijun commented 1 year ago

Arduino IDE 2.1.0 has no Programmer option under the Tools menu, Arduino IDE 1.8.19 behaves normally and is able to flash the bootloader.

Arduino IDE 2.1.0

截屏2023-06-05 09 55 13

Arduino 1.8.19

截屏2023-06-05 09 56 11
MrBlinky commented 1 year ago

Hi! this is a known issue. The Arduino 2.x IDE has different behaviour. I found out the new IDE needs it's own copy of programmers.txt file in the boards package folder (location of boards.txt) This will be fixed in the next update.

For now you can copy the programmers.txt file from .../hardware/arduino/avr to ...packages/arduboy-homemade/hardware/avr/1.3.8

MrBlinky commented 1 year ago

You also need to remove the cached files so the IDE 'sees' the changes. Removing the folder .../AppData/Roaming/arduino-ide will be the easiest way to do this.

zipeijun commented 1 year ago

Thank you for your reply, I have solved this problem with Arduino 1.x I am raising this issue to help others with the same problem, for which I have not found a solution online. Hopefully, can add a note to REDEME to help others.

(I am not a native English speaker, so I hope I can express my meaning clearly)