4.115
Last change
on this file since 64f7724 was
71260b4,
checked in by Alan Cudmore <alan.cudmore@…>, on 03/15/15 at 16:04:06
|
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:
1000 bytes
|
Line | |
---|
1 | ## |
---|
2 | # |
---|
3 | # @file |
---|
4 | # |
---|
5 | # @brief Configure script of LibBSP for the Raspberry Pi boards. |
---|
6 | # |
---|
7 | |
---|
8 | AC_PREREQ([2.68]) |
---|
9 | AC_INIT([rtems-c-src-lib-libbsp-arm-raspberrypi],[_RTEMS_VERSION],[https://devel.rtems.org/newticket]) |
---|
10 | AC_CONFIG_SRCDIR([bsp_specs]) |
---|
11 | RTEMS_TOP(../../../../../..) |
---|
12 | |
---|
13 | RTEMS_CANONICAL_TARGET_CPU |
---|
14 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
15 | RTEMS_BSP_CONFIGURE |
---|
16 | |
---|
17 | RTEMS_PROG_CC_FOR_TARGET |
---|
18 | RTEMS_CANONICALIZE_TOOLS |
---|
19 | RTEMS_PROG_CCAS |
---|
20 | |
---|
21 | RTEMS_CHECK_NETWORKING |
---|
22 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
---|
23 | |
---|
24 | RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[]) |
---|
25 | RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start]) |
---|
26 | |
---|
27 | # Is this a Raspberry Pi 2? |
---|
28 | RTEMS_BSPOPTS_SET([BSP_IS_RPI2],[raspberrypi2],[1]) |
---|
29 | RTEMS_BSPOPTS_SET([BSP_IS_RPI2],[*],[0]) |
---|
30 | RTEMS_BSPOPTS_HELP([BSP_IS_RPI2],[Set if the BSP variant is Raspberry Pi 2.]) |
---|
31 | AM_CONDITIONAL(RTEMS_RPI2,[test "$BSP_IS_RPI2" = "1"]) |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | RTEMS_BSP_CLEANUP_OPTIONS(0, 0) |
---|
36 | RTEMS_BSP_LINKCMDS |
---|
37 | |
---|
38 | AC_CONFIG_FILES([Makefile]) |
---|
39 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.