summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32 (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-09build: Remove DISTCLEANFILESSebastian Huber2-2/+0
A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
2018-04-09bsps: Remove librtemsbsp.a wrapupSebastian Huber2-50/+50
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2-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.
2018-04-04bsps: Add shared-sources.amSebastian Huber2-0/+2
This patch is a part of the BSP source reorganization. Update #3285.
2018-04-04build: Remove EXTRA_DISTSebastian Huber2-4/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-03-13bsps: Remove unused RTEMS_CPU_MODELSebastian Huber2-2/+0
This patch is a part of the BSP source reorganization. Update #3285.
2018-01-31bsps: Rework cache manager implementationSebastian Huber2-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.
2018-01-31bsps: Move network define to source filesSebastian Huber4-10/+4
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver source files to avoid some build system magic.
2018-01-25Remove make preinstallChris Johns30-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.
2018-01-15bsps/lm32: Do not include network headers in bsp.hSebastian Huber2-5/+2
Update #3254.
2018-01-04bsps/lm32: Use public include pathChris Johns13-13/+13
Update #3254.
2018-01-04bsps: Add AM_CPPFLAGS to special case CPPFLAGSChris Johns2-2/+2
This is necessary to pick up mandatory flags provided by the build system. Update #3254.
2018-01-02bsps: Use CPPASCOMPILE for startfileSebastian Huber2-6/+8
Update #3254.
2018-01-02bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2-0/+2
This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
2018-01-02bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2-0/+2
Update #3254.
2017-12-19milkymist: Simplify bsp_specsJoel Sherrill2-6/+3
Updates #3520.
2017-12-19lm32_evr: Simplify bsp_specsJoel Sherrill2-6/+3
Updates #3520.
2017-11-27libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2-2/+2
Updates #3250.
2017-11-27bsps: Provide <tm27.h> in each BSPSebastian Huber3-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.
2017-11-24Remove coverhd.hSebastian Huber5-121/+0
This header file contained timing overhead values which are hard to maintain. Update #3254.
2017-11-22bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber3-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
2017-11-17getentropy: Add cpu counter based implementation.Christian Mauderer2-0/+2
Update #3239.
2017-09-18bsps: Clock_driver_support_install_isr()Sebastian Huber2-5/+4
Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
2017-08-25Include missing <rtems/bspIo.h>Sebastian Huber2-0/+2
2017-08-25Include missing <string.h>Sebastian Huber3-0/+3
Update #2133.
2017-08-04Optional Clock_driver_support_shutdown_hardware()Sebastian Huber2-12/+11
Make Clock_driver_support_shutdown_hardware() optional. This avoids the atexit() support on memory constrained targets.
2017-06-20bsps: Improve interrupt vector enable/disable APISebastian Huber1-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.
2017-05-24build-system: Parallel build all subdirs.Chris Johns1-1/+1
2017-04-05lm32/shared/timer/timer.c: Include <rtems/bspIo.h>Joel Sherrill1-0/+1
2017-04-05lm32/shared/milkymist_video/video.c: Include <rtems/bspIo.h>Joel Sherrill1-0/+1
2017-04-05lm32/shared/milkymist_pfpu/pfpu.c: Fix indentation and bracesJoel Sherrill1-4/+5
2017-04-05lm32/shared/milkymist_timer/timer.c: Include <rtems/bspIo.h>Joel Sherrill1-0/+1
2017-04-05lm32/shared/milkymist_framebuffer/framebuffer.c: Fix indentation and bracesJoel Sherrill1-0/+1
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-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.
2016-12-12Rename is_internal to always_set_to_falseSebastian Huber1-1/+1
Update #2825.
2016-07-12Misc: Spell length correctlyJoel Sherrill1-1/+1
2016-06-24bsps: Include missing <rtems/bspIo.h>Sebastian Huber2-0/+2
2016-03-29lm32/milkymist: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill1-1/+0
warnings
2016-03-29lm32/lm32_evr: Remove include of <rtems/console.h> from <bsp.h> and fix warningsJoel Sherrill1-1/+0
2016-03-29lm32/shared/console/console.c: Add include of <rtems/console.h> to fix warningJoel Sherrill1-0/+1
2016-03-25lm32/milkymist/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill1-1/+0
2016-03-25lm32/lm32_evr/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill1-1/+0
2016-03-11lm32/shared/.../ckinit.c: Fix typo so fast idle on simulator is enabledJoel Sherrill1-1/+1
2016-03-10lm32/lm32_evr: Add per-section compilation and linking supportJoel Sherrill1-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
2016-03-10lm32/lm32_evr: Add per-section compilation and linking supportJoel Sherrill1-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
2016-02-03Use linker set for libio initializationSebastian Huber2-4/+0
Update #2408.
2015-12-10bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2-2/+0
Use the bsp_predriver_hook() instead. Update #2408.
2015-12-08Add RTEMS linker setsSebastian Huber2-2/+4
Update #2408.
2015-07-16Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2-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
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig2-0/+4
Update #2271.