We have a board based with an ATMEGA32U4 based on the Arduino Leonardo board. We needed to change some pin assignments, so We created a new Json file describing this new board. Our problem is the reference to the custom file pins_arduino.h in the line “variant”: ". It is only working if I pass the complete path of the folder, including “/home/user/projectpath…”, in this line. In this way, the code will not work on other user/computer. How to reference this file to some place inside the project?
I know that, but I am doing this board to attend a specific application I am dealing now that I need to change the pin assignment of the Leonardo board. I don’t want to turn it public or commercial. So, I don’t see the necessity to make it part of the official Platformio board tree. So I would like the reference to arduino_pins.h to be internal to the project.