Commit Graph

6202 Commits

Author SHA1 Message Date
Pat Hickey
2e32ec3013 AP_HAL_AVR GPIO: rename Arduino to be AVR 2012-12-20 14:51:30 +11:00
Pat Hickey
17b951c45b AP_HAL_AVR Scheduler: rename Arduino to be AVR 2012-12-20 14:51:30 +11:00
Pat Hickey
b2c44d8a81 AP_HAL: move AP_Semaphore to be part of the HAL 2012-12-20 14:51:30 +11:00
Pat Hickey
5f48193ea0 AP_HAL_AVR analog in example: use new constant for board vcc, and vcc not vdd 2012-12-20 14:51:30 +11:00
Pat Hickey
0c3e59a307 AP_HAL_AVR: AnalogIn channels respect pins, obey NONE input, all common
* there's no need for separate APM1/APM2 classes, so that was eliminated
* single class only has special member for vcc. all others created by
  channel interface.
2012-12-20 14:51:30 +11:00
Pat Hickey
f4b5ef9fad AP_HAL AnalogIn: gets constants for BOARD_VCC and NONE 2012-12-20 14:51:30 +11:00
Pat Hickey
b7c4cc20ac GPIO: optimized read, write, and mode for DigitalSource objects 2012-12-20 14:51:30 +11:00
Pat Hickey
054f35e33d AP_Camera: ported to AP_HAL 2012-12-20 14:51:30 +11:00
Pat Hickey
f935f1ae31 AP_InertialNav: did my best at a meaningful test sketch
* the existing test sketch was just the InertialSensor test
2012-12-20 14:51:30 +11:00
Pat Hickey
af4806666f AP_InertialNav: ported to AP_HAL 2012-12-20 14:51:30 +11:00
Pat Hickey
c393374d4c AP_OpticalFlow: ported to AP_HAL
* 78 wide
* remove SPI.h, SPI3.h, and FastSerial.h dependencies (though not objects)
* gotta totally refactor HAL SPI driver to fix the rest
2012-12-20 14:51:30 +11:00
Pat Hickey
a38ce8962e AP_Rangefinder: ported to AP_HAL. Only officially supports MaxsonarXL. 2012-12-20 14:51:30 +11:00
Pat Hickey
47f555feac AP_HAL_AVR: I2CDriver increments lockup count on any error
tridge made these changes to the "I2c" lib in a3589f2956
2012-12-20 14:51:30 +11:00
Pat Hickey
93f6267334 AP_HAL_AVR: create ArduCopterLibs test sketch
* used to make sure all ArduCopter deps build
2012-12-20 14:51:30 +11:00
Pat Hickey
c1114168e4 AP_Baro tests rebase fixups 2012-12-20 14:51:29 +11:00
Pat Hickey
e787b5ccd9 AP_Buffer: ported to AP_HAL 2012-12-20 14:51:29 +11:00
Pat Hickey
c9541d3b00 AP_HAL: added begin_atomic and end_atomic to scheduler 2012-12-20 14:51:29 +11:00
Pat Hickey
197a685923 AP_Semaphore: ported to AP_HAL
* improved readability of test output
2012-12-20 14:51:29 +11:00
Pat Hickey
f490f2432d Arduino.mk: norelax.inoflag will disable -Wl,--relax on a per sketch basis
* Some weird avr-ld bug that hits on 4.6.2 Fedora. Didn't have time to
  investigate further.
