summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* bsps: Add .nocacheheap sectionSebastian Huber2015-10-084-17/+20
| | | | | This avoids consumption of a loadable address space for the nocache heap.
* SMP: Fix and optimize thread dispatchingSebastian Huber2015-09-281-1/+2
| | | | | | | | According to the C11 and C++11 memory models only a read-modify-write operation guarantees that we read the last value written in modification order. Avoid the sequential consistent thread fence and instead use the inter-processor interrupt to set the thread dispatch necessary indicator.
* RaspberryPi: Added I2C and SPI bus support.Andre Marques2015-09-258-94/+1377
| | | | | | | | | | Further documentation can be found in https://devel.rtems.org/wiki/GSoC/2015/RaspberryPi_peripherals_and_SD_card and test data (including sample user applications, device drivers and wiring schemes) can be found in https://github.com/asuol/RTEMS_rpi_testing
* Added GPIO API sources to rpi MakefileAndre Marques2015-09-252-1/+6
|
* Beaglebone: fix missing clobber in inline assembly.Marcos Diaz2015-09-101-1/+7
| | | | | | | | flush_data_cache uses R0 directly but doesn't list it as a clobbered register. Compiling with -O3 made this code break, since the function that calls flush_data_cache already uses r0. closes #2416.
* lpc23xx_tli800: Add mdosfs_fsscandir01 to tests to avoid. Does not link.Joel Sherrill2015-09-101-0/+1
|
* bsps/arm: Fix function definitionSebastian Huber2015-09-041-1/+1
| | | | Close #2385.
* Beagle: GPIO support (for BBB)Ketul Shah2015-08-186-1/+706
| | | | GPIO Driver Development for BeagleBone Black based on the generic GPIO API
* Closes ticket #2390, and also updates the RPI implementation.Andre Marques2015-08-181-1/+1
| | | | | makes rtems_gpio_bsp_get_value return uint32_t. Motivation: simplify beagle gpio implementation for common gpio apio.
* Raspberry Pi implementation for the RTEMS GPIO API.Andre Marques2015-08-068-17/+714
| | | | | | Added support for the new RTEMS GPIO API functions. Test cases can be found in https://github.com/asuol/RTEMS_rpi_testing/tree/master/GPIO
* bsps/arm: Do not use __ARM_ARCH_7A__Sebastian Huber2015-07-311-28/+16
| | | | | This would lead to link-time errors in case less specialized compiler machine options are used, e.g. to run the GCC test suite.
* bsps/arm: Update due to API changesSebastian Huber2015-07-211-4/+4
|
* bsp/tms570 Use bitfields instead of hard-coded valuesPremysl Houdek2015-07-204-32/+52
| | | | Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: skipped 32bit field definitions and corrected single bit fieldsPremysl Houdek2015-07-2036-3298/+2641
| | | | | | | | there is no need to define access macros for field covering whole registers. In addition, BSP_FLD32 does not work right for field 32bit length. Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: source changes reflecting new headers.Premysl Houdek2015-07-1611-230/+335
| | | | Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* bsp/tms570: fix get time resolution after infrastructure change to timecounter.Pavel Pisa2015-07-161-6/+35
| | | | | | | | | | | | | | | | | The update fixes breakage of TMS570 support after Alexander Krutwig switch of RTEMS time read to timecounter mechanism bsps: Convert clock drivers to use a timecounter Mechanism to specify odd (non 1 Mhz) time base update frequencies implemented after objections of Martin Galvan. Code is adjusted to convert RTEMS configuration parameter microseconds_per_tick to such odd base if TMS570_PREFERRED_TC_FREQUENCY is specified appropriately. Signed-off-by: Premysl Houdek <kom541000@gmail.com> Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
* bsp/tms570: New/generated header files for TMS570 SoC peripherals registers.Premysl Houdek2015-07-1637-0/+14362
| | | | | | | | | | | The header files are generated by script make_header.py. Current script's version can be found at: https://github.com/AoLaD/rtems-tms570-utils/tree/headers/headers/python Registers offsets and fields have been extracted from reference manual. Signed-off-by: Premysl Houdek <kom541000@gmail.com>
* remaining bsp.h: Fix by hand to LIBBSP_@CPU@_@BSP_FAMILY@_BSP_HJoel Sherrill2015-07-162-4/+4
| | | | These files were left after running the script in the previous patch.
* Most bsp.h: Switch to LIBBSP_@CPU@_@BSP_FAMILY@_H for guardJoel Sherrill2015-07-168-16/+16
| | | | | | | | | | | | | | | | | 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
* RaspberryPi: Use rtems_configuration_get_microseconds_per_tick to set clock ↵Jan Sommer2015-07-071-2/+4
| | | | | | | | counter timer interrupt was hard coded to 10 ms per tick. Fix uses the setting of CONFIGURE_MICROSECONDS_PER_TICK to compute the correct start value for the counter See for more information: http://permalink.gmane.org/gmane.os.rtems.user/22691
* bsps/arm: Update due to API changesSebastian Huber2015-06-261-2/+2
|
* beagle bsp: RTC support for BBBragunath2015-05-283-0/+283
|
* arm/shared/lpc/clock/lpc-clock-config.c: Remove unused variable warningJoel Sherrill2015-05-211-1/+0
|
* Multiple bsp_specs: Change *(old_endfile) to %(old_endfile)Joel Sherrill2015-05-2121-21/+21
| | | | | | Fix typo. closes 2345.
* bsp/tms570: TypoSebastian Huber2015-05-211-1/+1
|
* bsps: Convert clock drivers to use a timecounterAlexander Krutwig2015-05-2012-138/+110
| | | | Update #2271.
* lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add sptls02Joel Sherrill2015-04-231-0/+1
|
* lm3s3749-testsuite.tcfg: Add cdtestJoel Sherrill2015-04-232-0/+2
|
* tms570/startup/bspreset.c: Add include <bsp/bootcard.h> to fix warningJoel Sherrill2015-04-151-14/+15
|
* bsp/altera-cyclone-v: Add RTC driverThomas Volgmann2015-04-101-144/+622
|
* Add hardware FPU flags for Raspberry Pi 2 BSPAlan Cudmore2015-04-091-1/+1
|
* rtl22xx-testsuite.tcfg: Add fileioJoel Sherrill2015-04-031-0/+1
|
* bsp/altera-cyclone-v: Fix define usageSebastian Huber2015-04-021-1/+1
|
* TMS570: Add board reset code to bsp_resetMartin Galvan2015-03-312-22/+34
|
* TMS570: Enable FPU in makefile.Martin Galvan2015-03-271-1/+1
|
* bsp/altera-cyclone-v: TypoSebastian Huber2015-03-251-3/+3
|
* nds/libnds/source/arm9/image.c: Add needed castJoel Sherrill2015-03-241-1/+1
|
* nds/libnds/source/arm7/clock.c: Avoid over indexing arrayJoel Sherrill2015-03-241-1/+1
|
* lpc176x/console/console-config.c: Conditionalize code to avoid unused warningsJoel Sherrill2015-03-241-0/+4
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-2054-54/+54
|
* bsp/rtl22xx: Add prefix due to name conflictsSebastian Huber2015-03-201-5/+5
| | | | Close #2303.
* Add CAN, PWM, ADC and UART1/2/3 support to the LPC176x BSP.Martin Galvan2015-03-2019-8/+1879
| | | | | | | | | | This patch adds support for the following devices to the LPC176x BSP: * CAN * PWM * ADC It also adds the probe routines for UART1/2/3 to the console_device_table in console-config.c, and enables UART1 in configure.ac.
* arm/lpc24xx/make/custom/lpc23xx_tli800-testsuite.tcfg: Add tmfine01Joel Sherrill2015-03-171-0/+1
|
* arm/lpc24xx/make/custom/lpc2362-testsuite.tcfg: Add tmfine01Joel Sherrill2015-03-171-0/+1
|
* arm/lpc176x/make/custom/lpc1768_mbed_ahb_ram_eth-testsuite.tcfg: Add tmfine01Joel Sherrill2015-03-171-0/+1
|
* arm/lpc176x/make/custom/lpc1768_mbed_ahb_ram-testsuite.tcfg: Add tmfine01Joel Sherrill2015-03-171-0/+1
|
* arm/lpc176x/make/custom/lpc1768_mbed-testsuite.tcfg: Add tmfine01Joel Sherrill2015-03-171-0/+1
|
* arm/lm3s69xx/make/custom/lm4f120-testsuite.tcfg: Add tmfine01Joel Sherrill2015-03-171-0/+1
|
* preliminary Raspberry Pi Model 2 supportAlan Cudmore2015-03-166-22/+55
| | | | | | | | | | | | | | | | | This patch adds a BSP variant for the Raspberry Pi 2. You can build both variants by configuring with the option --enable-rtemsbsp="raspberrypi2 raspberrypi" For the current BSP, the only change was the peripheral register base address and the compiler options. The raspberrypi/make/custom rules were re-factored: raspberrypi.inc -- Common rules raspberrypi.cfg -- Raspberry Pi 1 specific rule/optons raspberrypi2.cfg -- Raspberry Pi 2 specific rule/options I tested hello, ticker, unlimited, and paranoia on both the Pi (Model A+) and Pi 2.
* beagle bsp: delete TIMER_FREQ, TIMER_COUNTBen Gras2015-03-141-4/+0
| | | | | | unused and poorly named (no prefix) and colliding with sp68. Closes #2302.