m3dev

cortex m3 debug tools -- superceded by mdebug
git clone http://frotz.net/git/m3dev.git
Log | Files | Refs | README | LICENSE

config.mk (1387B)


      1 
      2 #           name        arch    rambase    ramsize    flashbase  flashsize  linkscript
      3 $(call chip,lpc1549-ram,lpc15xx,0x02000000,0x00009000,0x00000000,0x00000000,ram)
      4 $(call chip,lpc1549-rom,lpc15xx,0x02000000,0x00009000,0x00000000,0x00040000,rom)
      5 $(call chip,lpc1549-blr,lpc15xx,0x02008c00,0x00000400,0x00000000,0x00001000,rom)
      6 $(call chip,lpc1549-app,lpc15xx,0x02000000,0x00009000,0x00001000,0x0003F000,rom)
      7 
      8 $(call chip,lpc1548-ram,lpc15xx,0x02000000,0x00005000,0x00000000,0x00000000,ram)
      9 $(call chip,lpc1548-rom,lpc15xx,0x02000000,0x00005000,0x00000000,0x00020000,rom)
     10 $(call chip,lpc1548-blr,lpc15xx,0x02004c00,0x00000400,0x00000000,0x00001000,rom)
     11 $(call chip,lpc1548-app,lpc15xx,0x02000000,0x00005000,0x00001000,0x0001F000,rom)
     12 
     13 $(call chip,lpc1547-ram,lpc15xx,0x02000000,0x00003000,0x00000000,0x00000000,ram)
     14 $(call chip,lpc1547-rom,lpc15xx,0x02000000,0x00003000,0x00000000,0x00010000,rom)
     15 $(call chip,lpc1547-blr,lpc15xx,0x02002c00,0x00000400,0x00000000,0x00001000,rom)
     16 $(call chip,lpc1547-app,lpc15xx,0x02000000,0x00003000,0x00001000,0x0000F000,rom)
     17 
     18 # flash agent
     19 $(call chip,lpc1547-agt,lpc15xx,0x02000400,0x00000400,0x00000000,0x00010000,ram)
     20 
     21 ARCH_lpc15xx_CFLAGS := \
     22 	-Iarch/lpc15xx/include \
     23 	-Iarch/arm-cm3/include 
     24 ARCH_lpc15xx_START := arch/arm-cm3/start.o
     25 ARCH_lpc15xx_CONFIG := \
     26 	ARCH_LPC15XX=1 \
     27 	STACKTOP=0x02008f00
     28 ARCH_lpc15xx_OBJS := \
     29 	arch/lpc15xx/gpio.o
     30