From: asterix Date: Tue, 27 Sep 2011 15:17:16 +0000 (+0000) Subject: Fix flash start address. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=aa4c56f0f6f6f0a5bad068ea227e6d9686515806;p=bertos.git Fix flash start address. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5102 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/io/sam3.h b/bertos/cpu/cortex-m3/io/sam3.h index 3d007d50..8fa50e6d 100644 --- a/bertos/cpu/cortex-m3/io/sam3.h +++ b/bertos/cpu/cortex-m3/io/sam3.h @@ -345,7 +345,7 @@ #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