summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-11 13:32:46 +0900
committertmk <nobody@nowhere>2013-03-11 13:32:46 +0900
commitfe2230cf60efdc5dafb85356e54b8b87cd52c3a3 (patch)
tree1045982a5858aa3aa917a75aa860fe4d18f15af0
parente4fbaf30be00d73a3fab2aee24c7a522a0ecdd31 (diff)
Add default value to BOOTLOADER_SIZE
-rw-r--r--common/bootloader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/bootloader.c b/common/bootloader.c
index f9802d36c5..43a7e47ce2 100644
--- a/common/bootloader.c
+++ b/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)