2012-12-20 14:51:29 +11:00
Pat Hickey
9bf69d4e0d AP_AHRS: port to AP_HAL 2012-12-20 14:51:29 +11:00
Pat Hickey
6cc231ae7d AP_Mount: ported to AP_HAL
I do not have the hardware required to test this
2012-12-20 14:51:29 +11:00
Pat Hickey
eefb0f4515 APM_OBC: translate to AP_HAL, make trivial test sketch to test build 2012-12-20 14:51:29 +11:00
Pat Hickey
3b1150d857 AP_Menu: ported to AP_HAL 2012-12-20 14:51:29 +11:00
Pat Hickey
ec53515648 AP_Param: eeprom translated to use AP_HAL. No unit tests available! 2012-12-20 14:51:29 +11:00
Pat Hickey
87c55f68c2 AP_HAL_AVR Storage: conform to new API 2012-12-20 14:51:29 +11:00
Pat Hickey
7908e41416 AP_HAL Storage: use a int type rather than pointer type for location 2012-12-20 14:51:29 +11:00
Andrew Tridgell
c4d9b5e328 AP_HAL_PX4: added stdio.h 2012-12-20 14:51:29 +11:00
Andrew Tridgell
2669c33476 AP_HAL_PX4: added main program as include 2012-12-20 14:51:29 +11:00
Andrew Tridgell
28353cd683 AP_Progmem: check for PX4FMU_BUILD explicitly 2012-12-20 14:51:29 +11:00
Andrew Tridgell
3a2e138994 AP_Common: no c++ magic for PX4 build 2012-12-20 14:51:28 +11:00
Pat Hickey
be00b2f681 AP_HAL_PX4: brief disclaimer 2012-12-20 14:51:28 +11:00
Andrew Tridgell
c5221c34a5 HAL_AVR: don't auto build PX4 stuff yet 2012-12-20 14:51:28 +11:00
Pat Hickey
64a79f3598 AP_HAL_PX4: Stub Console implemented 2012-12-20 14:51:28 +11:00
Pat Hickey
166eff180d AP_Progmem Identity: switch to straight typedef of prog_char_t to char 2012-12-20 14:51:28 +11:00
Pat Hickey
9f69254c00 AP_Progmem: identity to use regular strings as PSTRs 2012-12-20 14:51:28 +11:00
Andrew Tridgell
e9d41312ca HAL_AVR: automatically find tests to build 2012-12-20 14:51:28 +11:00
Pat Hickey
2d363e0683 AP_HAL_PX4: trivial console header 2012-12-20 14:51:28 +11:00
Pat Hickey
a4f1f6a5db AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR 2012-12-20 14:51:28 +11:00
Pat Hickey
a399851ca2 AP_HAL: Depend on AP_Progmem rather than AP_Common to provide pstr 2012-12-20 14:51:28 +11:00
Pat Hickey
5c738810e2 AP_Progmem created: progmem macros per specific platform
* derived from AP_Common
2012-12-20 14:51:28 +11:00
Pat Hickey
a2f97ac7c7 AP_Common.cpp: Delete empty cpp file 2012-12-20 14:51:28 +11:00
Pat Hickey
f58935d1e7 AP_Common c++ lib: eliminate freeMemory and displayMemory
* also, no more error message in pure virtual call
2012-12-20 14:51:28 +11:00
Pat Hickey
9f9c183a4d remove AP_Vector.h as deprecated 2012-12-20 14:51:28 +11:00
Pat Hickey
925223341d remove AP_Var: deprecated 2012-12-20 14:51:28 +11:00
Pat Hickey
488fb9750b remove AP_MetaClass as deprecated 2012-12-20 14:51:27 +11:00
Pat Hickey
d50d0682e9 remove APO library: deprecated 2012-12-20 14:51:27 +11:00
Pat Hickey
68ee5fa0f4 AP HAL Readme: updated for changes to scheduler 2012-12-20 14:51:27 +11:00
Pat Hickey
668caa4a2e Fix calls to AP_HAL::Scheduler::register_timer_process 2012-12-20 14:51:27 +11:00
Pat Hickey
bae7e4b88e AP_HAL Scheduler: simplify register_timer_process, min time for delay cb 2012-12-20 14:51:27 +11:00
Pat Hickey
6a59ad143e AP_Curve: made into its own library 2012-12-20 14:51:27 +11:00