X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fsam3n.h;h=f962142d5002f1708873da2bee38327324b7ab98;hb=c37e6a3f6900ec803c2608fb387054247bab88aa;hp=e0bc9f338ee81f8ba2e33f9cf16ffe2dbf00dbb3;hpb=8f98ebb808578ccfef32b52dae753510e284fc9d;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/sam3n.h b/bertos/cpu/cortex-m3/io/sam3n.h index e0bc9f33..f962142d 100644 --- a/bertos/cpu/cortex-m3/io/sam3n.h +++ b/bertos/cpu/cortex-m3/io/sam3n.h @@ -30,7 +30,7 @@ * * --> * - * \brief Atmel's ATSAM3 registers definitions. + * \brief Atmel's SAM3 registers definitions. * * This file derives from the one included in Atmel softpack, and defines * registers not yet written in standard BeRTOS include file (io/sam3_*.h) with @@ -4316,21 +4316,21 @@ typedef struct { #define IROM_ADDR (0x00800000u) /* Internal ROM base address */ #define IRAM_ADDR (0x20000000u) /* Internal RAM base address */ -#if CPU_CM3_AT91SAM3N1 +#if CPU_CM3_SAM3N1 #define IFLASH_SIZE 0x10000 #define IFLASH_PAGE_SIZE (256) /* Internal FLASH 0 Page Size: 256 bytes */ #define IFLASH_LOCK_REGION_SIZE (16384) /* Internal FLASH 0 Lock Region Size: 16 Kbytes */ #define IFLASH_NB_OF_PAGES (256) /* Internal FLASH 0 Number of Pages: 256 */ #define IFLASH_NB_OF_LOCK_BITS (4) /* Internal FLASH 0 Number of Lock Bits: 4 */ #define IRAM_SIZE 0x2000 -#elif CPU_CM3_AT91SAM3N2 +#elif CPU_CM3_SAM3N2 #define IFLASH_SIZE 0x20000 #define IFLASH_PAGE_SIZE (256) /* Internal FLASH 0 Page Size: 256 bytes */ #define IFLASH_LOCK_REGION_SIZE (16384) /* Internal FLASH 0 Lock Region Size: 16 Kbytes */ #define IFLASH_NB_OF_PAGES (512) /* Internal FLASH 0 Number of Pages: 512 */ #define IFLASH_NB_OF_LOCK_BITS (8) /* Internal FLASH 0 Number of Lock Bits: 8 */ #define IRAM_SIZE 0x4000 -#elif CPU_CM3_AT91SAM3N4 +#elif CPU_CM3_SAM3N4 #define IFLASH_SIZE 0x40000 #define IFLASH_PAGE_SIZE (256) /* Internal FLASH 0 Page Size: 256 bytes */ #define IFLASH_LOCK_REGION_SIZE (16384) /* Internal FLASH 0 Lock Region Size: 16 Kbytes */