Configuration Component or Configuration by Component
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Dec 6 06:28:48 UTC 2019
Hello,
I would like to use the RTEMS application configuration (confdefs.h) to
start with the RTEMS specification. The reasons are:
* At the bottom level it is quite simple, you evaluate C preprocessor
defines and generated data structure initializations from it.
* There is a great potential for high level test specifications, e.g.
test minimum, default, maximum, etc. values.
* The documentation of individual items is well structured:
https://docs.rtems.org/branches/master/c-user/configuring_a_system.html
However, the structure is enforced by copy and paste. The documentation
can be included in the specification items and *.rst files can be
generated from them. This decouples the specification and the presentation.
I am not sure if the application configuration should be done as a
separate component, e.g. gather all items in
spec/config/*.yml
or if it should be done inside each component, e.g. add
RTEMS-*-CFG*.yml
items to each manager?
Independent of the organization, each configuration item will have a
dedicated specification "type" attribute value, e.g. "configuration".
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list