summaryrefslogtreecommitdiffstats
path: root/bsps/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* imxrt/mcux-sdk: Add HREQ-related bitsChristian Mauderer2023-07-241-0/+25
| | | | | | | According to the reference manual the bits exist and they can be used. Also confirmed by NXP support in the community forum: https://community.nxp.com/t5/i-MX-RT/i-MXRT1160-LPSPI-HREQ-supported/m-p/1668647#M25512
* bsps/imxrt: Fix getting qtmr clock for i.MXRT11xxChristian Mauderer2023-07-241-1/+1
| | | | The function returned a multiplexer value instead of the frequency.
* bsps/arm: replace CMSIS v4 with CMSIS v5 filesKarel Gardas2023-07-2110-4360/+6113
| | | | | | | | | | | | | | | | | | | | | | | | | CAVEAT: license change from BSD to Apache2 license! Explanation: The imported files come from CMSIS v5 project available on: https://github.com/ARM-software/CMSIS_5/tree/develop The files imported are located inside the CMSIS/Core/Include project sub-directory. The project does not provide any NOTICE file in its root directory nor in the directory of the imported files. The NOTICE file and its usage in the Apache 2 license was/is so far the only issue mentioned in discussion of RTEMS developers/users when considering inclusion of the code under Apache 2 license into the RTEMS project. Since the CMSIS v5 project is free from this legal hinder, we may freely use it and update files to the latest version. Technical: the patch replaces code from 2015 with the latest version which brings quite a lot of bug fixes and most importantly opens possibilities to support MCUs based on new ARM cores.
* arm/stm32h7: Add support for STM32H750B-DKKinsey Moore2023-07-203-2/+570
| | | | | | | | | | This adds support for the STM32H750B-DK discovery kit. This kit includes a built-in STLINKv3 debugger which provides a USB serial bridge for USART3. USART1 is routed to the Arduino header and USART2 is routed to the STMOD connector. This BSP reuses what would otherwise be duplicated files from the stm32h747i-disco BSP. Note that system_stm32h7xx.c has been imported from the STM repository with two minor changes wrapped with #if __rtems__. This hardware has been tested with hello and ticker.
* xilinx-zynqmp: Include <rtems/termiostypes.h>Sebastian Huber2023-06-121-1/+1
| | | | Include <rtems/termiostypes.h> for the Termios device driver support.
* xilinx-zynqmp: Include <rtems/libio.h> for rtems_termios_initialize()Joel Sherrill2023-06-061-0/+1
|
* termios: Add <rtems/termiosdevice.h>Sebastian Huber2023-05-311-0/+1
| | | | | | | Add <rtems/termiosdevice.h> which does not depend on <rtems/libio.h> to provide rtems_termios_device_context and rtems_termios_device_handler. For polled serial device drivers, this removes a header file dependency to the full file system support.
* arm/xilinx-zynq: Initialize debug console onceSebastian Huber2023-05-261-0/+6
|
* arm/xilinx-zynq: Do not provide legacy APISebastian Huber2023-05-262-2/+1
| | | | | The header file <rtems/irq.h> provides a legacy API. Do not provide it by default through <bsp/irq.h>.
* bsps/arm: Use interrupt entry for IPISebastian Huber2023-05-261-6/+10
| | | | Avoid a dynamic memory allocation for the inter-processor interrupt.
* bsps/arm: Use interrupt entry for clock driverSebastian Huber2023-05-261-4/+9
| | | | Avoid a dynamic memory allocation for the clock driver interrupt.
* arm/xilinx-zynq: Improve Doxygen file commentsSebastian Huber2023-05-266-12/+64
|
* bsps/arm: Improve Doxygen groupsSebastian Huber2023-05-265-9/+62
|
* bsps: Improve Doxygen file commentsSebastian Huber2023-05-265-9/+42
|
* imx_iomux: Don't set reserved bits in PAD_CTLChristian Mauderer2023-05-221-0/+10
| | | | | | | | | On most i.MX* the upper bits in SW_PAD_CTL are reserved. On some chips, like the i.MXRT1166, they are a domain write protection. Setting them to 1 can have unexpected side effects. The device tree uses these bits for some flags. Make sure that they are not accidentally written to some value.
* bsps/imxrt: Move board specific filesChristian Mauderer2023-05-224-0/+0
| | | | | Move the files that are board specific and not specific to the chip family into a separate folder.
* bsps/imxrt: Make chip start code chip specificChristian Mauderer2023-05-222-0/+6
| | | | | Some parts of the startup code don't apply for all chips. Make that part chip specific.
* bsps/imxrt: Support more chip variants in headerChristian Mauderer2023-05-221-9/+40
| | | | | | The different variants of the i.MXRT have some minimal differences in the fsl_flexspi_nor_config.h. Make sure that the header supports the different chips.
* bsps/imxrt: Remove unmaintained definesChristian Mauderer2023-05-222-56/+4
| | | | | | | The defines for the different clock frequencies in the fsl_clock_config.h do not represent the clock frequencies that have been set up in the registers. Remove them to avoid someone trusting in correct values.
* bsps/imxrt: Get clock for IMXRT11xx in driversChristian Mauderer2023-05-224-6/+73
| | | | | | The mcux_sdk has a different interface for getting the clock for IMXRT11xx than for getting it in IMXRT10xx. Adapt simple drivers to support that interface.
* bsps/imxrt1052: PLL config based on speed gradeChristian Mauderer2023-05-221-0/+7
|
* bsps/imxrt: Adapt to new mcux-sdk versionChristian Mauderer2023-05-22145-141136/+9
| | | | | Remove the old NXP MCUXpresso SDK and adapt the BSP so that it uses the new mcux-sdk.
* bsps/imxrt: (Re-)Apply RTEMS patches to new libChristian Mauderer2023-05-229-0/+419
| | | | | Reapply patches used in the old version of the NXP library and apply patches necessary for the new version of the library.
* bsp/imxrt: Update support library from mcux-sdkChristian Mauderer2023-05-22246-0/+396279
| | | | | | | | | | | | | | | | | | | This imports new files from the mcux-sdk support library. NXP now offers the library as a git repository instead of a zip package. The git repository supports multiple CPUs from the i.MXRT family: https://github.com/nxp-mcuxpresso/mcux-sdk.git The imported files are from revision 2b9354539e6e4f722749e87b0bdc22966dc080d9 This revision is the same as MCUXpresso 2.13.0 with small bug fixes. For importing the files, a script has been used, that parses the mcux-sdk cmake files and creates the yaml files for RTEMS: https://raw.githubusercontent.com/c-mauderer/nxp-mcux-sdk/d21c3e61eb8602b2cf8f45fed0afa50c6aee932f/export_to_RTEMS.py
* Update company nameSebastian Huber2023-05-20336-336/+336
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* bsps/arm: Fix wordingSebastian Huber2023-03-171-1/+1
|
* score/arm: enhance ARMV7M MPU setup with capability to set control registerKarel Gardas2023-03-166-6/+6
| | | | | | | Due to API change, the patch also fixes affected BSPs and uses value provided by MPU CTRL spec option there. Sponsored-By: Precidata
* bsps/stm32h7: fix propagation of configured HSE freq. value into the codeKarel Gardas2023-03-105-0/+22
| | | | Sponsored-By: Precidata
* bsps/beagle: fix warning on possibly uninitialized clock control in pwmss.Karel Gardas2023-02-181-2/+8
|
* bsps/beagle: fix warning on missing castKarel Gardas2023-02-181-1/+1
|
* bsps/beagle: do not set values already set by spec file(s).Karel Gardas2023-02-181-10/+0
| | | | The patch fixes few symbol already defined warnings here.
* doxygen: Add Doxygen files to a groupSebastian Huber2023-02-163-0/+24
| | | | Update #3707.
* bsps/stm32h7: allow config and usage of QSPI memory on stm32h757i-eval BSPKarel Gardas2023-02-052-0/+18
| | | | | | | | | The QSPI memory is initialized and used only when the BSP configure file sets QSPI memory size to non-zero value. Currently QSPI is run in memory mapped mode which allows future RTEMS binary linkage and upload into QSPI memory. Sponsored-By: Precidata
* bsps/stm32h7: import stm32h757i-eval QSPI memory high-level driverKarel Gardas2023-02-054-0/+1607
|
* bsps/stm32h7: import MT25TL01G QSPI memory low-level driverKarel Gardas2023-02-053-0/+1476
|
* 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
|