/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/common/bloader_defs.h
1,7 → 1,7
/*------------------- BOOT LOADER Common Definitions --------------------------------------------*/
 
#define FLASH_BLOCK_SIZE getenv("FLASH_ERASE_SIZE")/2 // Minimal length of Flash Block Size
#define RESERVED_BLOCKS 49 // Number of reserved flash blocks for BootLoader
#define RESERVED_BLOCKS 50 // Number of reserved flash blocks for BootLoader
#define LOADER_RESERVED (getenv("PROGRAM_MEMORY")-(RESERVED_BLOCKS*FLASH_BLOCK_SIZE)) // begining of BootLoader