Randy Mackay
b6e86eee49
AP_IOMCU: valid_GPIO_pin checks if pin configured for GPIO
3 years ago
Andrew Tridgell
4c5fc1f5ef
AP_IOMCU: removed include of ch.h from headers
3 years ago
TunaLobster
db6383eee7
AP_IOMCU: fix ADC scaling on IOMCU
3 years ago
Iampete1
ba58cb86db
AP_IOMCU: support digital write
3 years ago
Iampete1
c1a2379504
AP_IOMCU: remove safe PWM
3 years ago
Andrew Tridgell
45d82887b3
AP_IOMCU: fixed a safety reset case for IOMCU reset
...
if IOMCU resets in flight when user had disabled the safety switch
using the button then the IOCMU force safety code was not called
4 years ago
Andrew Tridgell
9d87645c6e
AP_IOMCU: fixed event handling bug in IOMCU code
...
if a a message send fails to IOMCU then we were discarding all
currently pending non-recurring events. This means that states like
oneshot enable would be lost if the IOMCU reset.
We now re-trigger all events that have not yet been handled
4 years ago
Andrew Tridgell
017f005737
AP_IOMCU: pass supported RC protocols to IOMCU
5 years ago
Andrew Tridgell
ba779c65ad
AP_IOMCU: added a health check based on status read errors
...
if we have more than 1 in 128 read status requests failing then mark
IOMCU unhealthy
5 years ago
Andrew Tridgell
63c199a600
AP_IOMCU: support RSSI from receiver
5 years ago
Andrew Tridgell
a11f2b5cfb
AP_IOCMU: added singleton in AP namespace
5 years ago
Andrew Tridgell
ef1aaa6db0
AP_IOMCU: fixes for modified AP_ROMFS API
...
need to use AP_ROMFS::free()
5 years ago
Mirko Denecke
12c9e50aef
AP_IOMCU: remove unnecessary tabs and whitespaces
5 years ago
Mark Whitehorn
0a6ae60c89
AP_IOMCU: fix IO fast channel mask
5 years ago
Andrew Tridgell
8ef2046f7b
AP_IOMCU: use blocking writes to uart
...
this avoids the issue of arming failing due to a non-zero protocol count
6 years ago
Andrew Tridgell
454717cf6f
AP_IOMCU: cleanup IO protocol and add logging
...
this cleans up the IOMCU protocol structures now we don't need to be
compatible with the old nuttx based protocol and adds logging of IOMCU
errors
6 years ago
Andrew Tridgell
6c50feaead
AP_IOMCU: improved handling of IOMCU reset
...
use IOMCU timestamp to detect reset
6 years ago
Andrew Tridgell
af54e8620e
AP_IOMCU: prevent startup sync causing an internal error
6 years ago
Andrew Tridgell
c7be7d7343
AP_IOMCU: cope with IOMCU reset
6 years ago
Andrew Tridgell
41264568ba
AP_IOMCU: added brushed motor feature bit in protocol
6 years ago
Andrew Tridgell
5771e0a90e
AP_IOMCU: added access to RC protocol name
6 years ago
Andrew Tridgell
a8d91a24b6
AP_IOMCU: fixed compat with nuttx firmwares
...
this allows older firmwares to change the IO firmware back to a nuttx
based firmware
6 years ago
Eugene Shamaev
4d64b86f87
AP_IOMCU: Add binding procedure for DSMx
6 years ago
Andrew Tridgell
beff16abe6
AP_IOMCU: implement manual_rc_mask
6 years ago
Andrew Tridgell
e70a98fa9a
AP_IOMCU: support elevon and vtail mixing in failsafe
6 years ago
Andrew Tridgell
191f72d2e6
AP_IOMCU: added mixing structure to protocol
6 years ago
Andrew Tridgell
cab5199da8
AP_IOMCU: fixed a race in event trigger on startup
...
this fixes the issue with initial safety option state, and with
initial safety mask
6 years ago
Andrew Tridgell
ed48c24600
AP_IOMCU: added shutdown method
...
this cleans up the reboot process
6 years ago
Andrew Tridgell
037a455784
AP_IOMCU: moved protocol structures to a common header
6 years ago
Andrew Tridgell
f22d5f0d40
AP_IOMCU: implement failsafe PWM
7 years ago
Andrew Tridgell
135e37e1f4
AP_IOMCU: cope with IOMCU reset in flight
...
this copes with IOMCU reset when we have safety forced off
7 years ago
Andrew Tridgell
e200de1f57
AP_IOMCU: use compressed interface for IO fw upload
7 years ago
Andrew Tridgell
0e29bcc4ab
AP_IOMCU: use thread_create() API
7 years ago
Andrew Tridgell
7be1125084
AP_IOMCU: implement safety mask and safety pwm
7 years ago
Andrew Tridgell
214fb096eb
AP_IOMCU: added healthy API for use in arming checks
7 years ago
Andrew Tridgell
09e3a3cb78
AP_IOMCU: added IO firmware upload
7 years ago
Andrew Tridgell
f22964a350
AP_IOMCU: implement BRD_SAFETYOPTION
7 years ago
Andrew Tridgell
93fa74518a
AP_IOMCU: limit rate to IOMCU to 500Hz
...
when running with very high loop rates we can saturate the IO link
7 years ago
Andrew Tridgell
30903f2acb
AP_IOMCU: support oneshot mode
7 years ago
Andrew Tridgell
ff3b0ec1bd
AP_IOMCU: added set_default_rate method
7 years ago
Andrew Tridgell
d1fd843539
AP_IOMCU: support IMU heater
7 years ago
Andrew Tridgell
1568f578d7
AP_IOMCU: added retries on event failure
7 years ago
Andrew Tridgell
9b9b4a169e
AP_IOMCU: fixed build on systems without IO MCU
7 years ago
Andrew Tridgell
71a47303b4
AP_IOMCU: support servo voltage and rssi
7 years ago
Andrew Tridgell
bb3ed9d6a3
AP_IOMCU: added APIs for RC input
7 years ago
Andrew Tridgell
ceeade5822
AP_IOMCU: added periodic reading of RC input
7 years ago
Andrew Tridgell
06322da4e2
AP_IOMCU: added setting of output rates
7 years ago
Andrew Tridgell
39f60adcd7
AP_IOMCU: initial implementation of PWM and safety
7 years ago
Andrew Tridgell
0c01ae1223
AP_IOMCU: started on MCU IO library
7 years ago