- support depends, conflicts and provides nodes, all under a 'dep' node
- autoload are kept for now and are not moved yet
- modules are updated for new dep format
- it is now required that module's name and filename are the same
When using a different datalink buffer than dl_buffer, the callback
functions from the modules must use the buffer address passed as a
parameter, otherwise there is no guarentee that the correct buffer will
be parsed.
Co-authored-by: pprz <xp31@free.fr>
Start working on #940
This replaces
```xml
<depend require="foo|bar" conflict="baz"/>
```
with
```xml
<depends>foo,bar</depends>
<conflicts>baz</conflicts>
```
and now allows to specify OR dependencies with | (pipe) similaro to Debian depends:
```xml
<depends>foo,bar,this|that</depends>
```
which would depend on: foo AND bar AND (this OR that)
- remove unneeded dc_buffer* variables
- replace SENSOR_SYNC_SEND with DC_SHOT_SYNC_SEND which defaults to TRUE
- add dc_distance function
- use dc_gps_count in distance mode
- cleanup some variables
While FOO_I2C_DEVICE is less ambiguous, FOO_I2C_DEV was choosen since most modules already use that.
Since this is a user facing config, rather keep existing configs working...
modules developpers can provide
- a description of the module
- a list of the configuration variables and flags (configure and define)
- a list of sections to add to the airframe file