XML Config Porting Guide
This porting guide should help you to quickly adjust an existing XML config file (from FlockLab 1) such that it is compatible with FlockLab 2.
Limitations
- Certain elements have been removed to simplify the configuration and reduce the implementation effort. One of the resulting limitations is that services such as power profiling can only be started once per test and observer. On FlockLab 1, it was possible to have several
<profConf>
tags to perform power profiling at multiple points in time during a test.
Removed or changed configuration options
-
<gpioTracingConf>
:<pinConf>
has been replaced with a simple<pins>
tag. Capture edge and mode can't be specified anymore. -
<powerProfilingConf>
:<profConf>
has been removed. Instead, duration, offset and rate can be specified with the new tags<duration>
[s],<offset>
[s] and<samplingRate>
[Hz]. Note that instead of specifying a sampling divider, you now have to specify the actual sampling rate. - All callback related XML elements have been removed.
-
<imageConf>
: the parameter<os>
has been removed. -
<serialConf>
: the parameter<mode>
has been removed. - element
<imageConf>
has been renamed to<embeddedImageConf>
-
<gpioActuationConf>
: typeperiodic
has been removed andoffset
type is now in seconds (float value)
New configuration options
- instead of listing all available observer IDs, you can now use the keyword
ALL
in the<obsIds>
tags -
<powerProfilingConf>
: the tag<fileFormat>
can be used to specify the file format. -
<generalConf>
: a new (optional)<custom>
tag has been added. -
<debugConf>
: new service on FlockLab 2.