Andrew Tridgell
e90bd27435
HAL_ChibiOS: fixed I2C on F103
...
we need to use open-drain, and the sign of the constant matters
5 years ago
Andrew Tridgell
6f11926dbd
HAL_ChibiOS: enable NCP5623 LED in f103-GPS
5 years ago
Siddharth Purohit
2b410479af
HAL_ChibiOS: remove unused code
5 years ago
Andrew Tridgell
b9885034b1
HAL_ChibiOS: added a f103-ADSB firmware
...
for presenting a ping ADSB device as UAVCAN
5 years ago
Andrew Tridgell
85271a8747
HAL_ChibiOS: split out f103-GPS from base f103-periph
...
this makes it easier to create more peripheral variants
5 years ago
Andrew Tridgell
b7ae12a9d3
HAL_ChibiOS: reduce max compasses to 1 on AP_Periph
5 years ago
Andrew Tridgell
97dc76732c
HAL_ChibiOS: drop mRoControlZeroF7 DPS310 clock to 5MHz
5 years ago
Henry Wurzburg
c515f4b317
AP_HAL_ChibiOS/hwdef: update KakuteF4 readme
5 years ago
Andy Piper
28b866cc8f
AP_HAL_ChibiOS: hardware definitions for Kakute F7 Mini
5 years ago
Andrew Tridgell
77bf67e15f
HAL_ChibiOS: fixed padding of neopixel bits
...
lack of padding at start caused occasional glitches in colors
displayed
5 years ago
Andrew Tridgell
15e4641e51
AP_HAL_ChibiOS: cleanup ifdefs for SLCAN enable
5 years ago
Andrew Tridgell
555f56a8af
HAL_ChibiOS: removed wait on CAN peripheral in H7
...
these wait busy loops can take a very long time, and end up causing
interrupts to be lost elsewhere in the system, causing lost bytes on
UARTs
We should not have while loops waiting on peripharals like this. If we
do need to wait for a flag to clear then it needs to be done in a low
priority thread, or we need to check for completion in a timer
CAN still seems to work with this change, but needs flight testing
5 years ago
Andrew Tridgell
47f2f1764d
HAL_ChibiOS: generate HAL_MEMORY_TOTAL_KB for each board
5 years ago
Andrew Tridgell
e3a965272c
HAL_ChibiOS: added Pixhawk1-1M
...
this is for 1M versions of the Pixhawk1. It is smaller than fmuv2 as
it only links the specific sensors needed for Pixhawk1
5 years ago
Mark Whitehorn
d8a07b6c44
HAL_ChibiOS: fix FMU fast_channel_mask
...
fix IO fast channel mask
use IOMCU chmask to only set right channels
remove unused variable
5 years ago
Andrew Tridgell
748cf39116
HAL_ChibiOS: disable DMA for RCIN on Pixracer
...
this frees up DMA for USART1_RX, which gives DMA for input over the
SERIAL5 WiFi port, which is important for applications where a
pixracer is being fed vision data over WiFi
5 years ago
Andrew Tridgell
e820219202
HAL_ChibiOS: changed optimisation of higher end boards to -O2
...
-O3 does not seem to be a win, and takes up a lot more flash
5 years ago
Peter Barker
9fb715692e
AP_HAL_ChibiOS: correct include of mavlink header for analog debug
5 years ago
Andrew Tridgell
386e7dc3e8
HAL_ChibiOS: fixed delay for OneShot125 channels
...
we were delaying output for OneShot125 by 8x as much as we need to,
which reduced our max loop rate
5 years ago
Andrew Tridgell
850892c3d9
HAL_ChibiOS: fixes from LGTM errors
5 years ago
Michael du Breuil
95bca05322
AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging
5 years ago
Andrew Tridgell
3c058851b2
HAL_ChibiOS: fixed undef for define lines
...
this fixes IMU heater enable for CubeBlack+
5 years ago
Andrew Tridgell
255e769171
HAL_ChibiOS: fixed IMU order and board ID for CubeBlack+
5 years ago
bugobliterator
e82da992c9
HAL_ChibiOS: hwdef: add hwdef for CubeBlack+
5 years ago
Andrew Tridgell
28cca004f2
HAL_ChibiOS: added default params for skyviper-journey
5 years ago
Andrew Tridgell
1dca0a16f5
HAL_ChibiOS: rename skyviper-f412 to skyviper-journey
5 years ago
Andrew Tridgell
b33afde884
HAL_ChibiOS: allow safety button on CUAV_GPS to be used for "stay in bootloader"
...
allows for recovery of bad CAN firmware
5 years ago
Andrew Tridgell
c6a9f067e2
HAL_ChibiOS: enable LEDs on CUAV_GPS
5 years ago
Andrew Tridgell
3dfe15443d
HAL_ChibiOS: fixed orientation of CUAV_GPS compass
5 years ago
Andrew Tridgell
03c1a8bfd9
HAL_ChibiOS: use safety button logic from AP_BoardConfig
5 years ago
Andrew Tridgell
0ea67943b9
HAL_ChibiOS: enable safety button on CUAV_GPS
5 years ago
Andrew Tridgell
186eedf838
HAL_ChibiOS: enable safety LED
5 years ago
Andrew Tridgell
75696997cc
HAL_ChibiOS: added buzzer support to CUAV_GPS
5 years ago
Andrew Tridgell
cbe0af2463
HAL_ChibiOS: setup for LEDs on KakuteF4
...
this makes Kopis1 display LEDs properly
5 years ago
Andrew Tridgell
f441223b55
HAL_ChibiOS: implement updated NeoPixel API
...
allow for N leds per chain, and setting separate colours per led in
each chain
5 years ago
Tom Pittenger
e3416b66dc
AP_HAL_ChibiOS: add Neopixel output type, similar to dshot
5 years ago
Andrew Tridgell
91e8752c17
HAL_ChibiOS: wrap more libc functions
...
this saves a few k of flash as it avoids linking libc versions of some
functions
5 years ago
Andrew Tridgell
3166f84954
HAL_ChibiOS: added vsnprintf wrapper
...
this allows us to use a common snprintf implementation
5 years ago
Andrew Tridgell
83872c23e5
HAL_ChibiOS: fixed AP_Periph build
6 years ago
Andrew Tridgell
fd80220d3e
HAL_ChibiOS: setup PH4-mini RCIN port by default
6 years ago
Andrew Tridgell
54649a0e4f
HAL_ChibiOS: fixed KakuteF4 define for SERIAL2
6 years ago
Andrew Tridgell
06b272705e
HAL_ChibiOS: run RCIN thread at 1kHz
...
this gives fast enough response for SBUS parsing on a UART
6 years ago
Andrew Tridgell
c841b39ea2
HAL_ChibiOS: switch to AP::RC() for AP_RCProtocol
6 years ago
Andrew Tridgell
bf2cf7834d
HAL_ChibiOS: fixed a bug in parity/stop-bit setting on STM32F7 and H7
...
and add get_options() method
6 years ago
Andrew Tridgell
ad2890dc5a
HAL_ChibiOS: added connector pinouts for PH4-mini
6 years ago
Andrew Tridgell
b344946300
HAL_ChibiOS: prevent duplicate sensors in hwdef.dat
...
throw an error on configure if there is a duplicate
6 years ago
Andrew Tridgell
2c5c8106a5
HAL_ChibiOS: removed duplicate barometer from fmuv5
6 years ago
Andrew Tridgell
708ee47c03
HAL_ChibiOS: fixed f103 rm3100
6 years ago
Andrew Tridgell
c2c8702329
HAL_ChibiOS: convert remaining boards to use COMPASS specifier
6 years ago
Andrew Tridgell
3aa01448ff
HAL_ChibiOS: use COMPASS specifier for f103-periph
6 years ago