Commit Graph

10 Commits

Author SHA1 Message Date
Gautier Hattenberger 62646d68de Modules recommends and suggests (#3005)
Add two new items in module's dependency:
- recommends: a recommended module tells the sorting algo that if the module is found, it should be sorted accordingly. It is useful for optional dependencies, like shell or mission in some modules
- suggests: if a functionality is not provided by the user, a module can suggest a list of modules that can provide them. It is a convenient way to have "default" modules.

As a result the former autoload node is removed and replaced by suggested modules.
2023-03-07 17:14:15 +01:00
Gautier Hattenberger a4632c33ca [modules] move gps from subsystems to modules 2021-11-13 00:48:14 +01:00
Gautier Hattenberger d02ec5ba98 [modules] update modules XML for proper dependcies and tasks 2021-07-27 13:34:23 +02:00
Gautier Hattenberger 494e3f3ad9 [tests] add a compilation test node to modules (#2653)
When adding a test node to a makefile section, with required compilation
flags, include and other options, all the files (not arch dependent
files) can be compiled with a TAP compatible program, included in the
standard tests of the CI servers.
Not all module's XML files are converted, but a large part of the most
important parts are already covered. More will be added later. The
number of tested airframes (full compilation of all targets) have been
reduced to speed the CI compile time but still covers the relevant
architecture and boards.
The main benefit is that the overall coverage is already better than
before as previous test aircraft were compiling more or less the same
part of the airborne code, while this new mechanism is more efficient to
test modules not included in any config.
2021-02-08 17:24:19 +01:00
Felix Ruess 54b654a7b7 [dox] gps modules: specify dir so they get grouped with gps 2016-06-21 20:38:16 +02:00
Gautier Hattenberger 21b9d4043b [gps] remove duplicated elements (configured by common gps module) 2016-06-16 21:23:52 +02:00
Felix Ruess 2c12e96e02 [gps] separate gps module for gps_init and multi
- remove gps_init from main
- all actual gps_x implementations autoload the generic gps module
- generic GPS module has setting for multi_gps_mode
2016-06-16 14:39:55 +02:00
Felix Ruess 6bf56d7079 [gps] autoload gps_sim and gps_nps modules
from the "normal" gps modules so that you don't have to add them manually in your airframe to get the simulation running
2016-06-15 21:22:10 +02:00
Felix Ruess 6cc4d590f5 [gps] call gps_periodic_check from module 2016-06-15 21:22:09 +02:00
Felix Ruess 2374f82a98 [gps][sim] separate gps_sim and gps_nps modules 2016-06-15 21:22:09 +02:00