I want to add an additional configuration to the boards.txt for the "Arduino Pro or Pro Mini"
I will usese for some project with watchdog the optiboot bootloader
i have change the first entry for the 16MHZ 5V like this (the + sign is not in the boards txt, this is the added line)
pro.menu.cpu.16MHzatmega328=ATmega328 (5V, 16 MHz)*
pro.menu.cpu.16MHzatmega328.upload.maximum_size=30720*
pro.menu.cpu.16MHzatmega328.upload.maximum_data_size=2048*
#pro.menu.cpu.16MHzatmega328.upload.speed=57600*
+pro.menu.cpu.16MHzatmega328.upload.speed=115200*
pro.menu.cpu.16MHzatmega328.bootloader.low_fuses=0xFF*
pro.menu.cpu.16MHzatmega328.bootloader.high_fuses=0xDA*
pro.menu.cpu.16MHzatmega328.bootloader.extended_fuses=0x05*
#pro.menu.cpu.16MHzatmega328.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex*
+pro.menu.cpu.16MHzatmega328.bootloader.file=optiboot/optiboot_atmega328.hex*
pro.menu.cpu.16MHzatmega328.build.mcu=atmega328p*
pro.menu.cpu.16MHzatmega328.build.f_cpu=16000000L*
it works fine, in my next step i added a new entry with a unique name
pro.menu.cpu.16MHzatmega328=ATmega328 (5V, 16 MHz) opti*
pro.menu.cpu.op16MHzatmega328.upload.maximum_size=30720*
pro.menu.cpu.op16MHzatmega328.upload.maximum_data_size=2048*
pro.menu.cpu.op16MHzatmega328.upload.speed=115200*
pro.menu.cpu.op16MHzatmega328.bootloader.low_fuses=0xFF*
pro.menu.cpu.op16MHzatmega328.bootloader.high_fuses=0xDA*
pro.menu.cpu.op16MHzatmega328.bootloader.extended_fuses=0x05*
pro.menu.cpu.op16MHzatmega328.bootloader.file=optiboot/optiboot_atmega328.hex*
pro.menu.cpu.op16MHzatmega328.build.mcu=atmega328p*
pro.menu.cpu.op16MHzatmega328.build.f_cpu=16000000L*
unfortunalty this will not work
i get this error message (error to burn the bootoader)
"Fehler beim Brennen des Bootloaders.
avrdude: AVR Part "{build.mcu}" not found.
Valid parts are:
uc3a0512 = AT32UC3A0512
c128 = AT90CAN128
c32 = AT90CAN32
...
"
is there annother file which is my unique name "op16MHzatmega328" linked to
thank in forwar for your support, i have no idea
Lutz