From 6f2aa8ad36e3aaffc9fa2cb8c744b04da7339ee2 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 13 Jul 2021 20:47:08 -1000 Subject: build: Use BSP family for options - Optionally add support for 'default-by-family' to allow option to be set by a family and so all related BSPs Close #4468 --- spec/build/bsps/arm/stm32h7/abi.yml | 1 + spec/build/bsps/arm/stm32h7/optenmpualign.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart4.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart5.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart7.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart8.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart9.yml | 1 + spec/build/bsps/arm/stm32h7/optenusart1.yml | 1 + spec/build/bsps/arm/stm32h7/optenusart10.yml | 1 + spec/build/bsps/arm/stm32h7/optenusart2.yml | 1 + spec/build/bsps/arm/stm32h7/optenusart3.yml | 1 + spec/build/bsps/arm/stm32h7/optenusart6.yml | 1 + spec/build/bsps/arm/stm32h7/opthse.yml | 1 + spec/build/bsps/arm/stm32h7/optlinkcmds.yml | 1 + spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemflashsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemitcmsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemnandsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemnorsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemnullsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemquadspisz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsram1sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsram2sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsram3sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsram4sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml | 1 + spec/build/bsps/arm/stm32h7/optprintkinstance.yml | 1 + spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml | 1 + spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml | 1 + spec/build/bsps/arm/stm32h7/optvariant.yml | 1 + 34 files changed, 34 insertions(+) (limited to 'spec/build/bsps/arm/stm32h7') diff --git a/spec/build/bsps/arm/stm32h7/abi.yml b/spec/build/bsps/arm/stm32h7/abi.yml index 697220b1b1..7100ac7484 100644 --- a/spec/build/bsps/arm/stm32h7/abi.yml +++ b/spec/build/bsps/arm/stm32h7/abi.yml @@ -8,6 +8,7 @@ default: - -mcpu=cortex-m7 - -mfpu=fpv5-d16 - -mfloat-abi=hard +default-by-family: [] default-by-variant: [] enabled-by: true links: [] diff --git a/spec/build/bsps/arm/stm32h7/optenmpualign.yml b/spec/build/bsps/arm/stm32h7/optenmpualign.yml index 4005485940..c68c356317 100644 --- a/spec/build/bsps/arm/stm32h7/optenmpualign.yml +++ b/spec/build/bsps/arm/stm32h7/optenmpualign.yml @@ -4,6 +4,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenuart4.yml b/spec/build/bsps/arm/stm32h7/optenuart4.yml index cd5fd31370..643a6ec2ed 100644 --- a/spec/build/bsps/arm/stm32h7/optenuart4.yml +++ b/spec/build/bsps/arm/stm32h7/optenuart4.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenuart5.yml b/spec/build/bsps/arm/stm32h7/optenuart5.yml index f124d72113..969f6629fa 100644 --- a/spec/build/bsps/arm/stm32h7/optenuart5.yml +++ b/spec/build/bsps/arm/stm32h7/optenuart5.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenuart7.yml b/spec/build/bsps/arm/stm32h7/optenuart7.yml index 7310cef713..7ebc63a725 100644 --- a/spec/build/bsps/arm/stm32h7/optenuart7.yml +++ b/spec/build/bsps/arm/stm32h7/optenuart7.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenuart8.yml b/spec/build/bsps/arm/stm32h7/optenuart8.yml index f0407f6510..f1120cd92c 100644 --- a/spec/build/bsps/arm/stm32h7/optenuart8.yml +++ b/spec/build/bsps/arm/stm32h7/optenuart8.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenuart9.yml b/spec/build/bsps/arm/stm32h7/optenuart9.yml index 1a3ef49459..5f65afa1a3 100644 --- a/spec/build/bsps/arm/stm32h7/optenuart9.yml +++ b/spec/build/bsps/arm/stm32h7/optenuart9.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenusart1.yml b/spec/build/bsps/arm/stm32h7/optenusart1.yml index a4f478f753..924ed772e8 100644 --- a/spec/build/bsps/arm/stm32h7/optenusart1.yml +++ b/spec/build/bsps/arm/stm32h7/optenusart1.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenusart10.yml b/spec/build/bsps/arm/stm32h7/optenusart10.yml index 659d1a96b6..4aaa3dae3c 100644 --- a/spec/build/bsps/arm/stm32h7/optenusart10.yml +++ b/spec/build/bsps/arm/stm32h7/optenusart10.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenusart2.yml b/spec/build/bsps/arm/stm32h7/optenusart2.yml index 0bbec65278..aa8209e41f 100644 --- a/spec/build/bsps/arm/stm32h7/optenusart2.yml +++ b/spec/build/bsps/arm/stm32h7/optenusart2.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenusart3.yml b/spec/build/bsps/arm/stm32h7/optenusart3.yml index 09e673ff7f..6779f16ab0 100644 --- a/spec/build/bsps/arm/stm32h7/optenusart3.yml +++ b/spec/build/bsps/arm/stm32h7/optenusart3.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optenusart6.yml b/spec/build/bsps/arm/stm32h7/optenusart6.yml index e6524fd40d..b0fa53612d 100644 --- a/spec/build/bsps/arm/stm32h7/optenusart6.yml +++ b/spec/build/bsps/arm/stm32h7/optenusart6.yml @@ -3,6 +3,7 @@ actions: - define-condition: null build-type: option default: true +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/opthse.yml b/spec/build/bsps/arm/stm32h7/opthse.yml index 51366932e1..005a7f6b41 100644 --- a/spec/build/bsps/arm/stm32h7/opthse.yml +++ b/spec/build/bsps/arm/stm32h7/opthse.yml @@ -5,6 +5,7 @@ actions: - format-and-define: null build-type: option default: 25000000 +default-by-family: [] default-by-variant: - value: 8000000 variants: diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml index d0bb033cef..8fb24c12bd 100644 --- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml +++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: linkcmds.sdram +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml b/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml index e7c1a2bdf6..cb9afda0fc 100644 --- a/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x20000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemflashsz.yml b/spec/build/bsps/arm/stm32h7/optmemflashsz.yml index 627543f9a8..7c53e0e990 100644 --- a/spec/build/bsps/arm/stm32h7/optmemflashsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemflashsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x200000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml b/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml index 610de5f074..c448a78d96 100644 --- a/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0xff00 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemnandsz.yml b/spec/build/bsps/arm/stm32h7/optmemnandsz.yml index 0bfbcc4623..79aef1d4e4 100644 --- a/spec/build/bsps/arm/stm32h7/optmemnandsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemnandsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemnorsz.yml b/spec/build/bsps/arm/stm32h7/optmemnorsz.yml index d41d4e9e49..3410d8f2b2 100644 --- a/spec/build/bsps/arm/stm32h7/optmemnorsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemnorsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemnullsz.yml b/spec/build/bsps/arm/stm32h7/optmemnullsz.yml index a31169adb1..00165b6aea 100644 --- a/spec/build/bsps/arm/stm32h7/optmemnullsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemnullsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 256 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml b/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml index 0a1bd610e7..c649802770 100644 --- a/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x20000000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml index 11e5f943e0..59f2ef9907 100644 --- a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml index 11228ddb92..a1ca1fe77d 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 33554432 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml index 5a1ffdcace..b906415bb5 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml index 01e9dbe1cc..37736815df 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x20000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml index 2a4890730a..312c90db05 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x20000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml index eca335fd81..2415d7f64c 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x8000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml index cda2e722a4..abc17076f1 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x10000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml index 9cb05540b7..c5dc5beaea 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x80000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml b/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml index f1c5f60bac..d21da67b9c 100644 --- a/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml +++ b/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x1000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml index 6eaf4a2011..979ebf0b21 100644 --- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml +++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml @@ -3,6 +3,7 @@ actions: - define-unquoted: null build-type: option default: stm32h7_usart1_instance +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml index 87aad00ee0..fd11201dfd 100644 --- a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml +++ b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml @@ -3,6 +3,7 @@ actions: - define-unquoted: null build-type: option default: ( GPIO_PIN_8 | GPIO_PIN_9 ) +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml index 7168a00111..2d9480435b 100644 --- a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml +++ b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml @@ -3,6 +3,7 @@ actions: - define-unquoted: null build-type: option default: GPIOD +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/stm32h7/optvariant.yml b/spec/build/bsps/arm/stm32h7/optvariant.yml index 586fa2052b..55e77611a0 100644 --- a/spec/build/bsps/arm/stm32h7/optvariant.yml +++ b/spec/build/bsps/arm/stm32h7/optvariant.yml @@ -13,6 +13,7 @@ actions: conf.define_cond(value, True) build-type: option default: STM32H743xx +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' -- cgit v1.2.3