summaryrefslogtreecommitdiffstats
path: root/bsps/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* intr: Add Interrupt Manager implementation groupSebastian Huber2023-01-248-10/+10
| | | | | | | The shared BSP interrupt controller support code actually implements parts of the Interrupt Manager. Update #3706.
* clockdrv: Add clock driver implementation groupSebastian Huber2023-01-241-4/+3
| | | | | | Use standard wording in Clock Driver related files. Update #3706.
* tm27: Avoid function pointer castsSebastian Huber2023-01-241-2/+2
| | | | | | | Add TM27_USE_VECTOR_HANDLER to select the interrupt handler type used by the <tm27.h> implementation. Close #4820.
* bsp/tms570: Fix define redefinition errorSebastian Huber2023-01-171-2/+2
|
* bsp/atsam: Allow to use custom SDRAMChristian Mauderer2022-12-151-0/+7
| | | | | | | | | | | With the old build system in RTEMS 5 that was possible by just overwriting BOARD_Sdram_Config and setting a custom ATSAM_MEMORY_SDRAM_SIZE during building the BSP. In the new build system that ATSAM_MEMORY_SDRAM_SIZE is set exclusively by the selected SDRAM chip. This patch adds the possibility to specify a "custom-0x100000" or similar as SDRAM type where the number gives the SDRAM size.
* bsps/atsam: Add NULL pointer protectionChristian Mauderer2022-12-155-2/+28
|
* bsps/atsam: Fix unidirectional SPI transfersChristian Mauderer2022-12-151-57/+131
| | | | | | | | | A SPI transfer where the Rx or Tx buffer is set to NULL currently transfers or overwrites data starting from address 0x00000000 via DMA. This patch changes the DMA setup so that dummy transfers are done. Just reading / writing to a single location is simpler than changing the whole logic of the transfer depending on the passed buffers.
* bsps/arm/beagle/dcan: Added DCAN supportPrashanth S2022-10-307-0/+11552
|
* bsps/arm: fix Cortex-M7 systick reload valueDariusz Sabala2022-10-261-1/+1
| | | | | | | | | | | | - see ARM DUI 0646C Arm Cortex-M7 Devices Generic User Guide "The RELOAD value is calculated according to its use. For example, to generate a multi-shot timer with a period of N processor clock cycles, use a RELOAD value of N-1. If the SysTick interrupt is required every 100 clock pulses, set RELOAD to 99." - see routines used in CMSIS project for reference Close #4746.
* bsps/arm: Mark functions in start.SSebastian Huber2022-09-221-0/+2
| | | | | | | Add the function type to _start() and bsp_start_hook_0_done() so that the linker can generate ARM/Thumb interworking code. Update #4202.
* bsps/arm: Move bsp_start_hook_0_done()Sebastian Huber2022-09-222-2/+6
| | | | Declare bsp_start_hook_0_done() in <bsp/start.h>.
* bsps/arm: Add comment about banked FIQ registersSebastian Huber2022-09-221-0/+1
|
* bsp/tms570: Fix declarationsSebastian Huber2022-09-201-4/+4
| | | | This avoids multiple definition errors.
* bsps: Fix .data.rel.ro placementSebastian Huber2022-08-121-1/+1
| | | | | | | The .data.rel.ro* linker input section pattern accidentally matches with writeable data those symbol name starts with "ro". Close #4701.
* Use __asm__ for standard C compatibilitySebastian Huber2022-07-271-16/+16
|
* bsps: Sort .noinit* sectionsSebastian Huber2022-07-151-1/+1
| | | | | | | | Sort the .noinit* input sections by name first, then by alignment if two sections have the same name. This allows the placement of begin/end symbols to initialize some areas with a special value. Update #4678.
* bsps/arm/realview-pbx-a9: Change license to BSD-2Joel Sherrill2022-07-0811-33/+242
| | | | Updates #3053.
* bsps/arm/raspberrypi: Change license to BSD-2Joel Sherrill2022-07-082-6/+44
| | | | Updates #3053.
* bsps/arm/lpc32xx: Change license to BSD-2Joel Sherrill2022-07-0829-87/+638
| | | | Updates #3053.
* bsps/arm/lpc24xx: Change license to BSD-2Joel Sherrill2022-07-0834-102/+748
| | | | Updates #3053.
* bsps/arm/imxrt: Change license to BSD-2Joel Sherrill2022-07-081-3/+22
| | | | Updates #3053.
* bsps/arm/lpc176x: Change license to BSD-2Joel Sherrill2022-07-0814-42/+308
| | | | Updates #3053.
* bsps/arm/include: Change license to BSD-2Joel Sherrill2022-07-0817-51/+374
| | | | Updates #3053.
* bsps/arm/imx: Change license to BSD-2Joel Sherrill2022-07-0816-48/+352
| | | | Updates #3053.
* bsps/arm/csb337: Change license to BSD-2Joel Sherrill2022-07-086-18/+132
| | | | Updates #3053.
* bsps/arm/beagle: Change license to BSD-2Joel Sherrill2022-07-082-6/+44
| | | | Updates #3053.
* bsps/arm/atsamv: Change license to BSD-2Joel Sherrill2022-07-0830-90/+660
| | | | Updates #3053.
* bsps/arm/altera-cyclone-v: Change license to BSD-2Joel Sherrill2022-07-0815-45/+330
| | | | Updates #3053.
* bsps/arm/shared: Change license to BSD-2Joel Sherrill2022-07-0813-39/+286
| | | | Updates #3053.
* bsps/xilinx-zynq: Init debug console only onceSebastian Huber2022-07-011-4/+1
| | | | Initialize the debug console only once during early system initialization.
* bsp/lpc32xx: Optimize Ethernet transmitSebastian Huber2022-06-271-1/+1
| | | | | The updated Ethernet interface driver in libbsd profits from more transmit descriptors since it no longer uses transmit done interrupts.
* bsps/arm: MP core timer setting off by oneChris Johns2022-06-151-1/+1
|
* bsps/stm32h7: remove external memory initialization from nucleo-h743zi BSPKarel Gardas2022-06-102-479/+0
| | | | | | | Nucleo board does not provide any external memory so code does not have any function here anyway. Sponsored-By: Precidata
* bsps/stm32h7: move BSP start hooks into boards subdirectoriesKarel Gardas2022-06-107-44/+400
| | | | | | | The idea here is to prepare for better per-board specialization of the hooks function code. Sponsored-By: Precidata
* bsps/imx: Enable clock of ETH2Christian Mauderer2022-06-092-0/+172
|
* arm/lpc32xx: Implement new interrupt directivesSebastian Huber2022-06-081-6/+42
|
* bsp/lpc32xx: bsp_interrupt_vector_enable()Sebastian Huber2022-06-081-2/+6
| | | | | | | | The interrupt enables are used to implement a priority scheme in bsp_interrupt_dispatch(). Enable interrupts through bsp_interrupt_vector_enable() only if they are not already enabled to not interfere with the priority scheme while bsp_interrupt_vector_enable() is called during interrupt dispatching.
* bsp/lpc32xx: bsp_interrupt_is_valid_vector()Sebastian Huber2022-06-082-0/+31
| | | | | Provide custom bsp_interrupt_is_valid_vector() implementation since several interrupt vectors are reserved.
* bsp/lpc32xx: Use standard timer 2 for tm27.hSebastian Huber2022-06-081-19/+39
| | | | | This helps to run the validation tests of the Interrupt Manager directives.
* arm/lpc32xx: Hide MLC detailsSebastian Huber2022-06-081-3/+1
|
* bsp/lpc32xx: Fix FIQ interrupt supportSebastian Huber2022-06-081-10/+13
| | | | | Do not sporadically service interrupts configured as FIQ by the IRQ interrupt dispatch.
* bsps/stm32h7: add board C files for stm32h747i-disco BSPKarel Gardas2022-06-014-0/+736
| | | | | | | | | | | | Besides C files for the BSP variant the patch also provides license clarification on system_stm32h7xx.c file which is provided in boards/stm/stm32h747i-disco directory. The files comes from STM32CubeH7 project and references "root directory" in its license comment and it's not clear where this points out. Let's add clarification comment about it and also based on it and resulting license let's add SPDX license identifier. Sponsored-By: Precidata
* bsps/stm32h7: include CMSIS Cortex-M4 header when required by configurationKarel Gardas2022-06-011-0/+7
| | | | Sponsored-By: Precidata
* bsps/stm32h7: enable cache and MPU only on Cortex-M7Karel Gardas2022-06-011-0/+4
| | | | Sponsored-By: Precidata
* bsps/arm: add CMSIS Cortex-M4 Core Peripheral Access Layer Header FileKarel Gardas2022-05-301-0/+1937
|
* bsps/stm32h7: enable SDRAM 2 MPU regionKarel Gardas2022-05-271-0/+7
| | | | Sponsored-By: Precidata
* bsps/stm32h7: add board C files for stm32h757i-eval BSPKarel Gardas2022-05-274-0/+976
| | | | | | | | | | | | Besides C files for the BSP variant the patch also provides license clarification on system_stm32h7xx.c file which is provided in boards/stm/stm32h757i-eval directory. The files comes from STM32CubeH7 project and references "root directory" in its license comment and it's not clear where this points out. Let's add clarification comment about it and also based on it and resulting license let's add SPDX license identifier. Sponsored-By: Precidata
* bsp/arm: allocate .rtemsstack on REGION_STACK instead of on REGION_WORKKarel Gardas2022-05-231-1/+1
| | | | | | | | REGION_WORK may be backed by external RAM which may not be initialized in a time we need stack to work well. E.g. code loaded in flash, stack allocated on in-cpu SRAM and data (REGION_WORK) on external SDRAM. Sponsored-By: Precidata
* bsp/stm32h7: remove system files from start directoryKarel Gardas2022-05-164-575/+0
| | | | | | | The files are already presented in boards directories and are not needed in start directory anymore. Sponsored-By: Precidata
* bsp/stm32h7: copy system files to nucleo-h743zi board directoryKarel Gardas2022-05-165-0/+1053
| | | | | | Also adjust BSP spec file to make it buildable with board files. Sponsored-By: Precidata