Fix flash start address.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 27 Sep 2011 15:17:16 +0000 (15:17 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 27 Sep 2011 15:17:16 +0000 (15:17 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5102 38d2e660-2303-0410-9eaa-f027e97ec537

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