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/imxrt/abi.yml | 1 + spec/build/bsps/arm/imxrt/optfsledmaemlm.yml | 1 + spec/build/bsps/arm/imxrt/optlinkcmds.yml | 1 + spec/build/bsps/arm/imxrt/optmemdtcmsz.yml | 1 + spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml | 1 + spec/build/bsps/arm/imxrt/optmemextramorigin.yml | 1 + spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml | 1 + spec/build/bsps/arm/imxrt/optmemflashivtsz.yml | 1 + spec/build/bsps/arm/imxrt/optmemflashorigin.yml | 1 + spec/build/bsps/arm/imxrt/optmemitcmsz.yml | 1 + spec/build/bsps/arm/imxrt/optmemnullsz.yml | 1 + spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml | 1 + spec/build/bsps/arm/imxrt/optmemocramsz.yml | 1 + 13 files changed, 13 insertions(+) (limited to 'spec/build/bsps/arm/imxrt') diff --git a/spec/build/bsps/arm/imxrt/abi.yml b/spec/build/bsps/arm/imxrt/abi.yml index 7a95742c36..82ab336152 100644 --- a/spec/build/bsps/arm/imxrt/abi.yml +++ b/spec/build/bsps/arm/imxrt/abi.yml @@ -11,6 +11,7 @@ default: - -mcpu=cortex-m7 - -mfpu=fpv5-d16 - -mfloat-abi=hard +default-by-family: [] default-by-variant: [] description: | ABI flags diff --git a/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml b/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml index 80c840373d..9f62abbf9c 100644 --- a/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml +++ b/spec/build/bsps/arm/imxrt/optfsledmaemlm.yml @@ -6,6 +6,7 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) default: true +default-by-family: [] default-by-variant: [] description: | Enable the minor loop mapping of the Freescale EDMA. diff --git a/spec/build/bsps/arm/imxrt/optlinkcmds.yml b/spec/build/bsps/arm/imxrt/optlinkcmds.yml index 4349ad332e..8678c32207 100644 --- a/spec/build/bsps/arm/imxrt/optlinkcmds.yml +++ b/spec/build/bsps/arm/imxrt/optlinkcmds.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: linkcmds.flexspi +default-by-family: [] default-by-variant: [] enabled-by: true format: '{}' diff --git a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml index 1bd57fac08..e3422da1e2 100644 --- a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml +++ b/spec/build/bsps/arm/imxrt/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/imxrt/optmemextramnocachesz.yml b/spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml index 8b6dba859a..9f1740626d 100644 --- a/spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml +++ b/spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 1048576 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/imxrt/optmemextramorigin.yml b/spec/build/bsps/arm/imxrt/optmemextramorigin.yml index 98350d2e2f..dedacac2f0 100644 --- a/spec/build/bsps/arm/imxrt/optmemextramorigin.yml +++ b/spec/build/bsps/arm/imxrt/optmemextramorigin.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x80000000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml b/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml index cd65a7a442..a744513e76 100644 --- a/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml +++ b/spec/build/bsps/arm/imxrt/optmemflashcfgsz.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/imxrt/optmemflashivtsz.yml b/spec/build/bsps/arm/imxrt/optmemflashivtsz.yml index d1d9516951..057c1d0ac5 100644 --- a/spec/build/bsps/arm/imxrt/optmemflashivtsz.yml +++ b/spec/build/bsps/arm/imxrt/optmemflashivtsz.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/imxrt/optmemflashorigin.yml b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml index 882ade680c..09a8235007 100644 --- a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml +++ b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml @@ -4,6 +4,7 @@ actions: - define-unquoted: IMXRT_MEMORY_FLASH_ORIGIN build-type: option default: 0x60000000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml index 7795b2becb..70a79bfc30 100644 --- a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml +++ b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x1ff00 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/imxrt/optmemnullsz.yml b/spec/build/bsps/arm/imxrt/optmemnullsz.yml index d737ef0e60..4f6075646a 100644 --- a/spec/build/bsps/arm/imxrt/optmemnullsz.yml +++ b/spec/build/bsps/arm/imxrt/optmemnullsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x100 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' diff --git a/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml b/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml index 942dd60de2..6a716b6c61 100644 --- a/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml +++ b/spec/build/bsps/arm/imxrt/optmemocramnocachesz.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/imxrt/optmemocramsz.yml b/spec/build/bsps/arm/imxrt/optmemocramsz.yml index 9e264f69be..d2ada3c7c3 100644 --- a/spec/build/bsps/arm/imxrt/optmemocramsz.yml +++ b/spec/build/bsps/arm/imxrt/optmemocramsz.yml @@ -3,6 +3,7 @@ actions: - env-assign: null build-type: option default: 0x40000 +default-by-family: [] default-by-variant: [] enabled-by: true format: '{:#010x}' -- cgit v1.2.3