summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/stm32h7/optbootcore.yml
blob: 6d1a500ede715ebcb70b71e035ec35752d233deb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
  - arm/stm32h747i-disco
- value: CORE_CM4
  variants:
  - arm/stm32h757i-eval-m4
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>