Ardupilot2/ArduPlane
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
..
altitude.cpp Plane: add some safety to detect bad lidar readings 2015-09-16 14:24:44 +10:00
APM_Config.h Plane: added HIL_MODE parameter 2015-03-13 22:52:56 +11:00
APM_Config.h.reference Plane: cleanup HIL defines 2014-02-15 05:29:46 +11:00
ArduPlane.cpp Plane: added RPM logging 2015-09-24 20:58:18 +10:00
arming_checks.cpp Plane: add ahrs health pre-arm check 2015-10-16 13:50:59 +09:00
Attitude.cpp Plane: allow for higher roll limits on takeoff 2015-09-17 15:35:37 +10:00
capabilities.cpp Plane: init vehicle capabilities 2015-08-05 16:08:49 +09:00
commands_logic.cpp Plane: send home position when home is set or get-home msg received 2015-10-03 12:56:27 +09:00
commands_process.cpp Plane: convert from .pde to .cpp files 2015-05-21 07:48:52 +10:00
commands.cpp Plane: send home position when home is set or get-home msg received 2015-10-03 12:56:27 +09:00
config.h Plane: re-enable geofencing on APM2 2015-07-30 11:04:31 +10:00
control_modes.cpp Plane: update severities 2015-08-28 10:04:35 +10:00
createTags imported ArduPlane from ArduPilotMega svn 2011-09-09 11:29:39 +10:00
defines.h Plane: reworked is_flying 2015-08-23 10:34:18 +10:00
events.cpp Plane: update severities 2015-08-28 10:04:35 +10:00
failsafe.cpp Plane: require 5 channels to run failsafe passthrough 2015-09-07 09:16:14 +10:00
GCS_Mavlink.cpp Plane: add no break comment to suppress compiler warning 2015-10-03 12:56:30 +09:00
geofence.cpp Plane: update severities 2015-08-28 10:04:35 +10:00
is_flying.cpp Plane: added time for flying in any mode 2015-09-09 09:14:59 +10:00
landing.cpp Plane: add some safety to detect bad lidar readings 2015-09-16 14:24:44 +10:00
Log.cpp Plane: log flight_stage 2015-09-28 18:18:09 +10:00
make.inc Plane: added RPM logging 2015-09-24 20:58:18 +10:00
Makefile Plane: cleanup cruft in Makefile 2013-10-13 21:41:01 +11:00
navigation.cpp Plane: added local millis() and micros() to reduce code size a bit 2015-05-21 07:48:53 +10:00
nocore.inoflag ArduPlane: Ported to AP_HAL 2012-12-20 14:51:36 +11:00
Parameters.cpp Plane: added RPM logging 2015-09-24 20:58:18 +10:00
Parameters.h Plane: added RPM logging 2015-09-24 20:58:18 +10:00
Parameters.pde Plane: added blank Parameters.pde for MissionPlanner 2015-05-30 15:21:33 +09:00
Plane.cpp AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
Plane.h Plane: add ahrs health pre-arm check 2015-10-16 13:50:59 +09:00
px4_mixer.cpp Plane: ensure throttle reverse is obeyed in all states 2015-09-14 09:42:20 +10:00
radio.cpp Plane: ensure throttle reverse is obeyed in all states 2015-09-14 09:42:20 +10:00
release-notes.txt Plane: prepare for 3.4.0 release 2015-09-24 10:08:27 +10:00
sensors.cpp Plane: added RPM logging 2015-09-24 20:58:18 +10:00
setup.cpp Plane: convert from .pde to .cpp files 2015-05-21 07:48:52 +10:00
system.cpp Plane: added RPM logging 2015-09-24 20:58:18 +10:00
takeoff.cpp Plane: allow for higher roll limits on takeoff 2015-09-17 15:35:37 +10:00
test.cpp ArduPlane: use compass get_{field,offsets}() functions 2015-10-15 19:56:06 +09:00