[Issue] Contributing an AVR board with special pins_arduino.h for Arduino framework

Hello, I would like to contribute the support for a board called Altair, I successfully got it working by making a custom board json file and putting it in ~/.platformio/boards and manually copying the custom pins_arduino.h to ~/.platformio/packages/framework-arduinoavr/variants/altair/.

Here are the files and instructions to manually install it: GitHub - Rodmg/altair-platformio: Altair Development Board support for PlatformIO

However this is not convenient as I have to copy the pins_arduino.h file again every time the framework is updated.

I’ve been looking at the platform-atmelavr github repository and I know that I could make a pull request for adding the board json definition, however I cannot find where to put the pins_arduino.h file.

Where are the board variant files located?

Thank you.

Hello,

We will put source code of framework-arduinoavr to GitHub later. Please move this request to Issues · platformio/platform-atmelavr · GitHub

1 Like

The repo is created. Please make PR to it.

1 Like