Peter Barker
2d7123fcff
AP_HAL_ChibiOS: add and use AP_RCPROTOCOL_ENABLED
2023-05-16 09:16:37 +10:00
Peter Barker
0b127e0437
AP_HAL_ChibiOS: exclude more code based on HAL_WITH_IO_MCU
2023-02-09 17:52:10 +11:00
Andrew Tridgell
4564140745
HAL_ChibiOS: display source of RC input
...
distinguish between IOMCU, RCInput with bytes and RCInput with pulses
2022-03-28 17:09:26 +11:00
Andrew Tridgell
b46b0d61a6
HAL_ChibiOS: switch between IOMCU and RCProt rapidly
...
keep the RCProtocol decoder going when IOMCU being used, allowing for fast failover
between IOMCU RC input and uart RC input
2022-03-28 17:09:26 +11:00
Andrew Tridgell
7947494cab
HAL_ChibiOS: prevent conflicting RC input
...
when we have RC from both IOMCU and from rcprotocol (eg. from
SERIALn_PROTOCOL=23) we need to only process one of them. This
prioritises IOMCU input
2022-03-24 16:09:43 +11:00
Andrew Tridgell
638e20a0b9
HAL_ChibiOS: bring in hal.h where it is needed
2022-02-22 12:13:19 +11:00
Hwurzburg
0f2f6ccc80
AP_HAL_ChibiOS: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Andrew Tridgell
9350c78023
AP_HAL_ChibiOS: use GCS_SEND_TEXT()
2020-04-29 07:36:55 +10:00
Andrew Tridgell
c8395bb2c1
HAL_ChibiOS: use blocking semaphore for new_input()
...
this prevents a race where we continually fail to get new input
2020-01-31 11:09:07 +11:00
Andrew Tridgell
05f095f338
HAL_ChibiOS: fixed build
2020-01-31 11:09:07 +11:00
Andrew Tridgell
3fe3c8ecdc
HAL_ChibiOS: implement pulse_input_enable()
...
and cleanup use of mutexes in RC input
2020-01-31 11:09:07 +11:00
Andrew Tridgell
0aae8e13c1
AP_HAL_ChibiOS: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
2020-01-19 20:19:30 +11:00
Andrew Tridgell
6447cc2519
HAL_ChibiOS: support receiver RSSI
2020-01-02 09:52:57 +11:00
Mirko Denecke
b84dcd483d
AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces
2019-10-21 08:01:56 +11:00
Andrew Tridgell
83872c23e5
HAL_ChibiOS: fixed AP_Periph build
2019-09-06 08:51:45 +10:00
Andrew Tridgell
c841b39ea2
HAL_ChibiOS: switch to AP::RC() for AP_RCProtocol
2019-09-06 08:51:45 +10:00
Tom Pittenger
548a579f18
AP_HAL_ChibiOS: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
Andrew Tridgell
7168a0297a
HAL_ChibiOS: display RC protocol for iocmu
2018-11-07 07:35:45 +11:00
Andrew Tridgell
a69f66eadd
HAL_ChibiOS: ensure RCIN sigbuf has even number of words
...
ObjectBuffer rounds up by 1, leaving an odd number of words, which
caused DSM RC input corruption
2018-11-07 07:35:45 +11:00
Andrew Tridgell
56203204cc
HAL_ChibiOS: fixed build of bootloaders
2018-11-07 07:35:45 +11:00
Andrew Tridgell
b950b83eea
HAL_ChibiOS: fixed build with EICU RC input
2018-11-07 07:35:45 +11:00
Andrew Tridgell
5dd0086698
HAL_ChibiOS: make SoftSigReader considerably more efficient
...
this reduces interrupt latency on the F100, which allows us to use all
RC input protocols on the pulse based decoder, allowing for more
flexibility in RC input protocols
2018-11-07 07:35:45 +11:00
Andrew Tridgell
dbc05f787b
HAL_ChibiOS: display decoded RC protocol
2018-11-07 07:35:45 +11:00
Andrew Tridgell
3ab1cd4808
HAL_ChibiOS: fixed build
2018-11-07 07:35:45 +11:00
Eugene Shamaev
032c5ab707
AP_HAL_ChibiOS: Binding update for DSM
2018-11-07 07:35:45 +11:00
Andrew Tridgell
49ce9d02b1
HAL_ChibiOS: ensure RC in channels are bounded
2018-11-02 22:52:25 +11:00
Michael du Breuil
593da25a7a
AP_HAL_ChibiOS: Remove RC overrides
2018-06-05 09:51:09 +10:00
Eugene Shamaev
4ab2ff8c81
AP_HAL_ChibiOS: HAL_RCINPUT_WITH_AP_RADIO definition
2018-05-22 08:35:01 +09:00
Michael du Breuil
72a4846f40
AP_HAL_ChibiOS: Remove set_overrides() method
2018-05-11 12:13:39 +01:00
Alexander Malishev
03d88b01be
HAL_ChibiOS: added support for interrupt based rcin parsing
2018-04-24 08:03:46 +10:00
Andrew Tridgell
e4ce2f532b
HAL_ChibiOS: make smaller builds possible
...
this allows for much smaller builds when you disable a lot of
options. This is part of an effort to create a bootloader of less than
16k using ChibiOS
2018-04-12 11:50:44 +10:00
Andrew Tridgell
f2df171fdd
HAL_ChibiOS: fixed DSM input on fmuv4
2018-04-10 17:22:21 +10:00
Andrew Tridgell
ab748034a2
HAL_ChibiOS: removed RC inversion logic
...
not needed any more
2018-01-20 17:40:07 +11:00
bugobliterator
7db19cfae0
HAL_ChibiOS: use separate parameter for detect timeout
2018-01-20 17:40:07 +11:00
bugobliterator
02c7513f83
HAL_ChibiOS: add invert method and fix width measurement
2018-01-20 17:40:07 +11:00
Andrew Tridgell
ccb85c2707
HAL_ChibiOS: fixed fmuv3 build with no ICU
2018-01-20 17:40:07 +11:00
Andrew Tridgell
7a4f429b85
HAL_ChibiOS: don't adjust buffer size for protocol
...
its all about IRQ latency, not IRQ rate
2018-01-20 17:40:07 +11:00
bugobliterator
eeea2c9961
HAL_ChibiOS: use software signal reader for RCInput if available
2018-01-20 17:40:07 +11:00
bugobliterator
445ba6ed39
HAL_ChibiOS: update ppm to use Extended ICU driver
2018-01-20 17:40:07 +11:00
Andrew Tridgell
f14a847b97
HAL_ChibiOS: rename classes to remove 'Chibi'
...
it is redundent as all classes are in ChibiOS namespace, and makes the
code harder to read
2018-01-15 11:46:02 +11:00
Andrew Tridgell
daa9eec836
HAL_ChibiOS: auto-configure timer channels
...
allow for one marked PPMIN for input
2018-01-15 11:46:02 +11:00
Andrew Tridgell
6dbab450a5
Hal_Chibios: use AP_BoardConfig::io_enabled()
2018-01-15 11:46:02 +11:00
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
2018-01-15 11:46:02 +11:00