Andrew Tridgell
822460ce7d
HAL_ChibiOS: fixed strdup() on ChibiOS
5 years ago
bugobliterator
8215537f99
HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used
5 years ago
bugobliterator
89d03f0243
AP_HAL_ChibiOS: implement standard realloc method
5 years ago
Andrew Tridgell
fc0b2ef920
HAL_ChibiOS: added half-duplex protection for non-inverted
...
to prevent output bytes being seen as input bytes we disable half
duplex during transmit. This was previously only done for non-inverted
UARTs. This patch enables it whether we are inverted or not. This
greatly reduces the number of bad input bytes.
5 years ago
Peter Barker
a59c3670c8
AP_HAL_ChibiOS: stash lr_thd in watchdog hardfault handler
5 years ago
Andrew Tridgell
5a4b648cf5
HAL_ChibiOS: disable flash fallback for boards with FRAM
...
this saves on flash and prevents confusing results when fram fails
5 years ago
Nick Exton
4cd39a4619
HAL_ChibiOS: improved selection of storage backend
5 years ago
Andy Piper
104dd7cd75
AP_HAL_ChibiOS: remove board subtype for OmnibusNanoV6
5 years ago
Andrew Tridgell
986ad0dc27
HAL_ChibiOS: removed unnecessary subtype defines
5 years ago
Andrew Tridgell
c3f2117590
HAL_ChibiOS: fixed R9Pilot board ID
5 years ago
Andrew Tridgell
1540cf958b
HAL_ChibiOS: improve error messages for flashing bootloader
...
send progress as statustext messages
5 years ago
Andrew Tridgell
cf7c2b1475
HAL_ChibiOS: suppress SPI timeout error for expected delay
5 years ago
Andrew Tridgell
65cd223023
HAL_ChibiOS: implement in_expected_delay()
5 years ago
Andrew Tridgell
d35fff5186
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
Peter Barker
d0edfd2c0d
AP_HAL_ChibiOS: VRUBrain-v51: reduce AP_MAX_EMBEDDED_PARAM to 1024
...
Stops us overflowing on Copter and Plane builds
5 years ago
Peter Hall
fe5779fd88
AP_HAL_ChibiOS: add support for ProfiLEDs
5 years ago
Andrew Tridgell
16f34778fc
HAL_ChibiOS: added f103-HWESC target
5 years ago
Andrew Tridgell
bca1bd2c72
HAL_ChibiOS: added f303-HWESC firmware
5 years ago
Peter Barker
1a123e5f8d
AP_HAL_ChibiOS: avoid referencing flash sector/page 22 on 1MB boards
5 years ago
Peter Barker
2d2fdf8bd0
AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol
5 years ago
Andrew Tridgell
ccc7d48c20
HAL_ChibiOS: reserve plenty of DMA memory for luminousbee4
5 years ago
Andrew Tridgell
669b98c6df
HAL_ChibiOS: allow more than 32 WS2812 LEDs on a pin
5 years ago
Andrew Tridgell
5bfd607300
HAL_ChibiOS: added luminousbee4 flight controller
5 years ago
Peter Hall
0ca6b7cf77
AP_HAL_ChibiOS: retry neopixel until successful send
5 years ago
Andrew Tridgell
41b74ec014
HAL_ChibiOS: use DNA by default for all AP_Periph builds
...
this makes multiple sensors of the same type on the bus easier
5 years ago
Andrew Tridgell
6139860a64
HAL_ChibiOS: use default USB IDs for fmuv3
5 years ago
Andy Piper
3d0cf7e12a
AP_HAL_ChibiOS: hardware M4-Cortex and M7-Cortex (and H7) implementation of HAL FFT abstraction
...
implements an FFT engine based on the betaflight feature using ARM hardware accelerated CMSIS library
make the FFT feature optional
add dynamic gyro windows
add quinns and candans estimators and record in DSP state
disable DSP for boards with limited flash
calculate power spectrum rather than amplitude
start/analyse version of analysis to support threading
allocate memory in a specific region
constrain window size by CPU class
control inclusion of DSP based on board size
5 years ago
pkocmoud
8c764bb568
hwdef: switch to (0) DNA as the default NODEID
5 years ago
pkocmoud
8f6d2aab7a
hwdef: add mRo M10025 KITCAN
5 years ago
Andrew Tridgell
bebfef369f
HAL_ChibiOS: fixed power flags for CUAV-Nora
5 years ago
CUAVcaijie
561808ba3c
HAL_ChibiOS: Added support for CUAV Nora flight controller
5 years ago
Andrew Tridgell
a0fe1a7598
HAL_ChibiOS: produce more accurate clocks for DShot and PWM
5 years ago
Andrew Tridgell
9e0edba31d
HAL_ChibiOS: raised timer clocks to 200MHz
...
this gives more flexibility in setting up timers for DShot
5 years ago
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