summaryrefslogtreecommitdiffstats
path: root/bsps/arm (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-15bsp/tms570: Rename tms570_initialize_and_clear()Sebastian Huber3-3/+3
Rename tms570_initialize_and_clear() in tms570_pom_initialize_and_clear(). Update #4982.
2024-01-15bsp/tms570: Add bsp_restart()Sebastian Huber2-0/+44
Update #4982.
2024-01-15bsp/tms570: Use new pin defineSebastian Huber1-1/+1
Update #4982.
2024-01-15bsp/tms570: Relicense to BSD-2-ClauseSebastian Huber72-183/+1232
Change license to BSD-2-Clause according to file history and contributor agreements. Add Doxygen file comments. Update #3053. Update #3707. Update #4982.
2024-01-15bsp/tms570: Remove empty <bsp/tms570-vim.h>Sebastian Huber2-49/+1
Update #4982.
2024-01-15bsp/tms570: Remove empty <bsp/tms570-sci.h>Sebastian Huber4-48/+1
Update #4982.
2024-01-15bsp/tms570: Remove empty <bsp/tms570-rti.h>Sebastian Huber3-48/+2
Update #4982.
2024-01-15bsps/arm: Use shared empty bsp_start_hook_0()Sebastian Huber7-29/+42
Update #4982.
2024-01-10libio: Clean up usage of rtems_termios_device_modeKinsey Moore1-2/+2
This cleans up outputUsesInterrupts usage with rtems_termios_device_mode enum values. The outputUsesInterrupts member was typed as an int, named as if it were a boolean value, and used as if it were a rtems_termios_device_mode enum. In this patch, values assigned to outputUsesInterrupts have been converted to the corresponding rtems_termios_device_mode enum value, conversions from deviceOutputUsesInterrupts have been made explicit, and uses of rtems_termios_device_mode enum values with deviceOutputUsesInterrupts have been converted to booleans.
2023-12-14bsps/arm/stm32f4: Enable USART RX interruptsJacob Killelea1-7/+63
Hi all, this is my first email patch submission and my first contribution to RTEMS, so please give any feedback you have! This patch enables interrupt driven data reception on USART ports on STM32F4 series chips. This feature is gated behind the config flag BSP_CONSOLE_USE_INTERRUPTS. If this flag is not set to True, the older polling implementation will be used. I tested this feature on STM32F401CE (blackpill) and STM32 Nucleo F411RE boards, with both capable of keeping up with a 115200 baud continous data stream. With the older polling implementation, both would drop bytes at 9600 baud. In addition, I updated the implementation of usart_set_attributes to support changing the baud rate of the USART port based on the input speed.
2023-12-06bsp/tms570: Do not use POM for internal flashSebastian Huber1-3/+2
2023-12-06bsp/tms570: Improve POM handlingSebastian Huber5-2/+14
Place the vector table in the start section so that the overlay can be avoided if we execute from internal flash. The problem is that when the POM is enabled, the ECC cannot be enabled for the internal flash.
2023-12-06bsp/tms570: Adjust BSP_OSCILATOR_CLOCKSebastian Huber1-0/+5
2023-12-06bsp/tms570: Fix debug console baud settingSebastian Huber1-1/+1
2023-12-06bsp/tms570: Use internal RAM for fast dataSebastian Huber1-1/+1
2023-12-06bsp/tms570: Add TMS570LC4357 supportSebastian Huber3-0/+32
2023-12-06bsp/tms570: Use 0x for hex constantsSebastian Huber1-8/+8
2023-12-06bsp/tms570: Replace TMS570_MMR_SELECT_GMII_SELSebastian Huber2-1/+9
Replace TMS570_MMR_SELECT_GMII_SEL with TMS570_MMR_SELECT_MII_MODE and TMS570_MMR_SELECT_RMII_MODE.
2023-12-06bsp/tms570: Add pin configuration variantsSebastian Huber2-46/+133
Rearrange pin function bit fields to allow the clearing of all function bits through TMS570_PIN_AND_FNC(). Move implementation details to source file.
2023-12-06bsps/arm: BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENTSebastian Huber1-0/+4
Add the BSP option BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENT to optionally define an alignment of the vector address table begin.
2023-11-28ZYNQ7000: Add support PYNQ, PicoZed, MicroZed, ZYBO and ZYBO Z7Bernd Moessner10-0/+40
This patch adds basic support for the following boards: xilinx_zynq_pynq - PYNQ Z1 / Z2 xilinx_zynq_microzed - MicroZed 7010 / 7020 xilinx_zynq_picozed - PicoZed 7010 / 7015 / 7020 / 7030 xilinx_zynq_zybo - ZYBO xilinx_zynq_zybo_z7 - ZYBO Z7-10 / Z7-20 N.b. Arty Z7-20 is basically a PYNQ Z1 - different board color and updated Eth PHY.
2023-11-28bsps/imxrt1166: Disable video_muxChristian Mauderer2-4/+7
The pinctrl-0 of the video_mux might overwrite pin settings done by other peripherals. Disabling it by default prevents unexpected pin settings.
2023-11-28bsp/imxrt1166: Support GPIO CS pins in LPSPIChristian Mauderer1-19/+225
With this, it is possible to use GPIOs as CS pins in the LPSPI. To avoid additional complexity, the GPIOs will have the same limitations as the native (hardware) CS pins. The GPIO CS feature adds a number of extra code when starting SPI transfers on this controller. Therefore it is possible to disable the additional code by just setting the IMXRT_LPSPI_MAX_CS option to 0. In that case only native CS pins are supported. At the moment, this feature is only enabled on i.MXRT1166 by default because it is not tested on i.MXRT1050. But it should work there too.
2023-11-28bsps/imx*: imx_gpio from pointer to fdt propertyChristian Mauderer2-12/+69
Device trees allow mixing different kinds of GPIOs in one property. For that it is usefull to only provide a pointer to an arbitrary location in the property and initialize a GPIO from that.
2023-11-20bsps/arm: Add BSP for ZynqMP RPUPhilip Kirkpatrick8-0/+644
2023-08-21bsps/arm/imxrt: Optimize nocache memory settingsChristian Mauderer1-2/+2
The nocache-memory was set as device memory. It's not necessary to be that strict. Set it to normal non-cacheable non-shareable memory instead.
2023-08-21bsps/arm/imxrt1166: Enable USBChristian Mauderer3-46/+85
Enable the USB modules in the FDT.
2023-08-21bsps/imxrt: Fix enabling USBPHY in fsl_clockChristian Mauderer1-0/+8
The mcux-sdk tries to enable the USBPHY. But it uses the wrong register for that. This patch fixes the bug.
2023-08-10arm: Fix cache support for ARM926EJ-SSebastian Huber1-0/+26
The ARM926EJ-S is an ARMv5T architecture processor and lacks some features of ARMv6 processors such as the ARM1176JZF-S. Close #4940.
2023-08-09bsp/lpc32xx: Fix lpc32xx_magic_zero_sizeSebastian Huber1-1/+1
2023-08-09bsp/lpc32xx: Increase SDRAM size to 64MiBSebastian Huber2-2/+2
Increase stage 2 bootloader size to 16MiB.
2023-08-09bsp/lpc32xx: Remove hard to maintain commentsSebastian Huber4-81/+0
These comments duplicate the memory and region definitions of the linker command file.
2023-08-09bsp/lpc32xx: Restore lpc32xx_set_translation_table_entries()Sebastian Huber2-5/+83
This implementation disables the MMU during the modification of the translation table. This behaviour is required by boot loaders for these boards.
2023-08-09bsp/lpc32xx: Fix warningSebastian Huber1-1/+1
The type is a pointer.
2023-08-01Revert "bsps/arm/beagle/dcan: Added DCAN support"Karel Gardas7-11552/+0
This reverts commit 26d50bdfb601b9ef71ec2b30d2d9467c2437f443.
2023-07-31bsps/stm32h7: add modification notice required by Apache License 2.0Karel Gardas1-0/+3
2023-07-31bsps/stm32h7: fix compilation issue after HAL updateKarel Gardas1-0/+3
Based on: commit 99494370d6124ef5d773119fa59f5bac4bbf395f Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Wed Mar 4 12:34:34 2020 +0100 bsp/stm32h7: New BSP Update #3910.
2023-07-31bsp/stm32h7: Add and use BSP Doxygen groupKarel Gardas232-0/+3729
Inspired by: commit fe58f6ce4bf1ff5e92d64b9fee0cb46b6ac06e64 Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Thu Nov 26 08:13:52 2020 +0100 bsp/stm32h7: Add and use BSP Doxygen group Update #3910.
2023-07-31bsps/stm32h7: workaround compilation issue with libbsdKarel Gardas1-0/+7
Part of the new HAL requires float_t type definition. For that it includes math.h header file which unfortunately brings a lot of math functions in. One of them, 'log' conflicts with FreeBSD log function defined in systm.h Provided hack is really just a crude work around this issue. Never thought that Motorola 68881 would help me even in 21st century.
2023-07-31bsps/stm32h7: disable ETH_UpdateDescriptor as unused functionKarel Gardas1-0/+2
2023-07-31bsps/stm32h7: recreate stm32h7xx_hal_conf.hKarel Gardas1-138/+157
Re-apply based on: commit 6bb6b69bb6360cff11057ebef2a8b91cc3a91b3d Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Tue Apr 6 09:43:23 2021 +0200 arm/stm32h7: Add STM32H7_HSE_FREQUENCY
2023-07-31bsps/stm32h7: Add init for sdmmc pinsKarel Gardas1-0/+2
Re-apply based on: commit 8fd29cfbc5c911c46f065e36389c3d246aa97854 Author: Christian Mauderer <christian.mauderer@embedded-brains.de> Date: Tue Mar 2 16:14:41 2021 +0100 stm32h7: Add init for sdmmc pins Update #4372
2023-07-31bsp/stm32h7: Enable LL driversKarel Gardas50-91/+91
Re-apply based on: commit abb78587b6d1be08697810cdae31cd2dbe35ee4a Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Wed Apr 1 11:11:59 2020 +0200 bsp/stm32h7: Enable LL drivers Update #3910.
2023-07-31bsp/stm32h7: Disable unused functionsKarel Gardas5-0/+28
Re-apply based on: commit e4ba06f8b49da4334543f713ba437263c794d7ee Author: Sebastian Huber <sebastian.huber@embedded-brains.de> Date: Thu Apr 2 08:28:56 2020 +0200 bsp/stm32h7: Disable unused functions Update #3910.
2023-07-31bsps/stm32h7: update STM32 H7 HALKarel Gardas285-31270/+264949
This patch updates STM32 H7 HAL source files. The files are taken from two STM projects from their github.com repositories: (i) https://github.com/STMicroelectronics/stm32h7xx_hal_driver.git The project files are still available under BSD-3 license and the version/commit used is: d5fc8d05fc16fa2a2a2f948cf6c6ab39e78358e1 which represents post Release v1.11.1 development tree. (ii) https://github.com/STMicroelectronics/cmsis_device_h7.git The project files were re-licensed from previous BSD-3 to Apache 2.0 license. Fortunately the project does not contain NOTICE file so no need to do anything special when used in RTEMS. The project version/commit imported is: 6d5ef249bec5177e0e2a0880ed62df2132874d99 which is code-wise Release v1.10.3 exactly.
2023-07-28bsps/arm: fix nested extern decl. warnings brought by CMSIS files updateKarel Gardas1-0/+11
2023-07-24bsps/stm32h7: Make UART7 pins configurableKinsey Moore1-2/+2
This change allows for the pins assigned to UART7 to be reconfigured via config.ini.
2023-07-24bsps/imxrt: Add imxrt1166_cm7_saltshaker BSPChristian Mauderer14-3/+6858
The BSP is for a custom i.MXRT1166 based board. At the moment, only the cortex M7 is supported.
2023-07-24bsps/imsrt: Make flash config more flexibleChristian Mauderer4-3/+7
The flash configuration is something very board specific. So move the file to a board specific location. Beneath that, not all controllers and configurations need the flash config right at the address 0 of the flash. For example on the i.MXRT11xx, the config has an offset for some flash types.
2023-07-24bsps/imx*: Support more GPIO controllersChristian Mauderer1-4/+14
The imx-gpio driver used in i.MX and i.MXRT BSPs generates a name based on a fixed string. The original code only used one digit for the controller. With the 13 GPIO controllers of the i.MXRT1166, that isn't enough any more. This patch extends the name to two digits which should be enough for the next controller generations.