Commit Graph

29 Commits

Author SHA1 Message Date
Sebastian Huber
09dd82a597 bsp/ss555: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
bd1508019c bsps/powerpc: Move exceptions support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
7dbc43da43 bsps/powerpc: Move basic support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
ac04bb85eb bsps/powerpc: Move legacy IRQ support
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Joel Sherrill
be3d7d75c6 pc386/include/edid.h: Fix macro name to use _ not -
Closes #3349.
2018-03-16 08:38:25 -05:00
Joel Sherrill
8307723dd3 beatnik/include/bsp.h: Add spaces around "."
Closes #3348.
2018-03-16 08:38:21 -05:00
Joel Sherrill
b33602354d mvme5500/include/bsp/VMEConfig.h: Remove spaces after \ and remove tabs 2018-03-16 08:38:21 -05: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
dce920aea8 mvme3100/include/bsp.h: Add spaces around "."
Closes #3345.
2018-03-16 08:38:18 -05:00
Joel Sherrill
0c70535d54 mcf5272.h: Fix duplicate defintions for INT3
Closes #3344.
2018-03-16 08:36:18 -05:00
Joel Sherrill
8ce93dc9fe lm32_evr/include/bsp.h: Remove definition of BSP_DIRTY_MEMORY to eliminate warning 2018-03-16 08:36:18 -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
Joel Sherrill
52cdb1344d bsps/sh/gensh1/include/bsp.h: Fix redefined warning 2018-03-16 08:36:17 -05:00
Joel Sherrill
ca866cc519 mcf5206elite/include/ds1307.h: Fix extra tokens at end of #endif warning 2018-03-16 08:36:17 -05:00
Sebastian Huber
9b61342778 bsp/gen83xx: Fix define redefinitions
Close #3340.
2018-03-16 14:24:24 +01: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
8b5778e69e sparc: Move libcpu content to cpukit
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +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
Sebastian Huber
b6755affc0 bsps/mips: 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
Joel Sherrill
070658100a misc sh: Remove includes of rtems/score/types.h 2018-03-12 14:29:38 -05: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
abc2164d3c bsps/powerpc: Fix redefinitions 2018-02-07 09:23:49 +01:00
Sebastian Huber
18f285c296 bsps/sparc64: Fix redefinitions 2018-02-07 09:23:26 +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
Sebastian Huber
d8d6a08d46 bsps: Move network define to source files
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
2018-01-31 11:18:17 +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