rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.49k stars 1.25k forks source link

Support Arduino IDE 2.0 #896

Closed 21km43 closed 1 year ago

21km43 commented 1 year ago

Some paths have changed in Arduino IDE 2.0. This time, platform.txt has been changed to work with version 2.0.

rogerclarkmelbourne commented 1 year ago

Umm.

Is there a way to detect Arduino 2, because this change would mean the repo is not compatible with Arduino 1 which some people may still be using.

I guess I could make a separate branch for Arduino 1 for legacy support and change the master branch

board707 commented 1 year ago

this change would mean the repo is not compatible with Arduino 1 which some people may still be using.

I would say "the most people still using"

rogerclarkmelbourne commented 1 year ago

@board707

Yes. Arduino 2 is relatively new, and I'm not sure how many people would have updated.

I haven't updated yet, as there was no need to do so.

21km43 commented 1 year ago

Sorry, I noticed that the existing project supports Arduino IDE 2.0. I believe the reason it was not available before was that I had copied it to the Documents folder instead of the AppData.