summaryrefslogblamecommitdiffstats
path: root/spec/build/bsps/arm/stm32h7/optbootcore.yml
blob: 1aa3cbd8e4cec8345cfb82a7dae59dbdc75504f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     


                  



                                                                                 
                  

                                                           

             
                        
                       

                 
                           
                          


                                    

                                                                 



                       
           
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
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
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
default:
- enabled-by:
  - arm/stm32h747i-disco
  - arm/stm32h757i-eval
  value: CORE_CM7
- enabled-by:
  - arm/stm32h747i-disco-m4
  - arm/stm32h757i-eval-m4
  value: CORE_CM4
- enabled-by: true
  value: BOOT_CORE_DEFINE_NOT_NEEDED
description: |
  Select the boot core. Possible values are CORE_CM7 and CORE_CM4
enabled-by: true
format: '{}'
links: []
name: STM32H7_BOOT_CORE
type: build