mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 12:34:47 +00:00
added missing files
This commit is contained in:
14
make/custom/lpc2478_ncs.cfg
Normal file
14
make/custom/lpc2478_ncs.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Config file for LPC2478 (NCS).
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LPC24XX_LINKCMDS = linkcmds.lpc2478_ncs
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
|
||||
|
||||
define bsp-post-link
|
||||
$(OBJCOPY) -O ihex '$@' '$(basename $@).hex'
|
||||
$(default-bsp-post-link)
|
||||
endef
|
||||
14
make/custom/lpc2478_ncs_ram.cfg
Normal file
14
make/custom/lpc2478_ncs_ram.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Config file for LPC2478 (NCS, code and data in external RAM).
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
LPC24XX_LINKCMDS = linkcmds.lpc2478_ncs_ram
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
|
||||
|
||||
define bsp-post-link
|
||||
$(OBJCOPY) -S '$@' '$(basename $@).elf'
|
||||
$(default-bsp-post-link)
|
||||
endef
|
||||
18
make/custom/lpc24xx.cfg
Normal file
18
make/custom/lpc24xx.cfg
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Config file for LPC24XX.
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU = arm
|
||||
|
||||
RTEMS_BSP_FAMILY = lpc24xx
|
||||
|
||||
CPU_CFLAGS = -mcpu=arm7tdmi-s -mstructure-size-boundary=8 -mapcs-frame \
|
||||
-Wextra -Wno-unused -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -fno-inline
|
||||
|
||||
CFLAGS_OPTIMIZE_V = -Os -g
|
||||
|
||||
LDFLAGS += -qnolinkcmds -T $(LPC24XX_LINKCMDS)
|
||||
Reference in New Issue
Block a user