diff options
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r-- | firmware/bootloaderconfig.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index a93e6ff..80922ca 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -140,16 +140,14 @@ these macros are defined, the boot loader uses them. // Microcontroller vectortable entries in the flash #define RESET_VECTOR_OFFSET 0 -#define USBPLUS_VECTOR_OFFSET 2 // number of bytes before the boot loader vectors to store the tiny application vector table -#define TINYVECTOR_RESET_OFFSET 4 -#define TINYVECTOR_USBPLUS_OFFSET 2 -#define TINYVECTOR_OSCCAL_OFFSET 6 +#define TINYVECTOR_RESET_OFFSET 2 +#define TINYVECTOR_OSCCAL_OFFSET 4 /* ------------------------------------------------------------------------ */ // postscript are the few bytes at the end of programmable memory which store tinyVectors -#define POSTSCRIPT_SIZE 6 +#define POSTSCRIPT_SIZE 4 #define PROGMEM_SIZE (BOOTLOADER_ADDRESS - POSTSCRIPT_SIZE) /* max size of user program */ /* ------------------------------------------------------------------------- */ @@ -257,7 +255,7 @@ these macros are defined, the boot loader uses them. * comes with its own OSCCAL calibration or an external clock source is used. */ - #define OSCCAL_RESTORE 0 + #define OSCCAL_RESTORE 1 #define OSCCAL_16_5MHz 1 /* |