summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/rtl22xx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-121-1/+1
| | | | | | | The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387.
* bsps: Remove empty gnatinstallhandler.cSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Avoid line continuation in Makefile.amSebastian Huber2018-04-121-7/+9
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-121-5/+4
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-111-1/+1
| | | | | | | | | | | This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
* build: Remove DISTCLEANFILESSebastian Huber2018-04-091-1/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Move generic IRQ support to bspsSebastian Huber2018-04-091-6/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-091-18/+18
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-041-5/+0
| | | | | | | | Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Add shared-sources.amSebastian Huber2018-04-041-0/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-2/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-3/+1
| | | | | | | | | | | | | | | | | | 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.
* bsps: Move network define to source filesSebastian Huber2018-01-312-10/+4
| | | | | Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
* Remove make preinstallChris Johns2018-01-258-873/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bsps: Add AM_CPPFLAGS to special case CPPFLAGSChris Johns2018-01-041-1/+1
| | | | | | | This is necessary to pick up mandatory flags provided by the build system. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-3/+4
| | | | Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | | | | | | | This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
* bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | Update #3254.
* ARM BSPs: Simplify bsp_specsJoel Sherrill2017-12-191-5/+1
| | | | Updates #3520.
* bsp/rtl22xx: Move libcpu files to BSPSebastian Huber2017-12-089-5/+920
| | | | Update #3254.
* arm/*/bsp_specs: Remove extra space to increase consistencyJoel Sherrill2017-11-291-1/+1
| | | | Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-2/+3
| | | | | | | | | Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
* Remove coverhd.hSebastian Huber2017-11-242-5/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* bsp: Include missing <sys/param.h>Sebastian Huber2017-06-121-0/+1
| | | | Update #2833.
* rtl22xx/../*-testsuite.tcfg: Add linpackJoel Sherrill2017-04-042-0/+2
|
* arm: Remove legacy execption supportSebastian Huber2017-03-083-79/+26
|
* testsuite: Add test states to the testsuit configuration files.Chris Johns2016-12-072-6/+6
| | | | | | | | | | | | | | | | Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
* arm/rtl22xx/include/bsp.h: Do not include <rtems/iosupp.h>Joel Sherrill2016-03-301-1/+0
|
* arm/rtl22xx: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* arm/rtl22xx/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* arm/rtl22xx: Add per-section compilation and linking supportJoel Sherrill2016-03-102-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the rtl22xx BSP variant without this option, sample executables sizes were as follows: text data bss dec hex filename 87223 1820 436320 525363 80433 ticker.exe 27915 1216 496224 525355 8042b minimum.exe 409638 12704 103008 525350 80426 pppd.exe 183260 2456 339648 525364 80434 capture.exe 105441 1908 418016 525365 80435 nsecs.exe 168295 2204 354848 525347 80423 paranoia.exe 181768 1852 341728 525348 80424 cdtest.exe 84419 1820 439136 525375 8043f base_sp.exe 86347 1828 437184 525359 8042f unlimited.exe 99595 1772 424000 525367 80437 hello.exe 252540 6596 266240 525376 80440 loopback.exe For the rtl22xx BSP variant with this option, sample executables sizes were as follows: text data bss dec hex filename 82141 1732 441472 525345 80421 ticker.exe 20545 284 504512 525341 8041d minimum.exe 379745 12484 133120 525349 80425 pppd.exe 175592 2360 347392 525344 80420 capture.exe 100851 1820 422688 525359 8042f nsecs.exe 163053 2108 360192 525353 80429 paranoia.exe 174692 1764 348896 525352 80428 cdtest.exe 79193 1732 444448 525373 8043d base_sp.exe 78701 1716 444928 525345 80421 unlimited.exe 91561 1644 432160 525365 80435 hello.exe 234116 6420 284832 525368 80438 loopback.exe For the rtl22xx_t BSP variant without this option, sample executables sizes were as follows: text data bss dec hex filename 62167 1820 461376 525363 80433 ticker.exe 21003 1216 503136 525355 8042b minimum.exe 369737 5896 149728 525361 80431 fileio.exe 286854 12704 225792 525350 80426 pppd.exe 133052 2456 389856 525364 80434 capture.exe 75437 1908 448000 525345 80421 nsecs.exe 123959 2204 399200 525363 80433 paranoia.exe 134660 1852 388864 525376 80440 cdtest.exe 60315 1820 463232 525367 80437 base_sp.exe 61767 1828 461760 525355 8042b unlimited.exe 72191 1772 451392 525355 8042b hello.exe 174588 6596 344192 525376 80440 loopback.exe For the rtl22xx_t BSP variant with this option, sample executables sizes were as follows: text data bss dec hex filename 59021 1732 464608 525361 80431 ticker.exe 15757 284 509312 525353 80429 minimum.exe 366096 1972 157280 525348 80424 cxx_iostream.exe 360911 5808 158656 525375 8043f fileio.exe 267485 12484 245376 525345 80421 pppd.exe 128224 2360 394784 525368 80438 capture.exe 72611 1820 450944 525375 8043f nsecs.exe 121041 2108 402208 525357 8042d paranoia.exe 129488 1764 394112 525364 80434 cdtest.exe 57049 1732 466592 525373 8043d base_sp.exe 56833 1716 466816 525365 80435 unlimited.exe 66921 1644 456800 525365 80435 hello.exe 163104 6420 355840 525364 80434 loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-031-1/+1
| | | | Update #2408.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+1
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-161-2/+2
| | | | | | | | | | | | | | | | | This was done by the following script run from libbsp: find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b do echo $b cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' ` bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' ` g="LIBBSP_${cpu}_${bsp}_BSP_H" # echo $g sed -e "s/ifndef _BSP_H/ifndef ${g}/" \ -e "s/define _BSP_H/define ${g}/" \ -i $b done
* Multiple bsp_specs: Change *(old_endfile) to %(old_endfile)Joel Sherrill2015-05-211-1/+1
| | | | | | Fix typo. closes 2345.
* rtl22xx-testsuite.tcfg: Add fileioJoel Sherrill2015-04-031-0/+1
|
* bsp/rtl22xx: Add prefix due to name conflictsSebastian Huber2015-03-201-5/+5
| | | | Close #2303.
* rtl22xx.cfg: Remove -DNDEBUG flagJoel Sherrill2015-03-091-1/+1
|
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* bsps/arm: Add .nocache sectionSebastian Huber2014-11-271-0/+2
| | | | | This section can be use to provide a cache coherent memory area via rtems_cache_coherent_add_area().
* bsps: Move extern "C" to not cover includesSebastian Huber2014-10-231-4/+4
| | | | Some includes may use C++ and this conflicts if surrounded extern "C".
* arm/rtl22xx/startup/bspstart.c: Ensure bsp_start_default() is staticJoel Sherrill2014-10-161-3/+4
|
* c/src/lib/libbsp/arm/rtl22xx/console/uart.cJoel Sherrill2014-10-163-217/+167
|
* arm/rtl22xx/startup/bspreset.c: Include <bsp/bootcard.h>Joel Sherrill2014-10-131-0/+1
|
* arm: Fix warningSebastian Huber2014-10-101-1/+1
|