Skip to content

Local Libraries folder and board / build options .ini #2736

Closed as duplicate of#2573
@nikthefix

Description

@nikthefix

Describe the request

Build system.

Describe the current behavior

More than ever now we really need the ability to store project dependent libraries in the sketch directory and have them 'found' just as though they were located in the system Libraries folder.
Placing libs in a 'src' folder leads to #include hell and can be so much work although sometimes necessary for version control.

For reasons of portability and reproducibility, a config.ini file for board selection and build options is also needed.

This was of course achieved using Platform IO but PIO is using out-of-date components and won't support the latest boards / frameworks (ESP_Arduino 3.2 at the time of writing, for example).

Maybe strike while the iron is hot and offer us a build system which encapsulates the entire project including dependencies in a single directory so that all you need to have installed are the Arduino IDE and the board packages.

I'd even take it a stage further and request that a 'Hardware' folder could be placed in the sketch directory.

nik

Arduino IDE version

2.3.6

Operating system

Windows

Operating system version

11

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Labels

topic: CLIRelated to Arduino CLItopic: codeRelated to content of the project itselftype: enhancementProposed improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions