-
Notifications
You must be signed in to change notification settings - Fork 343
Description
\Atmega_Board_Programmer\Atmega_Board_Programmer\bootloader_atmega328.h:3:34: error: variable 'atmega328_optiboot' must be const in order to be put into read-only section by means of 'attribute((progmem))'
byte PROGMEM atmega328_optiboot [] = {
^
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:147:9: error: 'atmega168_optiboot' was not declared in this scope
atmega168_optiboot, // loader image
^~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:147:9: note: suggested alternative: 'atmega328_optiboot'
atmega168_optiboot, // loader image
^~~~~~~~~~~~~~~~~~
atmega328_optiboot
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:149:16: error: 'atmega168_optiboot' was not declared in this scope
sizeof atmega168_optiboot,
^~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:149:16: note: suggested alternative: 'atmega328_optiboot'
sizeof atmega168_optiboot,
^~~~~~~~~~~~~~~~~~
atmega328_optiboot
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:184:9: error: 'optiboot_atmega1280_hex' was not declared in this scope
optiboot_atmega1280_hex,
^~~~~~~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:186:16: error: 'optiboot_atmega1280_hex' was not declared in this scope
sizeof optiboot_atmega1280_hex,
^~~~~~~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:195:9: error: 'atmega2560_bootloader_hex' was not declared in this scope
atmega2560_bootloader_hex,// loader image
^~~~~~~~~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:197:16: error: 'atmega2560_bootloader_hex' was not declared in this scope
sizeof atmega2560_bootloader_hex,
^~~~~~~~~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:217:9: error: 'optiboot_atmega1284p_hex' was not declared in this scope
optiboot_atmega1284p_hex,
^~~~~~~~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:219:16: error: 'optiboot_atmega1284p_hex' was not declared in this scope
sizeof optiboot_atmega1284p_hex,
^~~~~~~~~~~~~~~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:235:9: error: 'atmega8_hex' was not declared in this scope
atmega8_hex,
^~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:237:16: error: 'atmega8_hex' was not declared in this scope
sizeof atmega8_hex,
^~~~~~~~~~~
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino: In function 'void writeBootloader()':
\Atmega_Board_Programmer\Atmega_Board_Programmer\Atmega_Board_Programmer.ino:419:20: error: 'ATmegaBOOT_168_atmega328_pro_8MHz_hex' was not declared in this scope
bootloader = ATmegaBOOT_168_atmega328_pro_8MHz_hex;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: variable 'atmega328_optiboot' must be const in order to be put into read-only section by means of 'attribute((progmem))'