Commit Graph

1330 Commits

Author SHA1 Message Date
Andrew Tridgell 98849a3998 HAL_ChibiOS: fixed build for EMPTY uarts
this fixes NucleoH743 build
2021-11-01 15:48:25 +11:00
QioTek 952a827287 HAL_ChibiOS: fixed orientation of ADI1674X and optimize SPI3 DMA
HAL_ChibiOS: fixed orientation of ADI1674X and optimize SPI3 DMA
2021-10-31 08:42:05 +11:00
bugobliterator 57e1fb1a81 HAL_ChibiOS: disable building CrashCatcher for non 2M boards 2021-10-30 19:24:57 +11:00
bugobliterator 91fdf6e875 HAL_ChibiOS: fix issue with writing the last byte 2021-10-30 19:24:57 +11:00
bugobliterator 8651d99de6 HAL_ChibiOS: move to using parameter STORAGE_FLASH_PAGE instead of define 2021-10-30 19:24:57 +11:00
bugobliterator 70f606c480 AP_HAL_ChibiOS: restrict crash dump mechanisms only on boards with 2M flash 2021-10-30 19:24:57 +11:00
bugobliterator 909f59f0e0 HAL_ChibiOS: fix build with boards without HAL_CRASH_SERIAL_PORT 2021-10-30 19:24:57 +11:00
bugobliterator a6b2018cbf HAL_ChibiOS: fix build and serial crash dump for F4 based boards 2021-10-30 19:24:57 +11:00
bugobliterator 7d199f3e51 HAL_ChibiOS: record info into watchdog as well 2021-10-30 19:24:57 +11:00
bugobliterator 13c83f7010 HAL_ChibiOS: remove build of Crash dump to flash methods when !defined(HAL_CRASH_DUMP_FLASHPAGE) 2021-10-30 19:24:57 +11:00
bugobliterator 66b8b9cf74 HAL_ChibiOS: add support for dumping crash logs to flash page 2021-10-30 19:24:57 +11:00
bugobliterator b2ffc12092 HAL_ChibiOS: define flash page for dumping crash log 2021-10-30 19:24:57 +11:00
bugobliterator bd08d2d257 HAL_ChibiOS: move crashcatcher methods out from system.cpp into hwdef common 2021-10-30 19:24:57 +11:00
bugobliterator 69f53a6188 HAL_ChibiOS: add defines for CrashCatcher methods to use 2021-10-30 19:24:57 +11:00
bugobliterator c32bd845f2 HAL_ChibiOS: build crashcatcher lib alongside chibios 2021-10-30 19:24:57 +11:00
Andrew Tridgell a0b662f161 hwdef: fixed reported flash on boards with storage at end of flash
this was in hwdef-bl.dat but had been left out of hwdef.dat which led
to flash_free being wrong in apj file
2021-10-29 18:28:36 +11:00
Andrew Tridgell b94d6b064f HAL_ChibiOS: convert some hwdef.dat to unix line endings 2021-10-26 15:56:53 +11:00
Andrew Tridgell 80836ca1d9 HAL_ChibiOS: simplify AP_Periph hwdef.dat 2021-10-26 15:56:53 +11:00
Andrew Tridgell 68146d541c HAL_ChibiOS: removed boilerplate lines from bootloaders 2021-10-26 15:56:53 +11:00
Andrew Tridgell 0378e1a879 HAL_ChibiOS: removed need for a lot of boilerplate hwdef lines
bootloader and AP_Periph lines can default to right values
2021-10-26 15:56:53 +11:00
Hwurzburg e7a157283f AP_HAL_ChibiOS: add param for second IMU primary in Swan-K1 hwdef 2021-10-26 10:38:28 +11:00
Iampete1 d7cc2cb296 AP_HAL_ChibiOS: hwdef.py: allow same GPIO pin in multiple alt configs 2021-10-26 10:05:20 +11:00
kniuk aabb6f7c59 AP_HAL_ChibiOS: add alt config GPIO to Matek F765-Wing
Based on new functionality introduced in #18753
2021-10-26 10:05:20 +11:00
Andrew Tridgell 822e657a70 HAL_ChibiOS: increase PROCESS_STACK on several boards
use min of 0xA00 for AP_Periph. A larger stack is needed for parameter
fetching
2021-10-20 19:06:35 +11:00
Iampete1 8459439798 AP_HAL_ChibiOS: CubeYellow: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 8e381b6017 AP_HAL_ChibiOS: CubeSolo: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 a004de65b3 AP_HAL_ChibiOS: CubePurple: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 e3289d2aec AP_HAL_ChibiOS: CubeBlack: set default IMU arming temp margin 2021-10-19 11:16:45 +11:00
Iampete1 5d5a21a4ec AP_Hal_ChibiOS: CubeOrange: set default min IMU temp margin 2021-10-19 11:16:45 +11:00
QioTek fd2195d6fe HAL_ChibiOS: added QioTekZealotH743 support 2021-10-19 08:17:43 +11:00
Andrew Tridgell 7aa968329c HAL_ChibiOS: added Nucleo-L476 target 2021-10-17 20:30:20 +11:00
Andrew Tridgell c8664e0b98 HAL_ChibiOS: added STM32L476 support 2021-10-17 20:30:20 +11:00
Andrew Tridgell 655c757c22 HAL_ChibiOS: added Sierra-L431 peripheral 2021-10-17 20:30:20 +11:00
Andrew Tridgell 5a68e21435 HAL_ChibiOS: support STM32L431 2021-10-17 20:30:20 +11:00
Andrew Tridgell 71e7bb0fe3 HAL_ChibiOS: mark af_parse_cubemx.py as executable, py3 2021-10-17 20:30:20 +11:00
Andrew Tridgell f1ea4f5d01 HAL_ChibiOS: use a 16 bit sysinterval_t on 16 bit timers
prevent mixed size subtraction errors
2021-10-17 20:29:42 +11:00
Andrew Tridgell d1c7ed1c82 HAL_ChibiOS: make it clear how to enable parameter backup on CubeBlack
uses 16k more ram, but allows auto-restore of corrupted params
2021-10-12 22:08:13 -04:00
auturgy 7c3c3a0a41 HAL_Chibios: support modalai_fc-v1 flight controller
Based on M0018 version. Thanks to ModalAI for assistance
2021-10-12 15:47:51 +11:00
Andrew Tridgell 25324ae0e2 HAL_ChibiOS: support SDMMC2 for sdcard 2021-10-12 15:47:51 +11:00
Andrew Tridgell d962e094e7 HAL_ChibiOS: change RCIN PULLUP to PULLDOWN
this makes us more consistent between boards
2021-10-12 11:52:36 +11:00
Andrew Tridgell 47da7f5c9b HAL_ChibiOS: change RCIN FLOAT to PULLDOWN
this lowers the chance of noise on a RCIN pin causing incorrect
protocol detection
2021-10-12 11:52:36 +11:00
Nick Exton ffa2bba35c HAL_ChibiOS: add missing return to Dual CDC get_usb_baud() 2021-10-12 10:54:44 +11:00
bugobliterator f298ea406e HAL_ChibiOS: enable RNG only for H7 based boards off for the rest by default 2021-10-07 19:43:11 +11:00
bugobliterator fc4d59c5a4 HAL_ChibiOS: setup hw random number generator for stm32 chips 2021-10-07 19:43:11 +11:00
Andrew Tridgell 33529c98a9 HAL_ChibiOS: check the ROMFS line for IOMCU is added 2021-10-06 06:45:43 +11:00
Andrew Tridgell 52124cf602 HAL_ChibiOS: fixed f1 bootloader build errors 2021-10-06 06:44:36 +11:00
Andrew Tridgell 8deaa1b46b HAL_ChibiOS: fixed warning for USB 2021-10-06 06:44:36 +11:00
Andrew Tridgell 4daf4ad501 HAL_ChibiOS: lock in no warnings for chibios RTOS build 2021-10-06 06:44:36 +11:00
Andrew Tridgell 4dbff85de7 HAL_ChibiOS: check for common hwdef.dat errors
catches missing GPIO type, mismatched timers and UARTs or bad pin types
2021-10-05 15:46:02 +11:00
Iampete1 f0a284c1e7 AP_Hal_ChibiOS: R9Pilot: add OUTPUT to GPIO 2021-10-05 15:46:02 +11:00