diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2023-07-05 15:03:40 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-07-20 09:14:36 -0500 |
commit | c2083e81f2f5dc278e4f0c589deeb56dcd9a25bf (patch) | |
tree | 57897149bfa486898375df1a645e0d7cd9d56eeb /spec/build/bsps/arm/stm32h7 | |
parent | rtems: Fix typo (diff) | |
download | rtems-c2083e81f2f5dc278e4f0c589deeb56dcd9a25bf.tar.bz2 |
arm/stm32h7: Add support for STM32H750B-DK
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.
Diffstat (limited to 'spec/build/bsps/arm/stm32h7')
-rw-r--r-- | spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml | 23 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/grp.yml | 4 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optlinkcmds.yml | 1 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optmemquadspisz.yml | 1 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml | 3 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optprintkinstance.yml | 4 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml | 3 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml | 1 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml | 20 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml | 2 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml | 2 | ||||
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optvariant.yml | 3 |
13 files changed, 85 insertions, 1 deletions
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml b/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml new file mode 100644 index 0000000000..f5a1ad3b90 --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml @@ -0,0 +1,23 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: arm +bsp: stm32h750b-dk +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +enabled-by: true +family: stm32h7 +includes: [] +install: [] +links: +- role: build-dependency + uid: grp +source: +- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-bspstarthooks.c +- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-config-clk.c +- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-config-osc.c +- bsps/arm/stm32h7/boards/stm/stm32h750b-dk/stm32h7-config-per.c +- bsps/arm/stm32h7/boards/stm/stm32h750b-dk/system_stm32h7xx.c +- bsps/arm/shared/cache/cache-v7m.c +type: build diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml index e5d679e09d..595762c665 100644 --- a/spec/build/bsps/arm/stm32h7/grp.yml +++ b/spec/build/bsps/arm/stm32h7/grp.yml @@ -99,6 +99,10 @@ links: - role: build-dependency uid: optusart1alternatefunc - role: build-dependency + uid: optusart2gpiopins +- role: build-dependency + uid: optusart2gpioregs +- role: build-dependency uid: optusart3gpiopins - role: build-dependency uid: optusart3gpioregs diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml index 5080409f04..cee48a999e 100644 --- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml +++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml @@ -10,6 +10,7 @@ default: - arm/nucleo-h743zi - arm/stm32h747i-disco - arm/stm32h747i-disco-m4 + - arm/stm32h750b-dk - arm/stm32h757i-eval - arm/stm32h757i-eval-m4 - arm/stm32h7b3i-dk diff --git a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml index 784c23a785..821ae3c197 100644 --- a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml @@ -8,6 +8,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: - enabled-by: + - arm/stm32h750b-dk - arm/stm32h757i-eval - arm/stm32h757i-eval-m4 value: 0x08000000 diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml index a0dce04d55..5216e9b184 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml @@ -12,6 +12,9 @@ default: - arm/stm32h757i-eval - arm/stm32h757i-eval-m4 value: 0x02000000 +- enabled-by: + - arm/stm32h750b-dk + value: 0x01000000 - enabled-by: true value: 0x00000000 description: | diff --git a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml index 88870626c7..e02a9c4fb7 100644 --- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml +++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml @@ -6,7 +6,9 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: -- enabled-by: arm/nucleo-h743zi +- enabled-by: + - arm/nucleo-h743zi + - arm/stm32h750b-dk value: stm32h7_usart3_instance - enabled-by: true value: stm32h7_usart1_instance diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml index 1daefc26d2..e1ea0e77c3 100644 --- a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml +++ b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml @@ -7,6 +7,9 @@ copyrights: - Copyright (C) 2021, 22 embedded brains GmbH & Co. KG default: - enabled-by: + - arm/stm32h750b-dk + value: ( GPIO_PIN_6 | GPIO_PIN_7 ) +- enabled-by: - arm/stm32h747i-disco - arm/stm32h747i-disco-m4 - arm/stm32h7b3i-dk diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml index 4029725f7e..028f023fd7 100644 --- a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml +++ b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml @@ -12,6 +12,7 @@ default: - arm/stm32h7b3i-dk value: GPIOA - enabled-by: + - arm/stm32h750b-dk - arm/stm32h757i-eval - arm/stm32h757i-eval-m4 value: GPIOB diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml new file mode 100644 index 0000000000..731d9c07f5 --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml @@ -0,0 +1,20 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- define-unquoted: null +build-type: option +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +default: +- enabled-by: + - arm/stm32h750b-dk + value: ( GPIO_PIN_5 | GPIO_PIN_6 ) +- enabled-by: true + value: ( GPIO_PIN_2 | GPIO_PIN_3 ) +description: | + GPIO pins used for the USART1 pin configuration. +enabled-by: true +format: '{}' +links: [] +name: STM32H7_USART2_GPIO_PINS +type: build diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml new file mode 100644 index 0000000000..9c297e2efd --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml @@ -0,0 +1,19 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- define-unquoted: null +build-type: option +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +default: +- enabled-by: arm/stm32h750b-dk + value: GPIOD +- enabled-by: true + value: GPIOA +description: | + GPIO registers used for the USART2 pin configuration. +enabled-by: true +format: '{}' +links: [] +name: STM32H7_USART2_GPIO_REGS +type: build diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml index f8b410312a..e03d637e1a 100644 --- a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml +++ b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2021 embedded brains GmbH & Co. KG default: +- enabled-by: arm/stm32h750b-dk + value: ( GPIO_PIN_10 | GPIO_PIN_11 ) - enabled-by: true value: ( GPIO_PIN_8 | GPIO_PIN_9 ) description: | diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml index 806f740e66..60dbd19c4f 100644 --- a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml +++ b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2021 embedded brains GmbH & Co. KG default: +- enabled-by: arm/stm32h750b-dk + value: GPIOB - enabled-by: true value: GPIOD description: | diff --git a/spec/build/bsps/arm/stm32h7/optvariant.yml b/spec/build/bsps/arm/stm32h7/optvariant.yml index bbce5f93ee..a24f0db988 100644 --- a/spec/build/bsps/arm/stm32h7/optvariant.yml +++ b/spec/build/bsps/arm/stm32h7/optvariant.yml @@ -26,6 +26,9 @@ default: - arm/stm32h747i-disco - arm/stm32h747i-disco-m4 value: STM32H747xx +- enabled-by: + - arm/stm32h750b-dk + value: STM32H750xx - enabled-by: true value: STM32H743xx description: | |