summaryrefslogtreecommitdiffstats
path: root/bsps/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bsp/raspberrypi: Add interrupt get/set affinitySebastian Huber2021-07-261-0/+26
| | | | | | | | Add default implementations for bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() which are required to link all tests in SMP configurations. Update #3269.
* bsps/irq: bsp_interrupt_vector_disable()Sebastian Huber2021-07-2612-12/+27
| | | | | | Return a status code for bsp_interrupt_vector_disable(). Update #3269.
* bsps/irq: bsp_interrupt_vector_enable()Sebastian Huber2021-07-2612-12/+27
| | | | | | Return a status code for bsp_interrupt_vector_enable(). Update #3269.
* bsps/irq: Add rtems_interrupt_is_pending()Sebastian Huber2021-07-2612-0/+132
| | | | | | Add a default implementation which just returns RTEMS_UNSATISFIED. Update #3269.
* bsps/irq: Add rtems_interrupt_get_attributes()Sebastian Huber2021-07-2612-0/+96
| | | | | | | Add a default implementation which clears the attributes to zero and just returns RTEMS_SUCCESSFUL for valid parameters. Update #3269.
* bsps/irq: Add rtems_interrupt_raise()Sebastian Huber2021-07-2612-0/+155
| | | | | | | | | Add rtems_interrupt_raise_on() and rtems_interrupt_clear(). Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* bsps/irq: Add rtems_interrupt_vector_is_enabled()Sebastian Huber2021-07-2612-0/+132
| | | | | | | Add a default implementation which just returns RTEMS_UNSATISFIED for valid parameters. Update #3269.
* Fixes for TMS570 BSPRobin Mueller2021-07-201-3/+3
| | | | | | | | | When compiling the lwIP port for the TMS570, there were issues with the BSP. Headers are expected in a folder named ti_herc which did not exist. This fixes the issue. Furthermore, there were multiple warnings about define redefinitions. This was fixed as well.
* STM32H7 ethernet pin correctionsRobin Mueller2021-07-201-1/+21
| | | | | | | | | | These patches were submitted a few months ago, but it was found out that the default-by-family: [] were missing in the GPIO .yml lines. This was fixed in this patch. This patch accounts for different pins for the ETH peripheral on STM32H7 devices. For example, the Nucleo H743ZI has slightly different pins than other STM32H7 boards.
* bsp/imx: Fix SMP startSebastian Huber2021-07-091-0/+12
| | | | | Flush imx_gic_dist_base so that secondary processors can use the right address.
* bsps/arm: Fix SMP startSebastian Huber2021-07-091-0/+6
| | | | | | | | Skip the data cache initialization if we are a secondary processor. The bug was introduced by e164df5e33608576443b4cd5923a9046358ee773 and did not show up in tests using Qemu since the data cache behaviour is not emulated.
* bsps/imxrt: Fix undefined symbolChristian Mauderer2021-07-081-1/+1
|
* bsps/arm: Add start up support for ARMv6 RPi ModelsPranav Dangi2021-07-071-1/+7
|
* bsp/raspberrypi: Fix <bsp/irq.h> header guardSebastian Huber2021-07-071-1/+1
|