Andy Piper
06a1500f98
AP_HAL_ChibiOS: ensure GPIO pins get undef'ed properly
...
minimise bi-directional dshot configs for:
CubeOrange
Durandal
MatekF405
MatekH743
OmnibusNanoV6
Pixracer
mRoPixracerPro
omnibusf4pro
CUAV-X7
2021-02-03 18:49:06 +11:00
Michel Pastor
41f7587637
ChibiOS: Add SWD pins to SuccexF4 bootloader
2021-02-03 18:37:46 +11:00
auturgy
24268cc6de
AP_HAL_ChibiOS: add MatekH743-periph hwdef
2021-02-03 18:17:44 +11:00
mateksys
b91c65b4a4
AP_HAL_ChibiOS: add f405-MatekGPS & MatekF405-CAN hwdef
2021-02-03 18:09:35 +11:00
huhen
9ba35580db
HAL_ChibiOS: Init kakutef7 motor pins for correct initialization of some ESCs
2021-02-03 13:13:32 +11:00
Andy Piper
6f5d5c2bf9
AAP_HAL_ChibiOS: allow asserts to be printed on a GPIO pin
2021-01-27 19:36:58 +11:00
Andy Piper
20d928a86a
AP_HAL_ChibiOS: don't share DMA on OmnibusNanoV6 for Flash SPI
2021-01-27 19:04:49 +11:00
Andy Piper
873d35acd9
AP_HAL_ChibiOS: bi-directional dshot for MatekH743
2021-01-27 18:58:38 +11:00
Andy Piper
877dde4736
AP_HAL_ChibiOS: on BeastF7 share TIM3 UP/CH and give flash SPI dedicated channel
2021-01-27 18:54:43 +11:00
Andy Piper
2823fa7245
AP_HAL_ChibiOS: never write bytes that have not been erased on H7
...
Be more careful about flash failure conditions on H7
2021-01-27 18:30:36 +11:00
Andy Piper
78735a946e
AP_HAL_ChibiOS: allow STM32_FLASH_DISABLE_ISR for H7
2021-01-27 18:30:36 +11:00
Andrew Tridgell
d81c2ee407
HAL_ChibiOS: allow for some embedded parameters on AP_Periph builds
2021-01-21 06:19:46 +11:00
bugobliterator
8b90eb23e0
AP_HAL_ChibiOS: distcc doesn't like lst generation commands
2021-01-20 19:21:14 +11:00
Andy Piper
9e641a32ad
AP_HAL_ChibiOS: don't share flash SPI on BeastH7 and compile with -Os
2021-01-20 18:12:57 +11:00
bugobliterator
c02c546077
AP_HAL_ChibiOS: add support for inline comments in hwdef.dat
2021-01-18 09:37:11 +11:00
bugobliterator
41693403e2
AP_HAL_ChibiOS: retain memory of past conflicts in dma_resolver
2021-01-18 09:37:11 +11:00
Andrew Tridgell
f93e2f6717
HAL_ChibiOS: enable 32k FRAM on H7 boards
2021-01-16 06:47:10 +11:00
pkocmoud
7b61a4d8c2
HAL_ChibiOS: support F7 with no crystal
2021-01-15 15:48:01 +11:00
Andy Piper
cb5be4fcc1
AP_HAL_ChibiOS: don't share IMU DMA on MatekH743 to avoid SPI DMA contention
2021-01-15 14:32:39 +11:00
Andy Piper
e781572d53
AP_HAL_ChibiOS: support iFlight BeastF7
...
reduce DMA contention on BeastH7 and correct sharing
add README's for BeastF7 and BeastH7
2021-01-13 18:09:33 +11:00
bugobliterator
4346264113
AP_HAL_ChibiOS: ensure UP and CH timer channels share DMA for H7
2021-01-12 10:45:03 +11:00
Andrew Tridgell
14433c3ae3
HAL_ChibiOS: enable ICM-40609 on mRoNexus
2021-01-11 14:43:35 +11:00
Andrew Tridgell
afbdd69165
AP_HAL_ChibiOS: adjust stack sizes
2021-01-10 08:28:55 +11:00
Andy Piper
8fb403c569
AP_HAL_ChibiOS: make sure BDMA channels are not adjacent
2021-01-10 08:11:37 +11:00
Andrew Tridgell
42bc9adfb7
HAL_ChibiOS: use ExpandingString for @SYS buffers
2021-01-05 10:52:00 +11:00
Andrew Tridgell
324ff178d8
HAL_ChibiOS: fixed CUAV_GPS defaults.parm
2021-01-03 16:24:12 -08:00
Tom Pittenger
113f792ad1
AP_HAL_ChibiOS: update periph targets who have buzzer/LEDs with notify
2021-01-03 16:24:12 -08:00
Hwurzburg
ce361e51bf
HAL_ChibiOS: Reinstate HAL_MINIMIZE_FEATURES for 1MB F7 boards
2021-01-02 08:57:47 +11:00
Andrew Tridgell
e260c7ad59
HAL_ChibiOS: update f303-MatekGPS to allow disable of MSP
...
and use DMA for MSP
2021-01-01 15:40:13 +11:00
David B. Bitton
8dbe0a71ba
AP_HAL_ChibiOS: add support for Toshiba LED
2020-12-31 11:02:10 -08:00
Andy Piper
401e5c2073
AP_HAL_ChibiOS: add support for bidir DShot support in RCOutput
...
add support for sampling GPIO pins using timer
don't restart pwm group when not doing bi-dir
fix hwdef generation preproc for TIM DMA
decode telemetry at the start of the dshot cycle
calculate dshot pulse separation correctly and ensure we output rapidly enough
calculate dshot min periods and timeouts correctly
refactor dshot_send() into dshot_send_groups()
use bi-dir dshot channel mask
selectively enable bi-dir RC Channels
process bi-dir mask correctly when allocating DMA channels
allow UP and CH DMA channel sharing
optionally enable bidir vars in hwdef.
enable bi-dir dshot in KakuteF7Mini
enable bi-dir dshot in OmnibusF4Pro
enable bi-dir dshot in OmnibusNanoV6
enable bi-dir dshot in MatekF405
enable bi-dir dshot in fmuv5
enable bi-dir dshot in fmuv3
enable bi-dir dshot in OmnibusF7V2
enable bi-dir dshot in OmnibusNanoV6
enable bi-dir dshot in CubeOrange
enable bi-dir dshot in Pixracer
enable bi-dir dshot in mRoPixracerPro
Co-authored-by: bugobliterator <siddharthbharatpurohit@gmail.com>
2020-12-30 19:14:16 +11:00
Andy Piper
83c8807b39
AP_HAL_ChibiOS: when HAL_ENABLE_THREAD_STATISTICS is defined add ChibiOS thread stats to threads.txt
...
define HAL_ENABLE_THREAD_STATISTICS in hwdef.h
2020-12-30 18:15:05 +11:00
Andy Piper
a4b2930223
AP_HAL_ChibiOS: iFlight Beast H7 AIO hwdef
2020-12-30 18:13:03 +11:00
ukmook
bf34041211
AP_HAL_ChibiOS: add support for Pixracer-periph
2020-12-29 07:52:39 -07:00
Tom Pittenger
5432c9957a
AP_HAL_ChibiOS: rename AP_PERIPH_<feature>_DEFAULT to HAL_PERIPH_<feature>_DEFAULT
2020-12-28 09:16:02 +11:00
Tom Pittenger
083088bfff
AP_HAL_ChibiOS: adjust defaults to use param instead of hardcoded defaults
2020-12-25 16:24:50 -07:00
Ari Krupnik
79e1f5e8bd
AP_HAL_ChibiOS: standard spelling of variant
2020-12-25 00:01:50 +11:00
Phillip Kocmoud
062c6cef41
HAL_ChibiOS: Fix typo relating to pin PB7:I2C4_SDA
2020-12-23 06:43:19 +11:00
Siddharth Purohit
5b58163c35
AP_HAL_ChibiOS: add HAL_PERIPH_ENABLE_RCOUT_TRANSLATOR to CubeBlack-periph and CubeOrange-periph
2020-12-21 18:27:07 -08:00
Tom Pittenger
da74d755d0
AP_HAL_ChibiOS: add new HAL_PWM_COUNT define
2020-12-21 18:27:07 -08:00
Tom Pittenger
f670f7a9b6
AP_HAL_ChibiOS: change ADSB to use param ADSB_PORT instead of define
2020-12-17 23:24:04 -08:00
Tom Pittenger
5c98e18236
AP_HAL_CubeORange-periph: enable HAL_PERIPH_ALLOW_MAVLINK_UART_OR_USB_REBOOT_CMD on USB
2020-12-18 06:59:09 +11:00
Andrew Tridgell
b4201436dd
HAL_ChibiOS: fixed flash space on 16k bl boards
...
this avoids the stm32_flash_recent_erase() function which added around
800 bytes to the bootloader. It is not needed
2020-12-17 12:51:25 +11:00
Sebastian Witt
6cfaae4e7d
AP_HAL_ChibiOS: Support for Diatone MambaF405 MK2
2020-12-16 19:07:07 +11:00
Andrew Tridgell
e54fc4b0de
AP_HAL_ChibiOS: convert to using hal.serial() instead of hal.uartX
2020-12-15 10:32:46 +11:00
Phillip Kocmoud
ce87b62dcc
AP_Periph: Add alternate ordering of NCP5623 LED colors
2020-12-12 14:57:35 +11:00
Tom Pittenger
68b2982cc6
AP_HAL_ChibiOS: CubeBlack/Orange-periph to use default HAL_SUPPORT_RCOUT_SERIAL
2020-12-09 07:53:09 -08:00
Tom Pittenger
2203bf2400
AP_HAL_ChibiOS: Add f303-periph default RANGEFINDER_MAX_INSTANCES 1
2020-12-09 18:05:24 +11:00
Andrew Tridgell
0c440d5675
HAL_ChibiOS: cope with flash erase in expected delay
...
when there has been a flash erase when we are definately in an
expected delay
2020-12-08 13:22:36 +11:00
Andrew Tridgell
b4de6fb56a
HAL_ChibiOS: added new option DEFAULTGPIO for hwdef.dat
...
this allows ESD issues to be avoided by pulling all unused pins low
2020-12-08 11:21:57 +11:00