Fix cpu tag to differ from sam3n and sam3x.
[bertos.git] / bertos / cpu / cortex-m3 / info / SAM3N4.cdef
index 22e136fd153ac2ec5924c4c37e9b773ddcd55142..e13cc3eedcf93887b868186d61ec204bb520ffa6 100644 (file)
 # invalidate any other reasons why the executable file might be covered by
 # the GNU General Public License.
 #
-# Copyright 2010 Develer S.r.l. (http://www.develer.com/)
+# Copyright 2010,2011 Develer S.r.l. (http://www.develer.com/)
 #
 # -->
 #
-# General CPU info denfinition for Cortex-M3-based LM3S1968 board.
+# General CPU info definitions for Cortex-M3-based Atmel SAM3N4 cpu.
 #
 # This file contain all info for the BeRTOS wizard.
 #
-# \author Andrea Righi <arighi@develer.com>
+# \author Stefano Fedrigo <aleph@develer.com>
 #
 #
 
@@ -51,7 +51,7 @@ MK_FLASH_SCRIPT = PRG_SCRIPTS_DIR + "arm/flash-sam3.sh"
 CPU_DEFAULT_FREQ = "48000000UL"
 
 # Special CPU related tags.
-CPU_TAGS += ["sam3"]
+CPU_TAGS += ["sam3n"]
 
 # Additional hw drivers.
 MK_CPU_CSRC += DRV_DIR + "clock_sam3.c "
@@ -62,4 +62,4 @@ CPU_DESC += [ "256 Kbytes on-chip flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_SAM3N4__"
-MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "sam3n4_ram.ld"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "sam3n4_rom.ld"