forked from Imagelibrary/rtems
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.
19 lines
759 B
YAML
19 lines
759 B
YAML
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
|
actions:
|
|
- get-boolean: null
|
|
- define-condition: null
|
|
build-type: option
|
|
copyrights:
|
|
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
|
|
default:
|
|
- enabled-by: lm32/lm32_evr_gdbsim
|
|
value: true
|
|
- enabled-by: true
|
|
value: false
|
|
description: |
|
|
If defined, this indicates the BSP is being built to run on the lm32 simulator in GDB. This enables fast idle support which speeds up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites. It also enables a special exit and alternate printk support.
|
|
enabled-by: true
|
|
links: []
|
|
name: LM32_ON_SIMULATOR
|
|
type: build
|