summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove DISTCLEANFILESSebastian Huber2018-04-092-2/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-092-50/+50
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-042-10/+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-042-0/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-042-4/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* bsps: Remove unused RTEMS_CPU_MODELSebastian Huber2018-03-132-2/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Rework cache manager implementationSebastian Huber2018-01-312-6/+2
| | | | | | | | | | | | | | | | | | 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-314-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-2530-1837/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/lm32: Do not include network headers in bsp.hSebastian Huber2018-01-152-5/+2
| | | | Update #3254.
* bsps/lm32: Use public include pathChris Johns2018-01-0413-13/+13
| | | | Update #3254.
* bsps: Add AM_CPPFLAGS to special case CPPFLAGSChris Johns2018-01-042-2/+2
| | | | | | | This is necessary to pick up mandatory flags provided by the build system. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-022-6/+8
| | | | Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-022-0/+2
| | | | | | | | | | 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-022-0/+2
| | | | Update #3254.
* milkymist: Simplify bsp_specsJoel Sherrill2017-12-192-6/+3
| | | | Updates #3520.
* lm32_evr: Simplify bsp_specsJoel Sherrill2017-12-192-6/+3
| | | | Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-272-2/+2
| | | | 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-245-121/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-223-3/+4
| | | | | | | | | 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-172-0/+2
| | | | Update #3239.
* bsps: Clock_driver_support_install_isr()Sebastian Huber2017-09-182-5/+4
| | | | | | | Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
* Include missing <rtems/bspIo.h>Sebastian Huber2017-08-252-0/+2
|
* Include missing <string.h>Sebastian Huber2017-08-253-0/+3
| | | | Update #2133.
* Optional Clock_driver_support_shutdown_hardware()Sebastian Huber2017-08-042-12/+11
| | | | | Make Clock_driver_support_shutdown_hardware() optional. This avoids the atexit() support on memory constrained targets.
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-4/+4
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+1
|
* lm32/shared/timer/timer.c: Include <rtems/bspIo.h>Joel Sherrill2017-04-051-0/+1
|
* lm32/shared/milkymist_video/video.c: Include <rtems/bspIo.h>Joel Sherrill2017-04-051-0/+1
|
* lm32/shared/milkymist_pfpu/pfpu.c: Fix indentation and bracesJoel Sherrill2017-04-051-4/+5
|
* lm32/shared/milkymist_timer/timer.c: Include <rtems/bspIo.h>Joel Sherrill2017-04-051-0/+1
|
* lm32/shared/milkymist_framebuffer/framebuffer.c: Fix indentation and bracesJoel Sherrill2017-04-051-0/+1
|
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-221-1/+1
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-121-1/+1
| | | | Update #2825.
* Misc: Spell length correctlyJoel Sherrill2016-07-121-1/+1
|
* bsps: Include missing <rtems/bspIo.h>Sebastian Huber2016-06-242-0/+2
|
* lm32/milkymist: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-1/+0
| | | | warnings
* lm32/lm32_evr: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill2016-03-291-1/+0
|
* lm32/shared/console/console.c: Add include of <rtems/console.h> to fix warningJoel Sherrill2016-03-291-0/+1
|
* lm32/milkymist/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* lm32/lm32_evr/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-251-1/+0
|
* lm32/shared/.../ckinit.c: Fix typo so fast idle on simulator is enabledJoel Sherrill2016-03-111-1/+1
|
* lm32/lm32_evr: Add per-section compilation and linking supportJoel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the milkymist BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 101160 9044 13333 123537 1e291 ticker.exe 30888 2676 9169 42733 a6ed minimum.exe 592200 90020 26557 708777 ad0a9 fileio.exe 456048 64528 42565 563141 897c5 pppd.exe 203752 25404 16241 245397 3be95 capture.exe 118216 10704 13437 142357 22c15 nsecs.exe 197848 22468 13981 234297 39339 paranoia.exe 97496 8760 13301 119557 1d305 base_sp.exe 100392 9120 17141 126653 1eebd unlimited.exe 121032 7720 13309 142061 22aed hello.exe 289340 28120 20653 338113 528c1 loopback.exe For the milkymist BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 93464 8748 13333 115545 1c359 ticker.exe 17144 1308 9133 27585 6bc1 minimum.exe 574024 87296 26301 687621 a7e05 fileio.exe 415668 60652 41837 518157 7e80d pppd.exe 190920 24712 16233 231865 389b9 capture.exe 111800 10404 13405 135609 211b9 nsecs.exe 187272 22064 13949 223285 36835 paranoia.exe 87656 8440 13301 109397 1ab55 base_sp.exe 89048 8736 17149 114933 1c0f5 unlimited.exe 108888 7316 13309 129513 1f9e9 hello.exe 262820 26764 20557 310141 4bb7d loopback.exe
* lm32/lm32_evr: Add per-section compilation and linking supportJoel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the lm32_evr BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 195764 6892 13077 215733 34ab5 ticker.exe 84212 2264 9169 95645 1759d minimum.exe 1077108 82852 26293 1186253 1219cd fileio.exe 763500 56340 44493 864333 d304d pppd.exe 344948 22148 15977 383073 5d861 capture.exe 211876 8472 13169 233517 3902d nsecs.exe 330020 18636 13685 362341 58765 paranoia.exe 185956 6452 13053 205461 32295 base_sp.exe 194516 6656 16893 218065 353d1 unlimited.exe 202164 5400 13013 220577 35da1 hello.exe 474728 23220 20389 518337 7e8c1 loopback.exe For the lm32_evr BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 186388 6792 13045 206225 32591 ticker.exe 53140 1124 9137 63401 f7a9 minimum.exe 1049556 80336 26045 1155937 11a361 fileio.exe 685632 55056 43757 784445 bf83d pppd.exe 323588 21400 15953 360941 581ed capture.exe 203540 8352 13137 225029 36f05 nsecs.exe 316612 18512 13653 348777 55269 paranoia.exe 172724 6352 13021 192097 2ee61 base_sp.exe 176708 6528 16837 200073 30d89 unlimited.exe 182900 5260 13021 201181 311dd hello.exe 436064 22840 20293 479197 74fdd loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-032-4/+0
| | | | Update #2408.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-102-2/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* Add RTEMS linker setsSebastian Huber2015-12-082-2/+4
| | | | Update #2408.
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-162-4/+4
| | | | | | | | | | | | | | | | | 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
* bsps: Convert clock drivers to use a timecounterAlexander Krutwig2015-05-202-0/+4
| | | | Update #2271.