Ver Fonte

Add default value to BOOTLOADER_SIZE

tmk há 12 anos atrás
pai
commit
fe2230cf60
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      common/bootloader.c

+ 2 - 1
common/bootloader.c

@@ -19,7 +19,8 @@
  *   USBaspLoader        2048
  */
 #ifndef BOOTLOADER_SIZE
-#warn To use bootloader_jump() you need to define BOOTLOADER_SIZE in config.h.
+#warning To use bootloader_jump() you need to define BOOTLOADER_SIZE in config.h.
+#define BOOTLOADER_SIZE     4096
 #endif
 
 #define FLASH_SIZE          (FLASHEND + 1L)