Explorar el Código

Add default value to BOOTLOADER_SIZE

tmk hace 12 años
padre
commit
fe2230cf60
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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)