Commit Graph

1150 Commits

Author SHA1 Message Date
Andrew Tridgell
47f3e0b0c0 HAL_ChibiOS: support LEDs with a wider range of frequencies
this fixed LEDs on FMUv5 boards on first 4 aux channels. We need to
round up not round down in the resulting bitrate
2020-02-05 10:51:29 +11:00
Andrew Tridgell
caa06b62df HAL_ChibiOS: setup define for number of serial ports 2020-02-05 10:51:29 +11:00
Andrew Tridgell
b38c7782cc HAL_ChibiOS: removed heater control 2020-02-05 10:51:29 +11:00
Siddharth Purohit
83125e9199 HAL_ChibiOS: fix writing into a NULL pointer CANFD interrupt 2020-02-05 10:51:29 +11:00
Andrew Tridgell
06ab862a33 HAL_ChibiOS: removed CAN_APP_VERSION_MAJOR from hwdef.dat 2020-02-05 10:51:28 +11:00
Andrew Tridgell
322cd745fc HAL_ChibiOS: set correct APJ_BOARD_ID for ZubaxGNSS 2020-02-05 10:51:28 +11:00
Andrew Tridgell
e276031faa HAL_ChibiOS: support uncompressed bootloader on f103-periph
this allows update with very low memory
2020-02-05 10:43:37 +11:00
Andrew Tridgell
29856d4ff3 HAL_ChibiOS: tweak stack on f103-periph 2020-02-05 10:43:37 +11:00
Andrew Tridgell
bfad1749d8 HAL_ChibiOS: enable ROMFS for ZubaxGNSS and f103-periph
this allows for bootloader update
2020-02-05 10:43:37 +11:00
Andrew Tridgell
ad4c31ebd1 HAL_ChibiOS: enable ROMFS for CUAV_GPS 2020-02-05 10:43:37 +11:00
Andrew Tridgell
a244836f55 HAL_ChibiOS: save some memory in f103-periph build 2020-02-05 10:43:37 +11:00
Andrew Tridgell
1b0991e29f HAL_ChibiOS: support a app->bootloader comms region in SRAM
this allows for UAVCAN update without a 2nd BeginFirmwareUpdate call
2020-02-05 10:43:36 +11:00
Andrew Tridgell
31b47f1484 HAL_ChibiOS: enable MissionPlanner compatible app descriptor 2020-02-05 10:43:36 +11:00
Andrew Tridgell
fd239825be HAL_ChibiOS: pat watchdog immediately in expect_delay_ms()
this fixes a watchdog issue on AP_Periph if we don't have a timer
thread
2020-02-05 10:43:36 +11:00
Andrew Tridgell
e848d5d0cc HAL_ChibiOS: fixed stack on ZubaxGNSS 2020-02-05 10:43:36 +11:00
Andrew Tridgell
c9308535c4 HAL_ChibiOS: enable watchdog in AP_Periph firmwares 2020-02-05 10:43:36 +11:00
Andrew Tridgell
5c3d43d947 HAL_ChibiOS: fixed flash storage in ZubaxGNSS 2020-02-05 10:43:36 +11:00
Andrew Tridgell
a78ba1d527 HAL_ChibiOS: fixed Zubax bootloader debug 2020-02-05 10:43:36 +11:00
Andrew Tridgell
e2e0468919 HAL_ChibiOS: fixed uprintf() in bootloader 2020-02-05 10:43:36 +11:00
Andrew Tridgell
5a2cecd0c8 HAL_ChibiOS: fixed page size for STM31F105 flash 2020-02-05 10:43:36 +11:00
Andrew Tridgell
8edf70c94f HAL_ChibiOS: support ZubaxGNSS as a AP_Periph target 2020-02-05 10:43:36 +11:00
Andrew Tridgell
c24de7a3fd HAL_ChibiOS: fixed for ZubaxGNSS build 2020-02-05 10:43:36 +11:00
Andrew Tridgell
f9eb295eed HAL_ChibiOS: support f103-RangeFinder 2020-02-05 10:43:36 +11:00
Andrew Tridgell
3efd236c9b HAL_ChibiOS: disable GPS and MAG in base f103 build
enable in f103-GPS
2020-02-05 10:43:36 +11:00
Andrew Tridgell
36d62367cb HAL_ChibiOS: enable airspeed in f103-ADSB 2020-02-05 10:43:36 +11:00
Andrew Tridgell
e6db33fddc HAL_ChibiOS: split out f103-GPS from base f103-periph
this makes it easier to create more peripheral variants
2020-02-05 10:43:36 +11:00
Mirko Denecke
a603a1577c AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces 2020-02-05 10:43:36 +11:00
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