Andrew Tridgell
c8395bb2c1
HAL_ChibiOS: use blocking semaphore for new_input()
...
this prevents a race where we continually fail to get new input
5 years ago
Andrew Tridgell
05f095f338
HAL_ChibiOS: fixed build
5 years ago
Andrew Tridgell
3fe3c8ecdc
HAL_ChibiOS: implement pulse_input_enable()
...
and cleanup use of mutexes in RC input
5 years ago
Andrew Tridgell
9c0cf0871b
HAL_ChibiOS: added disable() API for pulse input
5 years ago
Andrew Tridgell
27c114828b
HAL_ChibiOS: fixed bitmask error on storage erase
5 years ago
Peter Barker
bff97eb150
AP_HAL_ChibiOS: assert that storage size is an even number of storage-lines
5 years ago
Andrew Tridgell
a7b6887f44
HAL_ChibiOS: added a f303-Universal build target
5 years ago
Andrew Tridgell
7a812a5516
HAL_ChibiOS: use cortex m7 instructions on F7/H7
5 years ago
Peter Barker
73c32f403b
AP_HAL_ChibiOS: do not compile EKF2 for MatekF405-Wing
5 years ago
Peter Barker
e189b17efb
AP_HAL_ChibiOS: remove unused AnalogIn fields
5 years ago
Andrew Tridgell
a8501a91c7
HAL_ChibiOS: fixed handling of write mutex
...
this fixes an issue with log download on USB and mavlink throughput
caused lock contention. The issue was introduced with the changes for
unbuffered writes recently (does not affect stable releases)
5 years ago
Andrew Tridgell
982cff0695
AP_HAL_ChibiOS: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
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
5 years ago
Andrew Tridgell
7ce771734c
HAL_ChibiOS: fixed fw build size for several boards
5 years ago
Andrew Tridgell
320a703afc
HAL_ChibiOS: fixed UART DMA config for ALT() pins
5 years ago
Andrew Tridgell
0cc6d4a70b
HAL_ChibiOS: added support for FrSky R9 flight controller
5 years ago
Andrew Tridgell
f7a65afa67
HAL_ChibiOS: allow for baro with no arguments
5 years ago
Andrew Tridgell
83d3488eb2
HAL_ChibiOS: fixed ZubaxGNSS board ID
5 years ago
Michel Pastor
6fa09c05c2
HAL_ChibiOS: added SuccexF4 board
5 years ago
Andrew Tridgell
ce4120e803
HAL_ChibiOS: disable parachute and sprayer on MatekF405-Wing
...
fixes build size
5 years ago
Andrew Tridgell
a935b764f4
HAL_ChibiOS: fixed UART DMA issue on F4
...
disabling in rx irq callback should only be done on F3
5 years ago
Andrew Tridgell
a220b37bf8
HAL_ChibiOS: use 4k bouncebuffer for sdcard
...
match AP_Logger IO size
5 years ago
Andrew Tridgell
2b7bffa906
HAL_ChibiOS: adjust dma reserve allocation
...
use larger target and allow for smaller allocation
5 years ago
Andrew Tridgell
9554103418
HAL_ChibiOS: don't extend alloc of iomcu uart
5 years ago
Andrew Tridgell
56985f8c33
HAL_ChibiOS: added checking on bouncebuffer allocation
...
fail operations if DMA bouncebuffer alloc fails
5 years ago
Andrew Tridgell
a7b83b1e26
HAL_ChibiOS: allow for unbuffered writes without DMA
5 years ago
CUAVcaijie
7e89591e90
HAL_ChibiOS: Modify the default orientation of the compass
5 years ago
Andrew Tridgell
fced7d78fc
HAL_ChibiOS: fixed clock src for I2C4 on H7
5 years ago
Andrew Tridgell
43172bdd57
HAL_ChibiOS: switch non-composite USB ID
...
use newly allocated 0x1209/0x5740
5 years ago
Andrew Tridgell
793b867706
HAL_ChibiOS: switched to new USB VID for dual-CDC boards
5 years ago
Andrew Tridgell
bb5c1d07e1
HAL_ChibiOS: implement new UART option bits
5 years ago
Andrew Tridgell
ab0f1a8887
HAL_ChibiOS: added max uarts check
5 years ago
Andrew Tridgell
0d31e614ed
HAL_ChibiOS: added ALT(1) configs for more boards
...
this allows more boards to use the FPort protocol
5 years ago
Andrew Tridgell
61f8e6f0d1
HAL_ChibiOS: added alt config for USART6 on MatekF765-Wing
5 years ago
Andrew Tridgell
296a4cb086
HAL_ChibiOS: re-format and fix chibios_hwdef.py for flake8
5 years ago
Andrew Tridgell
9c2b5a05bd
HAL_ChibiOS: fixed python3 error
5 years ago
Andrew Tridgell
c5df48faa7
HAL_ChibiOS: break out make_line() for PAL_LINE defines
5 years ago
Andrew Tridgell
66dd5925cf
HAL_ChibiOS: added support for alternative pin configs
5 years ago
Andrew Tridgell
06a9baeb9b
HAL_ChibiOS: adjust fmuv3 SPI priority
...
fixes an issue with SPI4 assignment
5 years ago
Andrew Tridgell
a30e637484
HAL_ChibiOS: fixed bug in UART pin assignment
...
this fixes an issue with the setting of pullup/pulldown on UARTs. It
also adds enforcement of DMA assignment for DMA required peripherals
5 years ago
Andrew Tridgell
8ffd1050eb
HAL_ChibiOS: fixed build on STM32F3
5 years ago
Andrew Tridgell
b1ca7380be
HAL_ChibiOS: re-implement half-duplex using HDSEL switching
...
this makes half-duplex more reliable on UARTs with pullups or level
shifters
5 years ago
Andrew Tridgell
faf34970e1
HAL_ChibiOS: automatically control pullup/pulldown on inverted UARTs
...
this makes setup of sport telemetry much easier
5 years ago
Andrew Tridgell
58e915155d
HAL_ChibiOS: fixed panic to output error every 500ms
5 years ago
Andrew Tridgell
8fdbb88827
HAL_ChibiOS: implement erase() method on Storage in HAL_ChibiOS
5 years ago
Andrew Tridgell
e9dded98ce
HAL_ChibiOS: enable UART6 for use as RC input on MatekF765-Wing
5 years ago
Andrew Tridgell
6447cc2519
HAL_ChibiOS: support receiver RSSI
5 years ago
Andrew Tridgell
f68b9bafd8
HAL_ChibiOS: fixed H7 I2C timing
...
we were running the clock at too low speed. This affected the SSD1306 display
5 years ago
Andy Piper
6f979d5f7f
AP_HAL_ChibiOS: define OSD_ENABLED as 1 rather than ENABLED
5 years ago
CUAVcaijie
ccd54409f3
HAL_ChibiOS: Adding SPI devices for CUAV_GPS
5 years ago