/Designs/Measuring_instruments/AWS02A/SW/PIC16F887/common/bloader_defs.h |
---|
0,0 → 1,7 |
/*------------------- BOOT LOADER Common Definitions --------------------------------------------*/ |
#define FLASH_BLOCK_SIZE getenv("FLASH_ERASE_SIZE")/2 // Minimal length of Flash Block Size |
#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 |