Andrew Tridgell
ef6d513c63
HAL_ChibiOS: fixed I2C on F103
...
we need to use open-drain, and the sign of the constant matters
2020-02-05 10:43:36 +11:00
Andrew Tridgell
43e753d442
HAL_ChibiOS: enable NCP5623 LED in f103-GPS
2020-02-05 10:43:36 +11:00
Siddharth Purohit
e266188963
HAL_ChibiOS: remove unused code
2020-02-05 10:16:44 +11:00
Andrew Tridgell
ad2d9d1666
HAL_ChibiOS: added a f103-ADSB firmware
...
for presenting a ping ADSB device as UAVCAN
2020-02-05 10:13:53 +11:00
Andrew Tridgell
43fb6bfdd1
HAL_ChibiOS: split out f103-GPS from base f103-periph
...
this makes it easier to create more peripheral variants
2020-02-05 10:13:53 +11:00
Andrew Tridgell
a610279eb0
HAL_ChibiOS: reduce max compasses to 1 on AP_Periph
2020-02-05 10:13:53 +11:00
Andrew Tridgell
45a6df0cee
HAL_ChibiOS: drop mRoControlZeroF7 DPS310 clock to 5MHz
2020-02-05 10:13:53 +11:00
Henry Wurzburg
40af63daf3
AP_HAL_ChibiOS/hwdef: update KakuteF4 readme
2020-02-05 10:13:52 +11:00
Andy Piper
be2ef926b0
AP_HAL_ChibiOS: hardware definitions for Kakute F7 Mini
2020-02-05 10:13:52 +11:00
Andrew Tridgell
339da0d07f
HAL_ChibiOS: fixed padding of neopixel bits
...
lack of padding at start caused occasional glitches in colors
displayed
2020-02-05 10:12:13 +11:00
Peter Barker
ec991969c7
AP_HAL_ChibiOS: correct include of mavlink header for analog debug
2020-02-05 10:09:20 +11:00
Michael du Breuil
af0c55b4df
AP_HAL_ChibiOS: Only include MAVLink when using the MAVLink debugging
2020-02-05 10:04:08 +11:00
Andrew Tridgell
23005e6f46
HAL_ChibiOS: use 4k bouncebuffer for sdcard
...
match AP_Logger IO size
2020-01-18 12:27:36 +11:00
Andrew Tridgell
c5b1c88948
HAL_ChibiOS: adjust dma reserve allocation
...
use larger target and allow for smaller allocation
2020-01-18 12:27:33 +11:00
Andrew Tridgell
64dc29cf98
HAL_ChibiOS: don't extend alloc of iomcu uart
2020-01-18 12:27:29 +11:00
Andrew Tridgell
7c0cb85361
HAL_ChibiOS: added checking on bouncebuffer allocation
...
fail operations if DMA bouncebuffer alloc fails
# Conflicts:
# libraries/AP_HAL_ChibiOS/I2CDevice.cpp
2020-01-18 12:27:23 +11:00
Andrew Tridgell
b834796f3b
HAL_ChibiOS: fixed clock src for I2C4 on H7
2020-01-08 06:02:46 +11:00
Andrew Tridgell
17118977dc
HAL_ChibiOS: automatically set AP_FEATURE_RTSCTS
2020-01-02 07:50:35 +11:00
Andrew Tridgell
8311a5be63
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
2019-12-30 14:35:57 +11:00
Andrew Tridgell
318c0a958d
HAL_ChibiOS: removed PB1 and PB0 TIM1 complementary channels for F76x
...
these do not work, possibly a datasheet bug
2019-12-23 19:42:04 +11:00
Andrew Tridgell
24e48b5e81
HAL_ChibiOS: switch MatekF765 to timer 12
...
fixes PWM 5 and 6
2019-12-23 19:42:02 +11:00
Andrew Tridgell
af04f1eb93
HAL_ChibiOS: ensure bootloader flash is multiple of 32 bytes
2019-12-23 17:36:28 +11:00
Andrew Tridgell
f733e963df
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
2019-12-23 09:56:26 +11:00
Andrew Tridgell
12e51965c9
HAL_ChibiOS: change CUAVv5Nano volt scale to 18.000
2019-12-23 09:56:26 +11:00
Andrew Tridgell
96bccba638
HAL_ChibiOS: fixed build of SPI clock test
2019-12-12 20:43:40 +11:00
Andrew Tridgell
2d25adca33
HAL_ChibiOS: fixed build of sparky2
...
running out of flash
2019-12-09 13:18:01 +11:00
Andrew Tridgell
1fa764c915
HAL_ChibiOS: update mRoX21-777 I2C mask
...
all external
2019-12-09 12:58:55 +11:00
Phillip Kocmoud
0fffc77dae
HAL_ChibiOS: update mRoControlZeroF7 I2C mask
2019-12-09 12:58:52 +11:00
Andrew Tridgell
5fe0cd16ab
HAL_ChibiOS: enable MatekF765 LED pin
...
- use tonealarm for buzzer
- add more baro options
2019-12-09 12:56:40 +11:00
Andy Piper
00406180c4
AP_HAL_ChibiOS: specify Durdanal IMUs so that ordering is correct
2019-12-09 12:54:14 +11:00
Henry Wurzburg
4d4b4d46a2
HWDEF: Speedybeef4 change I2C internal mask to 0 to allow probing ext baros
2019-12-09 12:54:06 +11:00
Andrew Tridgell
3a1b24c9bb
HAL_ChibiOS: fixed handling of 16bit timer wrap
...
this fixes #12948
2019-12-09 12:45:20 +11:00
Andrew Tridgell
6f9abb8a4b
HAL_ChibiOS: added assert for systime_t size
2019-12-09 12:45:09 +11:00
Andrew Tridgell
6eb4ccd428
HAL_ChibiOS: retain OPENDRAIN if set on a pin
...
this allows OPENDRAIN when set on a pin to be retained when set with a
pinMode(). This fixes a partially lit B/E LED on the Pixhawk4
2019-11-17 11:45:55 +11:00
Andrew Tridgell
65c3d4ff20
HAL_ChibiOS: enable advanced timers if we have any N PWM channels
2019-11-02 13:46:43 +11:00
Andrew Tridgell
88e78afb19
HAL_ChibiOS: fixed SPI timeout bug
...
thanks to CUAV for noticing
2019-11-01 21:54:43 +11:00
Andrew Tridgell
0eb9a58f17
AP_HAL_ChibiOS: cleanup ifdefs for SLCAN enable
2019-10-07 21:14:24 +11:00
Andrew Tridgell
0ec6210184
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
2019-10-06 10:58:07 +11:00
Andrew Tridgell
b8a77890b6
HAL_ChibiOS: generate HAL_MEMORY_TOTAL_KB for each board
2019-10-06 10:58:07 +11:00
Andrew Tridgell
bd95331068
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
2019-10-06 10:58:07 +11:00
Andrew Tridgell
2962211ea0
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
2019-10-01 08:33:13 +10:00
Andrew Tridgell
560a1bf9e0
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
2019-10-01 08:32:56 +10:00
Mark Whitehorn
2034bde367
HAL_ChibiOS: fix FMU fast_channel_mask
...
fix IO fast channel mask
use IOMCU chmask to only set right channels
remove unused variable
2019-10-01 08:32:00 +10:00
Andrew Tridgell
62c3fec45c
HAL_ChibiOS: fixes from LGTM errors
2019-09-22 21:07:54 +10:00
Andrew Tridgell
f6b28f3013
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
2019-09-22 21:07:49 +10:00
Andrew Tridgell
eeb6fbe5ee
HAL_ChibiOS: fixed undef for define lines
...
this fixes IMU heater enable for CubeBlack+
2019-09-16 12:55:44 +10:00
Andrew Tridgell
dceee38d69
HAL_ChibiOS: fixed IMU order and board ID for CubeBlack+
2019-09-16 12:55:36 +10:00
bugobliterator
e540248695
HAL_ChibiOS: hwdef: add hwdef for CubeBlack+
2019-09-16 12:55:34 +10:00
Andrew Tridgell
28cca004f2
HAL_ChibiOS: added default params for skyviper-journey
2019-09-12 14:02:36 +10:00
Andrew Tridgell
1dca0a16f5
HAL_ChibiOS: rename skyviper-f412 to skyviper-journey
2019-09-12 14:02:36 +10:00