source: rtems/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml @ f20078a

Last change on this file since f20078a was f20078a, checked in by Sebastian Huber <sebastian.huber@…>, on 09/12/22 at 08:35:21

build: Use enabled by for defaults

Merge the "default" and "default-by-variant" attributes. Use an
"enabled-by" expression to select the default value based on the enabled
set. This makes it possible to select default values depending on other
options. For example you could choose memory settings based on whether
RTEMS_SMP is enabled or disabled.

The change was tested by comparing the output of

./waf bspdefaults

before and after the change.

  • Property mode set to 100644
File size: 401 bytes
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2actions:
3- get-integer: null
4- env-assign: null
5build-type: option
6copyrights:
7- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
8default:
9- enabled-by: true
10  value: 0x00000000
11description: |
12  Size of the QUADSPI memory in bytes.
13enabled-by: true
14format: '{:#010x}'
15links: []
16name: STM32H7_MEMORY_QUADSPI_SIZE
17type: build
Note: See TracBrowser for help on using the repository browser.