Commit Graph

2647 Commits

Author SHA1 Message Date
Andrew Tridgell
393455cdbb RangeFinder: fixed example build 2012-12-20 14:52:36 +11:00
Andrew Tridgell
b06e072c87 AP_InertialSensor: fixed example build 2012-12-20 14:52:36 +11:00
Andrew Tridgell
c15eb97c8d AP_Baro: fixed example build 2012-12-20 14:52:36 +11:00
Andrew Tridgell
bd2a733a6b HAL_Empty: allow example build for other backends 2012-12-20 14:52:36 +11:00
Andrew Tridgell
8beaec61a8 AP_GPS: fixed build for new syntax 2012-12-20 14:52:36 +11:00
Pat Hickey
eb530b86e8 move Arduino.mk to /mk/Arduino.mk 2012-12-20 14:52:35 +11:00
Andrew Tridgell
44f860e102 InertialSensor: fixed some compiler warnings 2012-12-20 14:52:35 +11:00
Andrew Tridgell
fc66f5594f AHRS: allow AHRS test to build with SITL 2012-12-20 14:52:34 +11:00
Andrew Tridgell
7ecf8981b9 SITL: added dummy SPI and make RCInput 50Hz 2012-12-20 14:52:34 +11:00
Andrew Tridgell
e020694c03 SITL: fixed build of apm1/apm2 target 2012-12-20 14:52:34 +11:00
Andrew Tridgell
4cff98dcae AP_HAL: added AP_HAL_BOARD_DRIVER define
this makes example sketches easier to read
2012-12-20 14:52:33 +11:00
Andrew Tridgell
abbe37be37 SITL: added emulated airspeed sensor on a pin 2012-12-20 14:52:33 +11:00
Andrew Tridgell
46f7c9e92b SITL: added basic analogin implementation 2012-12-20 14:52:33 +11:00
Andrew Tridgell
472b45bc2a SITL: fixed use of local printf() method in UART driver 2012-12-20 14:52:33 +11:00
Andrew Tridgell
7be507948f SITL: added SITL_State::loop_hook()
this prevents us using so much CPU time, and ensures stdout is flushed
2012-12-20 14:52:33 +11:00
Andrew Tridgell
69bebbcaf8 SITL: removed old SITL code 2012-12-20 14:52:33 +11:00
Andrew Tridgell
0c9d37e2ee SITL: added RCInput and RCOutput 2012-12-20 14:52:33 +11:00
Andrew Tridgell
28f0ce6185 Build: use -O0 for SITL 2012-12-20 14:52:33 +11:00
Andrew Tridgell
dcc17dad94 SITL: added panic() method in scheduler 2012-12-20 14:52:33 +11:00
Andrew Tridgell
475496cee2 Revert "Arduino.mk: use target variables rather than recursive make for apm1, apm2.."
This reverts commit fcd58cc1d7892bb8b45db75c35e1bdccaa2d47bb.

still doesn't work ...
2012-12-20 14:52:33 +11:00
Andrew Tridgell
975506c840 Build: add debugging in SITL build 2012-12-20 14:52:33 +11:00
Andrew Tridgell
448fc6719f HAL_Empty: fixed return in dataflash 2012-12-20 14:52:33 +11:00
Andrew Tridgell
6627e7ea0e HAL_Empty: fixed I2CDriver declaration 2012-12-20 14:52:33 +11:00
Andrew Tridgell
5f7f6966af SITL: fixed GPS and UART startup 2012-12-20 14:52:32 +11:00
Andrew Tridgell
334b96b375 SITL: switched to empty driver for unimplemented backends 2012-12-20 14:52:32 +11:00
Andrew Tridgell
18db7b2efd GPS: move _port setting to init()
this is needed to avoid constructor ordering dependencies
2012-12-20 14:52:32 +11:00
Pat Hickey
107ab1a694 AP_Baro: translated to SPI transactions 2012-12-20 14:52:32 +11:00
Pat Hickey
b502732249 AP_InertialSensor: rewrite basic code for spi device transactions
* I'm not touching that DMP stuff because I'm pretty convinced it should
  instead be deprecated
2012-12-20 14:52:32 +11:00
Pat Hickey
3153105682 AP_HAL_AVR: spi transaction handle null RX properly 2012-12-20 14:52:32 +11:00
Pat Hickey
992de8c2b9 AP_ADC_ADS7844: changed to use spidevicedriver transaction 2012-12-20 14:52:32 +11:00
Pat Hickey
b43b003777 AP_ADC: fix typo in test 2012-12-20 14:52:32 +11:00
Pat Hickey
5c1e7abf0e AP_HAL_Empty: add spi driver transaction 2012-12-20 14:52:32 +11:00
Pat Hickey
4fe889c9c5 AP_HAL_AVR: Implement bulk SPI transaction 2012-12-20 14:52:32 +11:00
Pat Hickey
d2f7402243 AP_HAL: add bulk transaction to SPIDeviceDriver 2012-12-20 14:52:32 +11:00
Pat Hickey
087b1fa196 AP_HAL_AVR: AnalogIn returns new ADCSource each time a channel is requested
* fixes a bug where multiple sources created as pin -1, then change to
  appropriate pin on mavlink messages. Make treat each creation as distinct
  object.
2012-12-20 14:52:32 +11:00
Pat Hickey
d5a46ca1e3 AP_ADC: uses scheduler panic 2012-12-20 14:52:32 +11:00
Pat Hickey
d92e8045c1 AP_Baro: uses scheduler panic 2012-12-20 14:52:31 +11:00
Pat Hickey
2c2279722b AP_Baro_MS5611: use scheduler panic 2012-12-20 14:52:31 +11:00
Pat Hickey
a4f41c1d29 AP_InertialSensor: MPU6000 uses scheduler panic 2012-12-20 14:52:31 +11:00
Pat Hickey
90670cb499 AP_HAL_AVR: panic in spidevice0 2012-12-20 14:52:31 +11:00
Pat Hickey
885fc79af5 AP_HAL_Empty: add panic method to scheduler 2012-12-20 14:52:31 +11:00
Pat Hickey
9656b0ad0e AP_HAL_AVR: add panic method to scheduler 2012-12-20 14:52:31 +11:00
Pat Hickey
c86004d676 AP_HAL: Add panic method to scheduler 2012-12-20 14:52:31 +11:00
Pat Hickey
8fe3c5e5d6 Arduino.mk: use target variables rather than recursive make for apm1, apm2.. 2012-12-20 14:52:31 +11:00
Pat Hickey
76dabef7d6 AP_HAL_Empty: fix public declaration for i2cdriver 2012-12-20 14:52:31 +11:00
Pat Hickey
eda450a166 AP_HAL: I2CDriver bug fixed for pure virtual base class 2012-12-20 14:52:31 +11:00
Pat Hickey
de6f9e52b2 AP_HAL_Empty: finished up scaffolding 2012-12-20 14:52:31 +11:00
Pat Hickey
4c930b77a4 DataFlash_Empty defined 2012-12-20 14:52:31 +11:00
Pat Hickey
b7cd4312f3 AP_HAL_Empty: more scaffolding complete 2012-12-20 14:52:31 +11:00
Andrew Tridgell
7d27e420ae AP_HAL: remove unnecessary Arduino.h includes 2012-12-20 14:52:30 +11:00