AT91: distinct CPU definitions for AT91SAM7X and AT91SAM7S family
[bertos.git] / bertos / cpu / arm / info / AT91SAM7X512.cdef
index 2329a1fbdd0acaa2fc3b685e4346e9157af4215f..456eed69a2a38762ff4af404d02f43a7d3bc2f6b 100644 (file)
@@ -40,8 +40,8 @@
 #
 #
 
-# Import the common settings for the AT91SAM7 family.
-include("at91sam7.common")
+# Import the common settings for the AT91SAM7X family.
+include("at91sam7x.common")
 
 # Short description of the cpu.
 CPU_DESC += [ "512 Kbytes internal flash memory",
@@ -49,5 +49,5 @@ CPU_DESC += [ "512 Kbytes internal flash memory",
 
 # GCC flags for this cpu.
 MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7X512__"
-MK_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_512_rom.ld"
+MK_CPU_LDFLAGS += " -T " + SCRIPT_DIR + "at91sam7_512_rom.ld"