From: asterix Date: Thu, 17 Sep 2009 09:18:06 +0000 (+0000) Subject: Set correct ram start address for supported ARM. X-Git-Tag: 2.2.0~8 X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=commitdiff_plain;h=e46395e38dc55069a688bd21d7bf0ed30b8e413e Set correct ram start address for supported ARM. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2960 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/attr.h b/bertos/cpu/attr.h index bd74d5c5..cb827891 100644 --- a/bertos/cpu/attr.h +++ b/bertos/cpu/attr.h @@ -104,7 +104,11 @@ #define CPU_HARVARD 0 /// Valid pointers should be >= than this value (used for debug) - #define CPU_RAM_START 0x200 + #if CPU_ARM_AT91 + #define CPU_RAM_START 0x00200000 + #else + #warning Fix CPU_RAM_START address for your ARM, default value set to 0x200 + #define CPU_RAM_START 0x200 #ifdef __IAR_SYSTEMS_ICC__ #warning Check CPU_BYTE_ORDER