diff options
author | Karel Gardas <karel@functional.vision> | 2022-05-16 13:01:39 +0200 |
---|---|---|
committer | Karel Gardas <karel@functional.vision> | 2022-05-27 20:17:32 +0200 |
commit | 124912445c7585d1ff5e9aea11210dac4fbbbd91 (patch) | |
tree | d532480ae564922adca8a6e55e9286535eb080fd /spec/build/bsps/arm/stm32h7/optbootcore.yml | |
parent | bsps/stm32h7: add board C files for stm32h757i-eval BSP (diff) | |
download | rtems-124912445c7585d1ff5e9aea11210dac4fbbbd91.tar.bz2 |
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
Diffstat (limited to 'spec/build/bsps/arm/stm32h7/optbootcore.yml')
-rw-r--r-- | spec/build/bsps/arm/stm32h7/optbootcore.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/stm32h7/optbootcore.yml b/spec/build/bsps/arm/stm32h7/optbootcore.yml new file mode 100644 index 0000000000..53ffb496cc --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/optbootcore.yml @@ -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> |