Skip to content

Add support for programmers.local.txt #989

Open
@NormanDunbar

Description

@NormanDunbar

Describe the request

Add support for the user to adjust the programmer definitions of a platform via a programmers.local.txt file.

🙂 The user will be able to add programmer definitions or modify existing definitions without having to modify the programmers.txt file, and easily apply that modification after updating the platform by simply copying a copy of their programmers.local.txt file into the platform folder.

Describe the current behavior

The Arduino boards platform allows the user to extend the boards.txt file via a boards.local.txt file, and the platform.txt file via a platform.local.txt file. Inexplicably, that system was not implemented for the other platform configuration file: programmers.txt.

🙁 The only way for the user to add programmer definitions to a platform, or modify the existing definitions is by editing the programmers.txt file. This is more prone to user error since the user's changes are not isolated. It also is very inconvenient because the user's patch must be reapplied to the content of the programmers.txt file after every update of the platform.

Arduino CLI version

55f86b5

Operating system

All

Operating system version

Any

Additional context

Here is an example of a use case for programmers.local.txt:

https://github.com/JAndrassy/ArduinoOTA/tree/master?tab=readme-ov-file#ota-upload-from-ide-without-network-port

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: 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