ardupilot/libraries/DataFlash
Caio Marcelo de Oliveira Filho 2e464a53c2 AP_HAL: make code not depend on concrete HAL implementations
The switching between different AP_HAL was happening by giving different
definitions of AP_HAL_BOARD_DRIVER, and the programs would use it to
instantiate.

A program or library code would have to explicitly include (and depend)
on the concrete implementation of the HAL, even when using it only via
interface.

The proposed change move this dependency to be link time. There is a
AP_HAL::get_HAL() function that is used by the client code. Each
implementation of HAL provides its own definition of this function,
returning the appropriate concrete instance.

Since this replaces the job of AP_HAL_BOARD_DRIVER, the definition was
removed.

The static variables for PX4 and VRBRAIN were named differently to avoid
shadowing the extern symbol 'hal'.
2015-10-21 09:16:07 +11:00
..
examples/DataFlash_test AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
DataFlash_APM1.cpp DataFlash: DFMessageWriter; ability to trickle messages out to DF 2015-09-03 09:54:55 +10:00
DataFlash_APM1.h DataFlash: DFMessageWriter; ability to trickle messages out to DF 2015-09-03 09:54:55 +10:00
DataFlash_APM2.cpp DataFlash: DFMessageWriter; ability to trickle messages out to DF 2015-09-03 09:54:55 +10:00
DataFlash_APM2.h DataFlash: DFMessageWriter; ability to trickle messages out to DF 2015-09-03 09:54:55 +10:00
DataFlash_Backend.cpp DataFlash: take log messages after putting FMTs out 2015-09-18 09:13:45 +10:00
DataFlash_Backend.h DataFlash: ensure 10% free space when initialising logging 2015-09-09 12:22:35 +10:00
DataFlash_Block.cpp DataFlash: ensure 10% free space when initialising logging 2015-09-09 12:22:35 +10:00
DataFlash_Block.h DataFlash: ensure 10% free space when initialising logging 2015-09-09 12:22:35 +10:00
DataFlash_Empty.cpp DataFlash: backend/frontend split 2015-06-26 16:02:50 +10:00
DataFlash_Empty.h DataFlash: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
DataFlash_File.cpp DataFlash: use new perf API 2015-10-20 18:16:16 +11:00
DataFlash_File.h DataFlash: use new perf API 2015-10-20 18:16:16 +11:00
DataFlash_SITL.cpp DataFlash: DFMessageWriter; ability to trickle messages out to DF 2015-09-03 09:54:55 +10:00
DataFlash_SITL.h DataFlash: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
DataFlash.cpp DataFlash: ensure 10% free space when initialising logging 2015-09-09 12:22:35 +10:00
DataFlash.h DataFlash: Log vertical position derivative output 2015-10-20 15:21:35 +11:00
DFMessageWriter.cpp DataFlash: take log messages after putting FMTs out 2015-09-18 09:13:45 +10:00
DFMessageWriter.h DataFlash: take log messages after putting FMTs out 2015-09-18 09:13:45 +10:00
LogFile.cpp DataFlash: Make EKF2 PosDownDerivative interface follow coding conventions 2015-10-20 15:21:37 +11:00