Skip to content

[FEATURE] PlatformIO Support (pioarduino) #1

@rambros3d

Description

@rambros3d

Problem Statement

The standard Arduino cli cannot handle multiple board configurations within a single code. Managing dependencies and switching between different target hardware would require global setting change.
In case of flashesp.com, we would need to create a new project for each board.

Proposed Solution

The pioarduino core would be a good option in addition to the arduino cli. Since the platformio.ini will have the build flags, environment and dependencies.

Benefit

  • Library Management: pioarduino automatically handles library dependencies and versions (easier than using libraries_lock.json), pioarduino also allows the use of custom libraries.
  • Multi-Board Support: It allows multiple board configurations to coexist in a single code base. Useful for projects which have multiple boards variations.
  • Easier Customization: Users can easily customize build flags and settings in the configuration file before flashing, without modifying the arduino code. The users can be allowed to edit the platformio file in the flashesp UI before flashing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions