ardupilot/libraries/AP_GPS
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
..
config AP_GPS: config file for Ublox M8N 2015-08-27 09:54:22 +09:00
examples AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
AP_GPS_GSOF.cpp AP_GPS_GSOF: minor tweak to avoid warning 2015-10-10 14:34:54 +09:00
AP_GPS_GSOF.h AP_GPS_GSOF: add trimble gsof driver 2015-10-06 15:00:46 +11:00
AP_GPS_MTK19.cpp AP_GPS: ensure all GPS drivers give headings as 0..360 degrees 2015-08-31 08:24:35 +10:00
AP_GPS_MTK19.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS_MTK_Common.h libraries: update license header to GPLv3 2013-08-30 13:01:39 +10:00
AP_GPS_MTK.cpp AP_GPS: ensure all GPS drivers give headings as 0..360 degrees 2015-08-31 08:24:35 +10:00
AP_GPS_MTK.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS_NMEA.cpp AP_GPS: ensure all GPS drivers give headings as 0..360 degrees 2015-08-31 08:24:35 +10:00
AP_GPS_NMEA.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS_PX4.cpp AP_GPS: ensure all GPS drivers give headings as 0..360 degrees 2015-08-31 08:24:35 +10:00
AP_GPS_PX4.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS_SBF.cpp AP_GPS_SBF: add accuracy estimates 2015-09-09 12:28:25 +10:00
AP_GPS_SBF.h AP_GPS_SBF: add accuracy estimates 2015-09-09 12:28:25 +10:00
AP_GPS_SBP.cpp AP_GPS: ensure all GPS drivers give headings as 0..360 degrees 2015-08-31 08:24:35 +10:00
AP_GPS_SBP.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS_SIRF.cpp AP_GPS: ensure all GPS drivers give headings as 0..360 degrees 2015-08-31 08:24:35 +10:00
AP_GPS_SIRF.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
AP_GPS_UBLOX.cpp AP_GPS: Use state.instance instead of trying to track instance numbers inside of the ublox driver 2015-09-23 20:42:42 -07:00
AP_GPS_UBLOX.h AP_GPS: Use state.instance instead of trying to track instance numbers inside of the ublox driver 2015-09-23 20:42:42 -07:00
AP_GPS.cpp AP_GPS: add SBF and GSOF to gps documentation 2015-10-06 15:00:46 +11:00
AP_GPS.h AP_GPS_GSOF: add trimble gsof driver 2015-10-06 15:00:46 +11:00
GPS_Backend.cpp AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
GPS_Backend.h AP_GPS: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
GPS_detect_state.h AP_GPS_GSOF: add trimble gsof driver 2015-10-06 15:00:46 +11:00