Ardupilot2/APMrover2
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
..
APM_Config.h Rover: major restructuring 2013-02-08 09:21:22 +11:00
APMrover2.cpp AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
capabilities.cpp Rover: init vehicle capabilities 2015-08-01 09:35:46 +09:00
commands_logic.cpp Rover: send home position when home is set or get-home msg received 2015-10-03 12:56:21 +09:00
commands_process.cpp Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
commands.cpp Rover: send home position when home is set or get-home msg received 2015-10-03 12:56:21 +09:00
compat.cpp Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
compat.h Rover: coversion to class now complete 2015-05-21 07:48:48 +10:00
config.h Rover: fix for HAL_SITL rename 2015-05-05 09:45:57 +10:00
control_modes.cpp Rover: Merged a bug fix from Plane. 2015-07-22 21:27:36 +10:00
createTags APMrover v2.0 - tested on Traxxas Monster Jam Grinder XL-5 3602 2012-04-30 09:17:14 +02:00
defines.h Rover: removed NOINLINE define 2015-05-21 09:35:40 +10:00
events.cpp Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
failsafe.cpp Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
GCS_Mavlink.cpp Rover: add no break comment to avoid compiler warning 2015-10-03 12:56:26 +09:00
Log.cpp Rover: log mode in dataflash callback 2015-09-17 20:14:35 +10:00
make.inc Rover: Fixed a build issue on Windows with the new RPM library 2015-10-11 16:00:58 +09:00
Makefile Rover Makefile: don't include targets.mk directly (included by apm.mk) 2013-01-09 13:15:53 -08:00
navigation.cpp Rover: update severity values 2015-08-25 14:04:40 +09:00
nocore.inoflag Rover: added nocore.inoflag 2012-12-20 14:52:35 +11:00
Parameters.cpp Rover: added EK2_ parameters and EKF2 instance 2015-09-23 11:56:27 +10:00
Parameters.h Rover: added EK2_ parameters and EKF2 instance 2015-09-23 11:56:27 +10:00
Parameters.pde Rover: added blank Parameters.pde for MissionPlanner 2015-05-30 15:21:29 +09:00
radio.cpp Rover: Using a new method to check for throttle failsafe 2015-09-09 10:28:02 +10:00
release-notes.txt Rover: Release 2.50! 2015-06-19 14:24:05 +10:00
Rover.cpp Rover: bring rover mission callback inline with copter and plane 2015-08-19 15:26:32 +10:00
Rover.h Rover: added EK2_ parameters and EKF2 instance 2015-09-23 11:56:27 +10:00
sensors.cpp APMrover2: implement on-board compass calibration for APMrover 2015-09-03 16:59:14 +10:00
setup.cpp Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
Steering.cpp Rover: update severity values 2015-08-25 14:04:40 +09:00
system.cpp Rover: replace SKIP_GYRO_CAL with INS_GYR_CAL 2015-09-21 17:06:45 +09:00
test.cpp APMrover2: use compass get_{field,offsets}() functions 2015-10-15 19:56:04 +09:00