mt29f driver: fix block remap info handling when writing data.
[bertos.git] / bertos / cpu / arm / info / AT91SAM7S256.cdef
index 379a1a31f42bff4f819813bb6cd271e2445decb1..e388e0e83741a3e4354ee7565868fffdfcb2d730 100644 (file)
 #
 #
 
-# Import the common settings for the AT91SAM7 family.
-include("at91sam7.common")
+# Import the common settings for the AT91SAM7S family.
+include("at91sam7s.common")
 
 # Short description of the cpu.
 CPU_DESC += [ "256 Kbytes internal flash memory",
              "64 Kbytes internal SRAM memory" ]
 
 # GCC flags for this cpu.
-CPP_FLAGS += [ "-D__ARM_AT91SAM7S256__" ]
-LD_FLAGS += [ "-T " + SCRIPT_DIR + " at91sam7_256_rom.ld" ]
+MK_CPU_CPPFLAGS += " -D__ARM_AT91SAM7S256__"
+MK_CPU_LDFLAGS += " -Wl,-dT " + SCRIPT_DIR + "at91sam7_256_rom.ld"