Andrew Tridgell
875184f774
HAL_ChibiOS: fixed CubeSolo hwdef.dat
5 years ago
Andrew Tridgell
31f7b32fab
HAL_ChibiOS: resync for 4.0 update
5 years ago
Andrew Tridgell
64557413b8
HAL_ChibiOS: switch non-composite USB ID
...
use newly allocated 0x1209/0x5740
5 years ago
Andrew Tridgell
10416f92c4
HAL_ChibiOS: set CS pins high while in bootloader
...
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
5 years ago
Andrew Tridgell
8088923162
HAL_ChibiOS: improve error messages for flashing bootloader
...
send progress as statustext messages
5 years ago
Andrew Tridgell
2215fbd7a4
HAL_ChibiOS: suppress SPI timeout error for expected delay
5 years ago
Andrew Tridgell
8c49690acf
HAL_ChibiOS: implement in_expected_delay()
5 years ago
Andrew Tridgell
b0e7251832
HAL_ChibiOS: fixed race condition in storage write
...
we could mark a line as clean when it should be dirty if we lose a
race condition between storage thread and writer
5 years ago
Andrew Tridgell
ede5cabbf5
HAL_ChibiOS: save 3k of flash on MatekF405-Wing
...
disable SMBUS and fuel battery monitors
5 years ago
bugobliterator
9073f0ffb4
HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used
5 years ago
bugobliterator
a9ea7ca3dc
AP_HAL_ChibiOS: implement standard realloc method
5 years ago
Andrew Tridgell
fe8398fe0d
HAL_ChibiOS: use default USB IDs for fmuv3
5 years ago
Matt Lawrence
e23e798eb9
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
Peter Hall
7dacfcc198
AP_HAL_ChibiOS: add support for ProfiLEDs
5 years ago
Andrew Tridgell
59bf162572
HAL_ChibiOS: reserve plenty of DMA memory for luminousbee4
5 years ago
Andrew Tridgell
b219ee453c
HAL_ChibiOS: allow more than 32 WS2812 LEDs on a pin
5 years ago
Andrew Tridgell
e26860bd09
HAL_ChibiOS: added luminousbee4 flight controller
5 years ago
Peter Barker
b9804be01c
AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol
5 years ago
Andrew Tridgell
43c8efd820
HAL_ChibiOS: switched to new USB VID for dual-CDC boards
5 years ago
Andrew Tridgell
2ed21b3be1
HAL_ChibiOS: fixed default fast sampling on CubeOrange and Durandal
5 years ago
Andrew Tridgell
6d8482bc2e
HAL_ChibiOS: produce more accurate clocks for DShot and PWM
5 years ago
Andrew Tridgell
ca1053a28c
HAL_ChibiOS: raised timer clocks to 200MHz
...
this gives more flexibility in setting up timers for DShot
5 years ago
Andrew Tridgell
7eb106ea07
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
Randy Mackay
95ec629923
AP_HAL: add RCOutput::get_output_mode_banner
5 years ago
Andrew Tridgell
77865e9f78
HAL_ChibiOS: fixed spektrum RC input on Pixracer
...
RCININT is inverted compared to RCIN, so need to enable SBUS_INV pin
5 years ago
Henry Wurzburg
f7cbdb4520
HWDEF: Speedybeef4 change I2C internal mask to 0 to allow probing ext baros
5 years ago
Andrew Tridgell
6489623499
HAL_ChibiOS: fixed skyviper-v2450 build
5 years ago
Andrew Tridgell
aff77c86d6
HAL_ChibiOS: fixed bitmask error on storage erase
5 years ago
Andrew Tridgell
b5435d6a24
HAL_ChibiOS: use recursive mutex for RCInput
5 years ago
Andrew Tridgell
50a6d63101
HAL_ChibiOS: implement pulse_input_enable()
...
and cleanup use of mutexes in RC input
5 years ago
Andrew Tridgell
89d0562e9d
HAL_ChibiOS: added disable() API for pulse input
5 years ago
Andrew Tridgell
925ce44a6c
HAL_ChibiOS: use 4k bouncebuffer for sdcard
...
match AP_Logger IO size
5 years ago
Andrew Tridgell
15d45397c6
HAL_ChibiOS: adjust dma reserve allocation
...
use larger target and allow for smaller allocation
5 years ago
Andrew Tridgell
26ced02cd1
HAL_ChibiOS: don't extend alloc of iomcu uart
5 years ago
Andrew Tridgell
6477180e87
HAL_ChibiOS: added checking on bouncebuffer allocation
...
fail operations if DMA bouncebuffer alloc fails
5 years ago
Andrew Tridgell
30e51c9f64
HAL_ChibiOS: scale uart rx buffer size with baudrate
...
this ensures we have enough buffer space for a RTK GPS, as well as for
high speed comms with a companion computer
5 years ago
Andrew Tridgell
c1f18bc90d
HAL_ChibiOS: fixed clock src for I2C4 on H7
5 years ago
Andrew Tridgell
a1b1ef4947
HAL_ChibiOS: fixed H7 I2C timing
...
we were running the clock at too low speed. This affected the SSD1306 display
# Conflicts:
# libraries/AP_HAL_ChibiOS/I2CDevice.cpp
5 years ago
Andrew Tridgell
e4eda95fea
HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000
5 years ago
Andrew Tridgell
67cc9b1677
HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
...
not needed any more
5 years ago
Andrew Tridgell
fa69ac6458
HAL_ChibiOS: automatically set AP_FEATURE_SBUS_OUT
5 years ago
Andrew Tridgell
ee9aadf091
HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS
5 years ago
Andrew Tridgell
20ea63e480
HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
...
these do not work, possibly a datasheet bug
5 years ago
Andrew Tridgell
093d411ec7
HAL_ChibiOS: switch MatekF765 to timer 12
...
fixes PWM 5 and 6
5 years ago
Andrew Tridgell
9c6cd15980
HAL_ChibiOS: ensure bootloader flash is multiple of 32 bytes
5 years ago
Andrew Tridgell
cac1cc0d9b
HAL_ChibiOS: account for empty uarts in uart count
...
this fixes uart count on MatekF405-Wing
5 years ago
Matt Lawrence
886153abf5
Frame_Params: Fix Solo params for copter 4
5 years ago
Andrew Tridgell
2e0351e74a
HAL_ChibiOS: lower gains on CubyOrange and Yellow heater
...
this should reduce the chance of baro oscillation due to rapid change
in heater temperature
5 years ago
Andrew Tridgell
cfc531be8d
HAL_ChibiOS: fixed build of SPI clock test
5 years ago
Andrew Tridgell
35dd28ec88
HAL_ChibiOS: fixed handling of 16bit timer wrap
...
this fixes #12948
5 years ago