diff options
author | Alan Cudmore <alan.cudmore@gmail.com> | 2015-03-15 11:04:06 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-16 09:43:21 -0500 |
commit | 71260b4a092cb4afad3c44bae36c2636059bfd27 (patch) | |
tree | cddcac9f0a46d72f46e68e60881d6fe249a064fa /c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg | |
parent | tmtests/tmfine01: New test (diff) | |
download | rtems-71260b4a092cb4afad3c44bae36c2636059bfd27.tar.bz2 |
preliminary Raspberry Pi Model 2 support
This patch adds a BSP variant for the Raspberry Pi 2. You can
build both variants by configuring with the option
--enable-rtemsbsp="raspberrypi2 raspberrypi"
For the current BSP, the only change was the peripheral register base
address and the compiler options.
The raspberrypi/make/custom rules were re-factored:
raspberrypi.inc -- Common rules
raspberrypi.cfg -- Raspberry Pi 1 specific rule/optons
raspberrypi2.cfg -- Raspberry Pi 2 specific rule/options
I tested hello, ticker, unlimited, and paranoia on both the Pi (Model A+)
and Pi 2.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg index 48ac0f8d86..759b79d8f6 100644 --- a/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg +++ b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.cfg @@ -1,20 +1,7 @@ # # Config file for RASPBERRYPI # - -include $(RTEMS_ROOT)/make/custom/default.cfg - -RTEMS_CPU = arm +include $(RTEMS_ROOT)/make/custom/raspberrypi.inc CPU_CFLAGS = -mcpu=arm1176jzf-s -CFLAGS_OPTIMIZE_V = -O2 -g - -# This defines the operations performed on the linked executable. -# is currently required. -define bsp-post-link - $(OBJCOPY) -O binary --strip-all \ - $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) - $(SIZE) $(basename $@)$(EXEEXT) -endef - |