Commit Graph

39 Commits

Author SHA1 Message Date
Sebastian Huber
891754f764 bsps: Move arm-cp15-set-ttb-entries.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:30 +02:00
Sebastian Huber
aa705fe347 bsps: Move arm-cp15-set-exception-handler.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:29 +02:00
Sebastian Huber
864e72e400 bsps: Move arm-a9mpcore-smp.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:29 +02:00
Sebastian Huber
fc6d8c2ba5 bsps: Move arm-pl050.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:29 +02:00
Sebastian Huber
3ad74cbac7 bsps: Move arm-pl011.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:29 +02:00
Sebastian Huber
bbedc47b89 bsps: Move arm-pl111-fb.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:29 +02:00
Sebastian Huber
1ded97b93e bsps: Move arm-generic-timer-clock-config.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:29 +02:00
Sebastian Huber
e2f63219df bsps: Move arm-a9mpcore-clock-config.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:28 +02:00
Sebastian Huber
d7a9eb90b6 bsps: Move armv7m-cpucounter.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:28 +02:00
Sebastian Huber
c3a4434314 bsps: Move bspreset.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 10:24:28 +02:00
Sebastian Huber
65e59cc070 bsps/arm: Move bsp_memory_management_initialize()
This function is only used by the raspberrypi BSP.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-24 08:04:52 +02:00
Sebastian Huber
4fb1b79a80 bsps: Move RTC drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:44 +02:00
Sebastian Huber
031df39149 bsps: Move legacy network drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:44 +02:00
Sebastian Huber
8f8ccee0d9 bsps: Move interrupt controller support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:44 +02:00
Sebastian Huber
276afd2b48 bsps: Move SPI drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:43 +02:00
Sebastian Huber
a2dad96ab7 bsps: Move I2C drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:43 +02:00
Sebastian Huber
a62c75c1e3 bsp/tms570: Move more start to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:43 +02:00
Sebastian Huber
54aabb70eb bsp/atsam: Move libraries to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:42 +02:00
Sebastian Huber
f004ace828 bsp/altera-cyclone-v: Move hwlib to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:42 +02:00
Sebastian Huber
adb85dd473 bsps: Move make/custom/* files to bsps
Adjust various build files.  Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:42 +02:00
Sebastian Huber
e0dd8a5ad8 bsps: Move benchmark timer to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:52:19 +02:00
Sebastian Huber
9964895866 bsps: Move startup files to bsps
Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:52:14 +02:00
Sebastian Huber
fbcd7c8fa6 bsps: Move start files to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:08:36 +02:00
Sebastian Huber
d7d66d7d45 bsps: Move console drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:08:32 +02:00
Sebastian Huber
7632906fc2 bsps: Move clock drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 09:57:01 +02:00
Sebastian Huber
0510cd506b bsps: Move doxygen.h files to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 09:49:36 +02:00
Sebastian Huber
671c31fc5d bsp: Move umon support to bsps
The umon support is only used by the csb337 BSP.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 07:09:46 +02:00
Christian Mauderer
4c36a525d3 bsp/atsam: Fix GMAC Rx Descriptor fields. 2018-03-21 09:06:29 +01:00
Sebastian Huber
26623e37fd bsp/lpc176x: Remove blunt OPERATION_COUNT define
BSP-specific test customization needs a more sophisticated approach.

Close #3352.
2018-03-21 07:43:32 +01:00
Joel Sherrill
3200c30069 bsp/arm-a8core-start.h: Add void return type to fix warning 2018-03-16 08:38:20 -05:00
Joel Sherrill
a4eb7836c9 bsps/arm/gdbarmsim/include/bsp.h: Fix warning 2018-03-16 08:36:18 -05:00
Joel Sherrill
820c66733e bsps/arm/gdbarmsim/include/bsp.h: Fix warning 2018-03-16 08:36:17 -05:00
Christian Mauderer
71c5552f9a bsp/atsam: Allow setting the drive strength.
This adds a simple function for setting the PIO drive strength.
2018-03-13 15:04:28 +01:00
Sebastian Huber
c4905d8d31 bsps/arm: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Christian Mauderer
6878519aea bsp/atsam: Fix cache / DMA handling in SPI.
This patch fixes the cache handling for the atsam SPI driver. Note that
this solution might doesn't have the best performance for small packets.
2018-02-12 14:25:02 +01:00
Christian Mauderer
538a0a836a bsp/atsam: Allow to use a decoder for SPI CS.
The SPI controller supports a decoder connected to the chip select
lines. This patch allows to use this mode.
2018-02-12 14:25:02 +01:00
Sebastian Huber
3454179dee bsp/altera-cyclone-v: Add device tree support
Update #3290.
2018-02-05 13:55:24 +01:00
Sebastian Huber
4cf93658ef bsps: Rework cache manager implementation
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file.  Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

* bsps/shared/cache

* bsps/@RTEMS_CPU@/shared/cache

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.
2018-01-31 12:49:09 +01:00
Chris Johns
2afb22b7e1 Remove make preinstall
A speciality of the RTEMS build system was the make preinstall step.  It
copied header files from arbitrary locations into the build tree.  The
header files were included via the -Bsome/build/tree/path GCC command
line option.

This has at least seven problems:

* The make preinstall step itself needs time and disk space.

* Errors in header files show up in the build tree copy.  This makes it
  hard for editors to open the right file to fix the error.

* There is no clear relationship between source and build tree header
  files.  This makes an audit of the build process difficult.

* The visibility of all header files in the build tree makes it
  difficult to enforce API barriers.  For example it is discouraged to
  use BSP-specifics in the cpukit.

* An introduction of a new build system is difficult.

* Include paths specified by the -B option are system headers.  This
  may suppress warnings.

* The parallel build had sporadic failures on some hosts.

This patch removes the make preinstall step.   All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc.  Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.

The new cpukit include directories are:

* cpukit/include

* cpukit/score/cpu/@RTEMS_CPU@/include

* cpukit/libnetworking

The new BSP include directories are:

* bsps/include

* bsps/@RTEMS_CPU@/include

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include

There are build tree include directories for generated files.

The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.

The "bootstrap -p" option was removed.  The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.

Update #3254.
2018-01-25 08:45:26 +01:00