Marlin AVR Boards for Arduino IDE #27160
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Arduino IDE is behind PlatformIO when it comes to build customization, speed, and efficiency, but it does have hooks that could allow for a more optimized build experience on par with PlatformIO. To add support for some boards in Arduino IDE you must install the "Marlin AVR Boards" support folder in your
[Sketchbook]/hardware
folder. This adds some Marlin-supported boards to the Tools > Boards sub-menu and provides the necessary build parameters.This is mainly added for experimentation, to see how much we can optimize a build under Arduino IDE, and in the long term to see whether it is possible to build most or all Marlin-supported boards within Arduino IDE.
Since the Arduino IDE Boards Manager makes it possible to add a boards package using a remote URL, it would be most convenient to host these files in a new repository (
MarlinFirmware/ArduinoSupport
) and then add any files needed to allow adding the package to Arduino IDE remotely. This will also allow the package to be separately maintained in a logical place, whereas right now there is no real "official" home for these files.Formerly: https://github.com/Bob-the-Kuhn/Marlin_AT90USB