From 518d8c3763f4ab0e3cac33d643b968f5e868e9c4 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 6 Jul 2020 09:23:27 +0200 Subject: spec: Move application configuration items --- spec/if/acfg/appl-does-not-need-clock-driver.yml | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 spec/if/acfg/appl-does-not-need-clock-driver.yml (limited to 'spec/if/acfg/appl-does-not-need-clock-driver.yml') diff --git a/spec/if/acfg/appl-does-not-need-clock-driver.yml b/spec/if/acfg/appl-does-not-need-clock-driver.yml new file mode 100644 index 00000000..67a89324 --- /dev/null +++ b/spec/if/acfg/appl-does-not-need-clock-driver.yml @@ -0,0 +1,33 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +appl-config-option-type: feature +copyrights: +- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) +default: | + If this configuration option is undefined, then a Clock Driver may be + initialized during system initialization. +description: | + In case this configuration option is defined, then **no** Clock Driver is + initialized during system initialization. +enabled-by: true +index-entries: [] +interface-type: appl-config-option +links: +- role: appl-config-group-member + uid: group-devdrv +name: CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +notes: | + This configuration parameter is intended to prevent the common user error + of using the Hello World example as the baseline for an application and + leaving out a clock tick source. + + The application shall define exactly one of the following configuration options + + * :ref:`CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER`, + + * `CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER`, or + + * :ref:`CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER`, + + otherwise a compile time error in the configuration file will occur. +text: '' +type: interface -- cgit v1.2.3