How to define custom tool within json, boards.txt and platform.txt

I'm creating a board package for a custom board with a SAMD21J17A. To be able to Upload the sketch from within the Arduino IDE (currently 1.8.19) I need to use a bossac.exe version which supports the SAMD21J17A. So I use the bossac version 1.7.0-mattairtech-3. But now I want to place this bossac.exe in the tools directory of my board hardware package.

What should be used and defined within the boards.txt and platform.txt files, and how to define this package specific tools within the package_<custom board>_index.json file?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.