ardupilot/libraries/AP_Mount
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/trivial_AP_Mount AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
AP_Gimbal.cpp AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Gimbal.h AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_Alexmos.cpp Mount: AlexMos fix to stop crashing before init 2015-06-05 12:31:16 +09:00
AP_Mount_Alexmos.h AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_Backend.cpp Mount: remove support for do-mount-configure as command long 2015-09-06 16:01:18 +09:00
AP_Mount_Backend.h Mount: remove support for do-mount-configure as command long 2015-09-06 16:01:18 +09:00
AP_Mount_MAVLink.cpp AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_MAVLink.h AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_Servo.cpp AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_Servo.h AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_SToRM32_serial.cpp Mount: fix for STORM32 serial ver 78e and higher 2015-08-25 13:45:33 +09:00
AP_Mount_SToRM32_serial.h Mount: fix for STORM32 serial ver 78e and higher 2015-08-25 13:45:33 +09:00
AP_Mount_SToRM32.cpp AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount_SToRM32.h AP_Mount: standardize inclusion of libaries headers 2015-08-11 16:38:20 +10:00
AP_Mount.cpp Mount: add param descriptions to allow RC9 ~ RC12 inputs to be used to control gimbal 2015-09-29 16:41:51 +09:00
AP_Mount.h Mount: remove support for do-mount-configure as command long 2015-09-06 16:01:18 +09:00