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/raspberrypi2.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 'c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg')
-rw-r--r-- | c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg new file mode 100644 index 0000000000..08dda04883 --- /dev/null +++ b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg @@ -0,0 +1,6 @@ +# +# Config file for RASPBERRYPI 2 +# +include $(RTEMS_ROOT)/make/custom/raspberrypi.inc + +CPU_CFLAGS = -march=armv7-a -mtune=cortex-a7 |