diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-02-18 12:55:23 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-02-18 12:55:23 +0100 |
commit | e9e56c98fdd8d75af032146130be89bb39c852bc (patch) | |
tree | 59b2134a42c5c0a0f072f4cf5ae0f80efc8da0d0 /firmware/bootloaderconfig.h | |
parent | 0b4b559a880354d147306a5d4dae917f22e3facd (diff) | |
download | micronucleus-e9e56c98fdd8d75af032146130be89bb39c852bc.tar.gz micronucleus-e9e56c98fdd8d75af032146130be89bb39c852bc.tar.bz2 micronucleus-e9e56c98fdd8d75af032146130be89bb39c852bc.zip |
firmware: Adjusted tinyvectottablesize to support far jmp
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r-- | firmware/bootloaderconfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index 43658dc..9005b12 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -142,12 +142,12 @@ these macros are defined, the boot loader uses them. #define RESET_VECTOR_OFFSET 0 // number of bytes before the boot loader vectors to store the tiny application vector table -#define TINYVECTOR_RESET_OFFSET 2 -#define TINYVECTOR_OSCCAL_OFFSET 4 +#define TINYVECTOR_RESET_OFFSET 4 +#define TINYVECTOR_OSCCAL_OFFSET 6 /* ------------------------------------------------------------------------ */ // postscript are the few bytes at the end of programmable memory which store tinyVectors -#define POSTSCRIPT_SIZE 4 +#define POSTSCRIPT_SIZE 6 #define PROGMEM_SIZE (BOOTLOADER_ADDRESS - POSTSCRIPT_SIZE) /* max size of user program */ /* ------------------------------------------------------------------------- */ |