Commit Graph

1235 Commits

Author SHA1 Message Date
Andrew Tridgell 12f31e328f HAL_ChibiOS: fixed dshot docs for Pixhawk4 2020-02-08 14:15:37 +11:00
Randy Mackay 76c982ced8 AP_HAL_CHibiOS: update Pixhawk4 README to 16 pwm outputs
also correct Main PWM ouput's number of groups
2020-02-08 14:14:32 +11:00
Andrew Tridgell bdef7d7158 HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal 2020-02-05 12:48:51 +11:00
Andrew Tridgell e0cd790505 HAL_ChibiOS: fixed spektrum RC input on Pixracer
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
2020-02-05 10:45:36 +11:00
Randy Mackay a71ae54d3a AP_HAL: add RCOutput::get_output_mode_banner 2020-02-04 12:23:33 +11:00
giacomo892 529f067914 HAL_ChibiOS: save more flash on SuccexF4 2020-02-02 06:02:59 +11:00
giacomo892 23a42b1914 HAL_ChibiOS: disable parachute and sprayer on SuccexF4 2020-02-02 06:02:59 +11:00
Andrew Tridgell 8b2629bfc1 HAL_ChibiOS: save 7k flash for boards close to flash limit 2020-02-01 06:58:43 +11: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 9c0cf0871b HAL_ChibiOS: added disable() API for pulse input 2020-01-31 11:09:07 +11:00
Andrew Tridgell 27c114828b HAL_ChibiOS: fixed bitmask error on storage erase 2020-01-31 11:06:29 +11:00
Peter Barker bff97eb150 AP_HAL_ChibiOS: assert that storage size is an even number of storage-lines 2020-01-30 19:53:02 +11:00
Andrew Tridgell a7b6887f44 HAL_ChibiOS: added a f303-Universal build target 2020-01-26 09:12:55 +11:00
Andrew Tridgell 7a812a5516 HAL_ChibiOS: use cortex m7 instructions on F7/H7 2020-01-25 08:50:09 +11:00
Peter Barker 73c32f403b AP_HAL_ChibiOS: do not compile EKF2 for MatekF405-Wing 2020-01-21 11:53:18 +11:00
Peter Barker e189b17efb AP_HAL_ChibiOS: remove unused AnalogIn fields 2020-01-21 10:06:18 +11:00
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)
2020-01-21 08:37:25 +11:00
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
2020-01-19 20:19:30 +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 7ce771734c HAL_ChibiOS: fixed fw build size for several boards 2020-01-19 07:24:57 +11:00
Andrew Tridgell 320a703afc HAL_ChibiOS: fixed UART DMA config for ALT() pins 2020-01-19 07:24:57 +11:00
Andrew Tridgell 0cc6d4a70b HAL_ChibiOS: added support for FrSky R9 flight controller 2020-01-18 17:00:44 +11:00
Andrew Tridgell f7a65afa67 HAL_ChibiOS: allow for baro with no arguments 2020-01-18 17:00:44 +11:00
Andrew Tridgell 83d3488eb2 HAL_ChibiOS: fixed ZubaxGNSS board ID 2020-01-18 15:44:51 +11:00
Michel Pastor 6fa09c05c2 HAL_ChibiOS: added SuccexF4 board 2020-01-18 14:54:29 +11:00
Andrew Tridgell ce4120e803 HAL_ChibiOS: disable parachute and sprayer on MatekF405-Wing
fixes build size
2020-01-18 13:48:48 +11:00
Andrew Tridgell a935b764f4 HAL_ChibiOS: fixed UART DMA issue on F4
disabling in rx irq callback should only be done on F3
2020-01-18 07:13:11 +11:00
Andrew Tridgell a220b37bf8 HAL_ChibiOS: use 4k bouncebuffer for sdcard
match AP_Logger IO size
2020-01-18 07:13:11 +11:00
Andrew Tridgell 2b7bffa906 HAL_ChibiOS: adjust dma reserve allocation
use larger target and allow for smaller allocation
2020-01-18 07:13:11 +11:00
Andrew Tridgell 9554103418 HAL_ChibiOS: don't extend alloc of iomcu uart 2020-01-18 07:13:11 +11:00
Andrew Tridgell 56985f8c33 HAL_ChibiOS: added checking on bouncebuffer allocation
fail operations if DMA bouncebuffer alloc fails
2020-01-18 07:13:11 +11:00
Andrew Tridgell a7b83b1e26 HAL_ChibiOS: allow for unbuffered writes without DMA 2020-01-16 20:36:54 +11:00
CUAVcaijie 7e89591e90 HAL_ChibiOS: Modify the default orientation of the compass 2020-01-08 07:33:51 +11:00
Andrew Tridgell fced7d78fc HAL_ChibiOS: fixed clock src for I2C4 on H7 2020-01-08 05:56:23 +11:00
Andrew Tridgell 43172bdd57 HAL_ChibiOS: switch non-composite USB ID
use newly allocated 0x1209/0x5740
2020-01-06 11:43:15 +11:00
Andrew Tridgell 793b867706 HAL_ChibiOS: switched to new USB VID for dual-CDC boards 2020-01-06 09:55:26 +11:00
Andrew Tridgell bb5c1d07e1 HAL_ChibiOS: implement new UART option bits 2020-01-03 17:32:23 +11:00
Andrew Tridgell ab0f1a8887 HAL_ChibiOS: added max uarts check 2020-01-03 17:32:23 +11:00
Andrew Tridgell 0d31e614ed HAL_ChibiOS: added ALT(1) configs for more boards
this allows more boards to use the FPort protocol
2020-01-03 17:32:23 +11:00
Andrew Tridgell 61f8e6f0d1 HAL_ChibiOS: added alt config for USART6 on MatekF765-Wing 2020-01-02 12:13:55 +11:00
Andrew Tridgell 296a4cb086 HAL_ChibiOS: re-format and fix chibios_hwdef.py for flake8 2020-01-02 09:52:57 +11:00
Andrew Tridgell 9c2b5a05bd HAL_ChibiOS: fixed python3 error 2020-01-02 09:52:57 +11:00
Andrew Tridgell c5df48faa7 HAL_ChibiOS: break out make_line() for PAL_LINE defines 2020-01-02 09:52:57 +11:00
Andrew Tridgell 66dd5925cf HAL_ChibiOS: added support for alternative pin configs 2020-01-02 09:52:57 +11:00
Andrew Tridgell 06a9baeb9b HAL_ChibiOS: adjust fmuv3 SPI priority
fixes an issue with SPI4 assignment
2020-01-02 09:52:57 +11:00
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
2020-01-02 09:52:57 +11:00
Andrew Tridgell 8ffd1050eb HAL_ChibiOS: fixed build on STM32F3 2020-01-02 09:52:57 +11:00
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
2020-01-02 09:52:57 +11:00