How do I create an item in the tool tab?

1

As you can see in the picture, If you have selected the arduino nano board, a processor item appears in the Tools tab.

I want to add an item to that tool tab.
(Item not in the menu of boards.txt)

What should I do?

On my system it is boards.txt in C:\Program Files (x86)\Arduino\hardware\arduino\avr\boards.txt

## Arduino Nano w/ ATmega328P (old bootloader)
## --------------------------
nano.menu.cpu.atmega328old=ATmega328P (Old Bootloader)

nano.menu.cpu.atmega328old.upload.maximum_size=30720
nano.menu.cpu.atmega328old.upload.maximum_data_size=2048
nano.menu.cpu.atmega328old.upload.speed=57600

nano.menu.cpu.atmega328old.bootloader.low_fuses=0xFF
nano.menu.cpu.atmega328old.bootloader.high_fuses=0xDA
nano.menu.cpu.atmega328old.bootloader.extended_fuses=0xFD
nano.menu.cpu.atmega328old.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex

nano.menu.cpu.atmega328old.build.mcu=atmega328p

The official documentation for this "custom board options" system is available here:

https://arduino.github.io/arduino-cli/latest/platform-specification/#custom-board-options

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