source: rtems/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi.inc @ 71260b4

4.115
Last change on this file since 71260b4 was 71260b4, checked in by Alan Cudmore <alan.cudmore@…>, on Mar 15, 2015 at 4:04:06 PM

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.

  • Property mode set to 100644
File size: 390 bytes
Line 
1#
2#  Config file for Raspberry Pi variants.
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU = arm
8
9CFLAGS_OPTIMIZE_V ?= -O2 -g
10
11# This defines the operations performed on the linked executable.
12# is currently required.
13define bsp-post-link
14    $(OBJCOPY) -O binary --strip-all \
15        $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
16    $(SIZE) $(basename $@)$(EXEEXT)
17endef
Note: See TracBrowser for help on using the repository browser.