summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps/stm32h7: add modification notice required by Apache License 2.0Karel Gardas2023-07-311-0/+3
|
* bsps/stm32h7: fix compilation issue after HAL updateKarel Gardas2023-07-311-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.
* bsp/stm32h7: Add and use BSP Doxygen groupKarel Gardas2023-07-31232-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.
* bsps/stm32h7: workaround compilation issue with libbsdKarel Gardas2023-07-311-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.
* bsps/stm32h7: disable ETH_UpdateDescriptor as unused functionKarel Gardas2023-07-311-0/+2
|
* bsps/stm32h7: recreate stm32h7xx_hal_conf.hKarel Gardas2023-07-311-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
* bsps/stm32h7: Add init for sdmmc pinsKarel Gardas2023-07-311-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
* bsp/stm32h7: Enable LL driversKarel Gardas2023-07-3150-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.
* bsp/stm32h7: Disable unused functionsKarel Gardas2023-07-315-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.
* bsps/stm32h7: update STM32 H7 HALKarel Gardas2023-07-31285-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.
* bsps/stm32h7: Make UART7 pins configurableKinsey Moore2023-07-241-2/+2
| | | | | This change allows for the pins assigned to UART7 to be reconfigured via config.ini.
* 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.
* Update company nameSebastian Huber2023-05-2052-52/+52
| | | | | The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
* score/arm: enhance ARMV7M MPU setup with capability to set control registerKarel Gardas2023-03-165-5/+5
| | | | | | | 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/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
|
* 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/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/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/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
|
* bsp_specs: Delete last remnants of these.Joel Sherrill2021-11-291-0/+0
| | | | Updates #3937.
* 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.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2021-06-241-1/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-0/+1
| | | | | | | | | | | | | Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT. After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no interrupt vector at all. Using COUNT instead of MAX may avoid some interpretation issues, for example is the maximum value a valid vector number or not. Update #3269.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber2021-06-241-2/+0
| | | | | | | | | | Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
* Implementation for STM32 HAL_GetTick using RTEMSRobin Mueller2021-04-261-2/+2
| | | | Uses configured millisecond per ticks
* Updated tick implementation for HAL_GetTickRobin Mueller2021-04-201-1/+3
| | | | | This now uses rtems_clock_get_uptime_nanoseconds to calculate the uptime ticks in milliseconds.