mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
bsps/stm32h7: add configuration and enable build of stm32h757i-eval BSP
This is minimalist configuration for the stm32h757i-eval BSP provided here. The only general enhancement worth mention is boot core configuration which is needed here as this is the first dual-core board supported by stm32h7 BSP family and we need to choose boot core in order to get C files compiling well. Sponsored-By: Precidata
This commit is contained in:
21
spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
Normal file
21
spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
arch: arm
|
||||
bsp: stm32h757i-eval
|
||||
build-type: bsp
|
||||
cflags: []
|
||||
copyrights:
|
||||
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
|
||||
cppflags: []
|
||||
enabled-by: true
|
||||
family: stm32h7
|
||||
includes: []
|
||||
install: []
|
||||
links:
|
||||
- role: build-dependency
|
||||
uid: grp
|
||||
source:
|
||||
- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-clk.c
|
||||
- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-osc.c
|
||||
- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-per.c
|
||||
- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/system_stm32h7xx.c
|
||||
type: build
|
||||
@@ -83,6 +83,8 @@ links:
|
||||
uid: optprintkinstance
|
||||
- role: build-dependency
|
||||
uid: optpwrsupply
|
||||
- role: build-dependency
|
||||
uid: optbootcore
|
||||
- role: build-dependency
|
||||
uid: optusart1gpiopins
|
||||
- role: build-dependency
|
||||
|
||||
23
spec/build/bsps/arm/stm32h7/optbootcore.yml
Normal file
23
spec/build/bsps/arm/stm32h7/optbootcore.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
actions:
|
||||
- get-string: null
|
||||
- script: |
|
||||
cores = ["CORE_CM7", "CORE_CM4", "BOOT_CORE_DEFINE_NOT_NEEDED"]
|
||||
if value not in cores:
|
||||
conf.fatal("STM32H7 boot core '{}' is not one of {}".format(value, cores))
|
||||
conf.define_cond(value, True)
|
||||
build-type: option
|
||||
default: BOOT_CORE_DEFINE_NOT_NEEDED
|
||||
default-by-variant:
|
||||
- value: CORE_CM7
|
||||
variants:
|
||||
- arm/stm32h757i-eval
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
name: STM32H7_BOOT_CORE
|
||||
description: |
|
||||
Select the boot core. Possible values are CORE_CM7 and CORE_CM4
|
||||
type: build
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
copyrights:
|
||||
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
|
||||
@@ -7,6 +7,7 @@ default-by-variant:
|
||||
- value: linkcmds.flash
|
||||
variants:
|
||||
- arm/stm32h7b3i-dk
|
||||
- arm/stm32h757i-eval
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
|
||||
@@ -7,6 +7,7 @@ default-by-variant:
|
||||
- value: PWR_DIRECT_SMPS_SUPPLY
|
||||
variants:
|
||||
- arm/stm32h7b3i-dk
|
||||
- arm/stm32h757i-eval
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
|
||||
@@ -7,6 +7,9 @@ default-by-variant:
|
||||
- value: GPIOA
|
||||
variants:
|
||||
- arm/stm32h7b3i-dk
|
||||
- value: GPIOB
|
||||
variants:
|
||||
- arm/stm32h757i-eval
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
|
||||
@@ -17,6 +17,9 @@ default-by-variant:
|
||||
- value: STM32H7B3xxQ
|
||||
variants:
|
||||
- arm/stm32h7b3i-dk
|
||||
- value: STM32H757xx
|
||||
variants:
|
||||
- arm/stm32h757i-eval
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
|
||||
Reference in New Issue
Block a user