paparazzi/paparazzi — pull request #829 by flixr (2014-09-09 14:59:44+00:00)
Title: [modules] baro_board as module

Since in the long run we want to move more stuff to modules and eventually also convert subsystems to modules to be more flexible and have less explicit calls in main, I started with changing the baro_board subsystem (which is actually automatically added to fixedwing and rotorcraft firmware at the moment) to a module.

So if you try to use this, you have to add the baro_board.xml module (otherwise it will warn you if your board normally has a baro onboard).

Only the microjet_lisa_m and quadrotor_lisa_mx are updated to have the baro_board module loaded right now...

This is mostly meant to have something to look at for discussion about how we should handle things like automatically loading the correct drivers according to the board that you have.

This module does basically the same as the subsystem makefile before:
a raw makefile section that needs to list all available boards with their baro options.

Maybe we can instead think of another way to have some modules automatically loaded, so we really have only one module for each baro?