Andrew Tridgell
5bb57a31f7
AP_Baro: split into frontend/backend
...
this allows for support of multiple sensors on a board
2015-01-09 11:50:54 +11:00
Andrew Tridgell
baa5aeea81
HAL_FLYMAPLE: fixed example build
2014-08-13 21:48:35 +10:00
Andrew Tridgell
d40d0f6aec
AP_HAL: removed old storage type read/write functions
...
not needed any more
2014-08-13 18:46:44 +10:00
Andrew Tridgell
02dec5634f
AP_HAL: fixed example builds
2014-07-25 17:52:01 +10:00
Andrew Tridgell
563f516f6b
HAL_FLYMAPLE: rename flash_stm32.c to .cpp
...
this avoids a compiler hang on Ubuntu when not building for flymaple
2014-07-14 09:44:36 +10:00
Andrew Tridgell
805d79debe
HAL_FLYMAPLE: fix for HAL_GPIO_*
2014-06-02 10:42:35 +10:00
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
2014-03-25 14:39:41 +11:00
Andrew Tridgell
d36989f6a1
AP_HAL: fixed example build
2014-03-19 12:14:06 +09:00
Mike McCauley
c90d3ff59e
Flymaple: RCOUtput disable_ch() now supports disabling outputs
2014-03-08 21:55:57 +11:00
Andrew Tridgell
836f473db2
HAL_FLYMAPLE: no uartE
2014-02-26 08:19:20 +11:00
Mike McCauley
bd768a0c0c
AP_HAL_FLYMAPLE RCOutput.cpp: enable_ch no longer resets servo
...
FLYMAPLERCOutput::enable_ch incorrectly reset the servo to 0, which caused
servo twitching once per second when RC_Channel_aux::enable_aux_servos
enabled each channel.
2014-02-18 09:25:08 +11:00
Mike McCauley
4f9f87a8c6
AP_HAL_FLYMAPLE: Add notes to FlymaplePortingNotes.txt re GPS selection.
2014-02-17 05:56:37 +11:00
Mike McCauley
54a0b04c12
AP_HAL_FLYMAPLE: RCInput detects stale input readings better. Update test
...
code.
2014-02-17 05:56:37 +11:00
Mike McCauley
f1533aa350
AP_HAL_FLYAPLE: update documentation in FlymaplePortingNotes.txt
2014-02-17 05:56:37 +11:00
Mike McCauley
81791bdc43
AP_HAL_FLYMAPLE: Added documentation about alternative orientations to FlymaplePortingNotes.txt
2014-02-17 05:56:37 +11:00
Mike McCauley
95bea052d2
AP_HAL_FLYMAPLE: update documentation in FlymaplePortingNotes.txt
2014-02-17 05:56:37 +11:00
Mike McCauley
4dc33c8de8
AP_HAL_FLYMAPLE: updated FlymaplePortingNotes.txt
2014-02-17 05:56:37 +11:00
Andrew Tridgell
1849db7074
AP_HAL: added board_voltage AnalogIn method
...
this makes it easier to get the board voltage from any library,
without having to allocate another analog channel object
2014-02-14 21:25:38 +11:00
Andrew Tridgell
87cc95dd7f
AP_HAL: removed unused enable_mask and disable_mask functions
2014-01-16 17:16:17 +11:00
Andrew Tridgell
ea649e036b
AP_HAL: added HAL_CPU_CLASS define for selecting algorithms
...
this will make it easier to select the appropiate level of algorithm
for a CPU
2013-12-31 10:28:37 +11:00
Andrew Tridgell
e321ad65f4
AP_HAL: fixed example build
2013-12-17 11:51:37 +11:00
Andrew Tridgell
0848412479
HAL_FLYMAPLE: added uartD
2013-11-23 19:29:22 +11:00
Andrew Tridgell
b62501aaea
HAL_FLYMAPLE: removed incorrect Makefile target
2013-11-23 18:50:55 +11:00
Randy Mackay
443023bbbf
AP_HAL: add ignore_errors to I2C driver
2013-10-21 20:01:32 +09:00
Mike McCauley
c524a7c717
AP_HAL_FLYMAPLE: remove obsolete debugging code from RCInput
2013-10-14 11:34:47 +10:00
Mike McCauley
6f04e5f2e7
AP_HAL_FLYMAPLE: RCInput now more robust in the face of connect/disconnect of
...
a PPM-SUM source
Also remove some left over debug code.
2013-10-14 11:34:47 +10:00
Mike McCauley
ce1a8fb831
AP_HAL_FLYMAPLE: Added new example test sketch RCInput.pde
2013-10-14 11:34:47 +10:00
Mike McCauley
3226a81611
AP_HAL_FLYMAPLE: Improvements to RCInput
...
More reasonable sync pulse times, add input filter to prevent false triggering
2013-10-14 11:34:47 +10:00
Mike McCauley
0920d9ac49
AP_HAL_FLYMAPLE: UARTDriver Use new libmaple TX buffers.
...
Caution: requires latest libmaple from
git@github.com:mikemccauley/libmaple.git
2013-10-14 11:34:47 +10:00
Mike McCauley
38512e3756
AP_HAL_FLYMAPLE: I2CDriver improvements to interrupt hygiene
2013-10-14 11:34:47 +10:00
Mike McCauley
8e5a9b06fb
AP_HAL_FLYMAPLE: Fix example Scheduler.pde fo recent changes to API
2013-10-14 11:34:47 +10:00
Mike McCauley
bc55a2844c
AP_HAL_FLYMAPLE: Fix example Scheduler.pde to compile with recent changes to
...
scheduler API
2013-10-14 11:34:47 +10:00
Andrew Tridgell
fc7f3c8aa6
AP_HAL: fixed example build
2013-10-10 09:54:20 +11:00
Mike McCauley
84edbb335a
AP_HAL_FLYMAPLE: UARTDriver now uses the new libmaple tx ring buffers
...
This requires the libmaple fork at
https://github.com/mikemccauley/libmaple.git
which includes low level support for buffered usart transmits
2013-10-07 08:41:53 +11:00
Mike McCauley
11317dcec4
AP_HAL_FLYMAPLE: FlymaplePortingNotes.txt improvements to install/build
...
documentation.
2013-10-07 08:41:53 +11:00
Mike McCauley
7f9d4a155f
AP_HAL_FLYMAPLE: UARTDriver begin now honours txS == 0 which means no change
2013-10-07 08:41:52 +11:00
Mike McCauley
60921f7dfa
AP_HAL_FLYMAPLE: Improved libmaple version detection
2013-10-07 08:41:52 +11:00
Andrew Tridgell
1518217952
HAL_FLYMAPLE: removed unused backend console code
2013-10-05 22:03:58 +10:00
Andrew Tridgell
21f0086647
HAL_FLYMAPLE: removed Console driver
2013-10-05 18:32:46 +10:00
Mike McCauley
72aa8a18ab
AP_HAL_FLYMAPLE: update documentation in FlymaplePortingNotes.txt
...
Added info about where to get my patched version of libmaple.
2013-10-04 07:21:56 +10:00
Mike McCauley
6b003ae551
AP_HAL_FLYMAPLE: Fixed problem with tx buffer that caused slow parameter
...
delivery
2013-10-04 07:21:56 +10:00
Mike McCauley
39f9b7bbc9
AP_HAL_FLYMAPLE: Add test for correct version of libmaple
...
Patched version of libmapl is required for Flymaple I2Driver to work.
2013-10-04 07:21:55 +10:00
Mike McCauley
1f7272978c
AP_HAL_FLYMAPLE: fix compile error in example AP_Baro_BMP085_test.pde
...
due to need for new library AP_Notify
2013-10-04 07:21:55 +10:00
Mike McCauley
2d3c86ee80
AP_HAL_FLYMAPLE: I2CDriver now uses low level hardware i2c librray from
...
libmaple
CAUTION: requires a patched version of libmaple, to be provided by mikem.
2013-10-04 07:21:55 +10:00
Mike McCauley
68a7cac9a2
AP_HAL_FLYMAPLE: Improvements to FLYMAPLEStorage
...
Fix a number of bugs and expand storage to an emulated 4kb, as needed by AP.
2013-10-04 07:21:55 +10:00
Mike McCauley
29707f4401
AP_HAL_FLYMAPLE: Modest speed improvements to I2CDriver
...
Can now achieve about 285kHz using bitbanging.
Proper low-level hardware I2C support has been written and stashed,
but has to wait until a bug in libmaple is addressed.
Ref: http://forums.leaflabs.com/topic.php?id=13458
2013-10-04 07:21:55 +10:00
Andrew Tridgell
9624821493
HAL_FLYMAPLE: implement a dummy buffered write
2013-10-03 12:21:08 +10:00
Andrew Tridgell
c27a61f210
HAL_FLYMAPLE: updates for AP_HAL::MemberProc
2013-09-30 20:56:15 +10:00
Andrew Tridgell
1d820761be
HAL_FLYMAPLE: updates for new scheduler API
2013-09-28 21:24:02 +10:00
Mike McCauley
db2b7ed4e3
AP_HAL_FLYMAPLE: UARTDriver libmaple internal ring buffers enlarge on demand
2013-09-27 15:45:49 +10:00
Mike McCauley
adfcdca074
AP_HAL_FLYMAPLE: Sensor reading improvements
...
I2C speed increased to 400kHz
Accelerometer 8g max, Normal power, 800Hz bandwidth
Gyros: 2000 degrees/sec, 256Hz LPF, 8kHz internal sample rate
2013-09-27 15:45:47 +10:00
Mike McCauley
708c603420
AP_HAL_FLYMAPLE: UARTDriver now has correct implementation of txspace that looks at HardwareSerial ring buffer
2013-09-25 15:46:07 +10:00
Mike McCauley
06478bde52
AP_HAL_FLYMAPLE: Console is now a thin wrapper around uartA, consistent with AVR
2013-09-25 15:46:07 +10:00
Mike McCauley
b02dbca9d4
AP_InertialSensor: fix orientation of Flymaple sensors
2013-09-25 15:46:07 +10:00
Mike McCauley
4cd952446d
AP_HAL_FLYMAPLE: added documentation about safety of noInterrupts()/interrupts()
2013-09-25 15:46:07 +10:00
Mike McCauley
9bfc52d9af
HAL_FLYMAPLE: initial port to flymaple board
...
See libraries/AP_HAL_FLYMAPLE/FlymaplePortingNotes.txt
2013-09-24 13:32:50 +10:00