ardupilot/libraries/GCS_MAVLink
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/routing AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
include/mavlink/v1.0 GCS_MAVLink: version update after generate 2015-10-03 12:50:39 +09:00
message_definitions GCS_MAVLink: home-position message defs from upstream 2015-10-03 12:50:33 +09:00
.gitignore Updated MAVLink to 1.0.6 release. 2012-04-19 15:46:29 -04:00
GCS_Common.cpp GCS_MAVLink: use compass get_{field,offsets}() functions 2015-10-15 19:56:08 +09:00
GCS_Logs.cpp GCS_MAVLink: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00
GCS_MAVLink.cpp GCS_MAVLink: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00
GCS_MAVLink.h GCS_MAVLink: update severities and remove old enum 2015-08-28 10:04:35 +10:00
GCS_serial_control.cpp GCS_MAVLink: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00
GCS.h GCS_MAVLink: send_home and send_home_all methods 2015-10-03 12:50:42 +09:00
generate.sh GCS_MALink: improved generate.sh failure msg 2014-02-19 16:04:05 +11:00
MAVLink_routing.cpp GCS_MAVLink: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00
MAVLink_routing.h GCS_MAVLink: standardize inclusion of libaries headers 2015-08-11 16:38:25 +10:00