summaryrefslogtreecommitdiffstats
path: root/bsps/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bsp/stm32h7: copy system files to stm32h743i-eval board directoryKarel Gardas2022-05-165-0/+1053
| | | | | | Also adjust BSP spec file to make it buildable with board files. Sponsored-By: Precidata
* bsp/stm32h7: remove stm32h7b3i-dk related changes from start system filesKarel Gardas2022-05-164-82/+7
| | | | Sponsored-By: Precidata
* bsp/stm32h7: update stm32h7b3i-dk board system_stm32h7xx.c fileKarel Gardas2022-05-161-115/+25
| | | | | | | Updated content comes from STM32CubeIDE 1.9.0 generated for STM32H7B3I-DK board and have RTEMS related changes merged in. Sponsored-By: Precidata
* bsp/stm32h7: cleanup osc, clk, per files for stm32h7b3i-dk boardKarel Gardas2022-05-163-54/+0
| | | | Sponsored-By: Precidata
* bsp/stm32h7: copy system files to stm32h7b3i-dk board directoryKarel Gardas2022-05-165-0/+1128
| | | | | | Also adjust BSP spec file to make it buildable with board files. Sponsored-By: Precidata
* bsp/stm32h7: update FMC configuration for SRAM and SDRAM usageKarel Gardas2022-04-071-9/+14
| | | | | | | | The patch merges differences in FMC configuration between system_stm32h7xx.c file generated by STM32CubeIDE for 743i-eval2 board and the current RTEMS ext-mem-ctl.c file. Sponsored-By: Precidata
* bsp/stm32h7: Convert to UNIX line endingsSebastian Huber2022-04-05263-708277/+708277
|
* bsp/stm32h7: bring all required changes into system_stm32h7xx for ↵Karel Gardas2022-04-051-7/+44
| | | | | | | | STM32H7B3I-DK BSP variant The changes provided here are a result of a merge from various examples system_stm32h7xx.c files provided by STMicroelectronics for the STM32H7B3I-DK board with the original RTEMS file provided for the STM32H743I-EVAL2 board.
* bsp/stm32h7: properly ifdef all unsupported features in start -hal file ↵Karel Gardas2022-04-051-0/+20
| | | | while compiling for STM32H7B3I-DK BSP
* bsp/stm32h7: configure peripheral clocks for STM32H7B3xxQ (e.g. ↵Karel Gardas2022-04-051-0/+17
| | | | STM32H7B3I-DK BSP)
* bsp/stm32h7: configure oscillator for STM32H7B3xxQ (e.g. STM32H7B3I-DK BSP)Karel Gardas2022-04-051-0/+17
|
* bsp/stm32h7: configure AHB clock divider for STM32H7B3xxQ (e.g. ↵Karel Gardas2022-04-051-0/+4
| | | | STM32H7B3I-DK BSP)
* bsp/stm32h7: disable ethernet for STM32H7B3I-DK BSP variantKarel Gardas2022-04-051-0/+4
| | | | Note: the ethernet port is not presented on the board anyway.
* bsp/stm32h7: add flash latency configurationKarel Gardas2022-04-051-1/+1
|
* bsp/stm32h7: add configuration for USART1 GPIO pins, registers and alternate ↵Karel Gardas2022-04-051-3/+5
| | | | function
* bsp/stm32h7: add power supply configurationKarel Gardas2022-04-051-1/+1
|
* Update Eric Norum contact info and start to normalize file headersJoel Sherrill2022-03-241-2/+6
|
* bsps/arm: Fix bsp_start_memcpy() for ARMv7-ARSebastian Huber2022-03-141-0/+4
| | | | Synchronize data and instruction streams.
* bsps/arm/: Scripted embedded brains header file clean upJoel Sherrill2022-03-10225-1352/+26
| | | | Updates #4625.
* bsp/altera-cyclone-v: fix the creation of reserved memory regionsMarcus Ritter2022-03-091-1/+1
|
* bsp/imxrt: Enforce alignment for devicetreeChristian Mauderer2022-02-213-3/+3
| | | | | | A device tree binary has to be 8 byte aligned in memory. This is checked since RTEMS commit 34052ef78cf8724dee73e9279b2c6bff8cfed234 "libfdt: Add FDT alignment check to fdt_check_header()".
* bsp/arm/zynq: Cadence I2C has moved, update to the new pathChris Johns2022-02-171-1/+2
|
* bsp/atsam: Improve UART / USART tx performanceChristian Mauderer2022-02-111-4/+5
| | | | | | | | | | | | | Put the next character into the send buffer if the buffer is empty and not when the last character has been sent out to the line. This improves the performance slightly. Before that patch, the receive path was faster than the transmit path. Therefore a simple echo could drop characters on a busy connection. With this patch sending and receiving has about the same performance so that no characters are lost. Fixes #4610
* bsp/atsam/i2c: Add error return and fix edge casesChristian Mauderer2022-02-102-59/+47
| | | | | | | | | | The driver didn't return with an error on (for example) a NACK on the bus. This adds the expected error return. Due to the new case that a transfer can be interrupted on an error, there were some new edge cases. This patch therefore also fixes these edge cases by removing the transfer_state that more or less duplicated the interrupt states. Fixes #4592
* bsp/atsam/i2c: Simplify driverChristian Mauderer2022-02-102-69/+45
| | | | | | | | | | Do some clean ups. Remove superfluous variables. Eliminate some overly complex logic (information about transfer and remaining bytes has been tracked redundantly in multiple variables). This patch doesn't change the behavior of the driver. Update #4592
* bsp/atsam: Optionally use DMA for UART RxChristian Mauderer2022-01-182-5/+190
| | | | | | | | | | | | If the system is busy with other interrupts and the UART is set to a fast baud rate, it's possible to loose UART interrupts and therefore characters. This allows to optionally enable a DMA for the UARTs so that a number of lost interrupts can be tolerated. The number of DMAs on this chip is limited and not not all applications need that feature. Therefore the DMA is disabled by default. Close #4578
* bsp/atsam: Merge USART and UART driverChristian Mauderer2022-01-181-225/+60
| | | | | | | | | | If no extended features of the USART are used and if the comparison feature of the UART is not used, the two modules are compatible. The drivers were nearly identical except for some names of the defines. This patch merges the two drivers into one. Update #4578
* bsp_specs: Delete last remnants of these.Joel Sherrill2021-11-2922-0/+0
| | | | Updates #3937.
* bsp/imx: Add cs_change support to SPIChristian Mauderer2021-10-061-4/+6
|
* build: Remove old build systemSebastian Huber2021-09-2129-1023/+0
| | | | | Close #3250. Close #4081.
* bsps/zynq: Moved general i2c files to shared directoriesStephen Clark2021-09-093-616/+0
| | | | | Certain files related to the Zynq BSP's I2C driver are useable by the ZynqMP BSP as well. Moved these files to shared directory in anticipation of I2C support for ZynqMP.
* bsps/imxrt: Improve SPI driverChristian Mauderer2021-09-021-73/+124
| | | | | | | | It wasn't possible to keep the CS line low between multiple message descriptors in one transfer. This patch reworks the driver so that it is possible. Update #4180
* bsps/raspberrypi: Add SEV Instruction for RPi SMP firmware changes.pranav2021-08-181-0/+1
| | | | | | The Pi firmware added a wfe(wait for event), the cores 1-3 wait for the start address being written to the mailbox register, followed by a SEV poke to the mailbox that acts as a wfe wake-up event.
* bsps/arm: More robust SMP startSebastian Huber2021-08-123-11/+16
| | | | | Do not continue execution on processors which are not configured to prevent the use of arbitrary memory for the initialization stack.
* bsps/irq: bsp_interrupt_facility_initialize()Sebastian Huber2021-07-2712-36/+12
| | | | | | Do not return a status code in bsp_interrupt_facility_initialize() since this leads to unreachable code in bsp_interrupt_initialize(). Use RTEMS_DEBUG assertions in bsp_interrupt_facility_initialize() if necessary.