Andrew Tridgell
8b93e0f57d
HAL_ChibiOS: prevent double init of USB
...
this prevented init of USB CubeBlack on Windows. Thanks to Randy for
reporting
5 years ago
Andrew Tridgell
adf17414e0
HAL_ChibiOS: fixed output string for non-DMA capable chan
...
this fixes a problem where the user requests DShot (which rquired DMA)
on an output channel which cannot allocate a DMA channel. We end up
sending normal PWM, so the string representation of the output modes
should reflect that
5 years ago
Andrew Tridgell
e8ab35a192
HAL_ChibiOS: fixed stdout in early startup bug
...
this caused a failure to boot on some boards if they tried to print
messages in early startup code before hal was initialised
thanks to @Shadowru for reporting the issue
5 years ago
Matt Lawrence
e6f32f4572
AP_HAL_ChibiOS: Fix waf --default-parameters
...
If a defaults.parm file was present in the hwdef, waf ignored the --default-parameters=xyz.parm command line argument. This will allow it to use that command line argument specified file.
5 years ago
Andrew Tridgell
12f31e328f
HAL_ChibiOS: fixed dshot docs for Pixhawk4
5 years ago
Randy Mackay
76c982ced8
AP_HAL_CHibiOS: update Pixhawk4 README to 16 pwm outputs
...
also correct Main PWM ouput's number of groups
5 years ago
Andrew Tridgell
bdef7d7158
HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal
5 years ago
Andrew Tridgell
e0cd790505
HAL_ChibiOS: fixed spektrum RC input on Pixracer
...
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
5 years ago
Randy Mackay
a71ae54d3a
AP_HAL: add RCOutput::get_output_mode_banner
5 years ago
giacomo892
529f067914
HAL_ChibiOS: save more flash on SuccexF4
5 years ago
giacomo892
23a42b1914
HAL_ChibiOS: disable parachute and sprayer on SuccexF4
5 years ago
Andrew Tridgell
8b2629bfc1
HAL_ChibiOS: save 7k flash for boards close to flash limit
5 years ago
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