Fix flash start address.
[bertos.git] / bertos / cpu / cortex-m3 / io / sam3.h
index 3d007d50b2a037ae8a20e5a36f8ae0a3fe0bfd17..8fa50e6d6489b4cb2b3028114db0eec57031c9e3 100644 (file)
        #define FLASH_PAGE_SIZE_BYTES         256 ///< Size of cpu flash memory page in bytes
        #define FLASH_BANKS_NUM                 2 ///< Number of flash banks
        #define FLASH_PAGES_FOR_BANK         1024 ///< Number pages for each bank
-       #define FLASH_BASE                    0x0
+       #define FLASH_BASE                0x80000 ///< Start address for bank 0
 #else
        #error no internal flash info are defined for this cpu
 #endif