You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
in opitboot.c i see this
#if defined (AVR_ATmega328) || defined(AVR_ATmega328P)
// boot_code : jmp to 0x7400 (start of bootloader)
asm(" .section .bootv\n"
"boot_code: .word 0x940c\n"
".word 0x3a00\n");
#else
#if #defined(AVR_ATmega168)
// boot_code : jmp to 0x3c00 (start of bootloader)
asm(" .section .bootv\n"
"boot_code: .word 0x940c\n"
".word 0x1e00\n");
#endif
#endif
i know it can compile to this
but in my project, i cant compile ,dont know why?
The text was updated successfully, but these errors were encountered:
Describe the bug
in opitboot.c i see this
#if defined (AVR_ATmega328) || defined(AVR_ATmega328P)
// boot_code : jmp to 0x7400 (start of bootloader)
asm(" .section .bootv\n"
"boot_code: .word 0x940c\n"
".word 0x3a00\n");
#else
#if #defined(AVR_ATmega168)
// boot_code : jmp to 0x3c00 (start of bootloader)
asm(" .section .bootv\n"
"boot_code: .word 0x940c\n"
".word 0x1e00\n");
#endif
#endif
i know it can compile to this
but in my project, i cant compile ,dont know why?
The text was updated successfully, but these errors were encountered: