ardupilot/APMrover2
Caio Marcelo de Oliveira Filho ee073787c8 Rover: use millis/micros/panic functions
Instead of going through 'hal' then 'scheduler', use directly the AP_HAL
functions. Besides removing indirection that is not necessary for such
functions, this patch ends up reducing the code size in the call sites.

For example, building ArduCopter for PX4 with this change (compared to
before introduction of the functions) yields almost 3k bytes of code
size.

    # ArduCopter build before the functions (1b29a1af46)
       text	   data	    bss	    dec	    hex	filename
     895264	   2812	  62732	 960808	  ea928	/.../px4fmu-v2_APM.build/firmware.elf

    # ArduCopter build after this patch
       text	   data	    bss	    dec	    hex	filename
     892264	   2812	  62732	 957808	  e9d70	/.../px4fmu-v2_APM.build/firmware.elf

A later patch will remove the unused functions in the Schedulers.
2015-11-20 12:26:14 +09:00
..
APM_Config.h Rover: major restructuring 2013-02-08 09:21:22 +11:00
APMrover2.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
GCS_Mavlink.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
Log.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
Makefile Rover Makefile: don't include targets.mk directly (included by apm.mk) 2013-01-09 13:15:53 -08:00
Parameters.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
Parameters.h Rover: Implementation of the ARMING functionality 2015-11-11 13:39:38 +11:00
Parameters.pde Rover: added blank Parameters.pde for MissionPlanner 2015-05-30 15:21:29 +09:00
Rover.cpp Rover: bring rover mission callback inline with copter and plane 2015-08-19 15:26:32 +10:00
Rover.h Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
Steering.cpp Rover: Whitespace/formatting change ONLY for Steering.cpp 2015-11-11 13:39:39 +11:00
capabilities.cpp Rover: init vehicle capabilities 2015-08-01 09:35:46 +09:00
commands.cpp Rover: Implemented the HOME state update from Plane 2015-11-11 13:39:38 +11:00
commands_logic.cpp Rover: Implemented the HOME state update from Plane 2015-11-11 13:39:38 +11:00
commands_process.cpp Rover: Implemented the HOME state update from Plane 2015-11-11 13:39:38 +11:00
compat.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
compat.h Rover: coversion to class now complete 2015-05-21 07:48:48 +10:00
config.h APMrover2: remove check for AVR CPUs 2015-11-04 12:14:14 +11:00
control_modes.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
createTags APMrover2: don't use avr include dir for tags 2015-11-04 12:14:16 +11:00
defines.h Rover: Implementation of the ARMING functionality 2015-11-11 13:39:38 +11:00
events.cpp Rover: fixed build of .cpp files 2015-05-21 07:48:49 +10:00
failsafe.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
make.inc Rover: Implementation of the ARMING functionality 2015-11-11 13:39:38 +11:00
navigation.cpp Rover: Implemented the HOME state update from Plane 2015-11-11 13:39:38 +11:00
radio.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
release-notes.txt Rover: Release 2.50! 2015-06-19 14:24:05 +10:00
sensors.cpp Rover: use millis/micros/panic functions 2015-11-20 12:26:14 +09:00
setup.cpp Replace use of UARTDriver::printf_P() with UARTDriver::printf() 2015-10-30 14:35:25 +09:00
system.cpp Rover: Implementation of the ARMING functionality 2015-11-11 13:39:38 +11:00
test.cpp APMrover2: fix passing AP_Float to printf 2015-10-30 14:35:46 +09:00