Andy Piper
ed952a0ea0
AP_HAL_ChibiOS: allow flash to be write-protected/unprotected on reboot
...
control protection support via HAL_FLASH_PROTECTION
provide support for flash protection on SPRacingH7
SPRacingH7 bootloader needs to use w25q-dtr
2022-02-24 10:19:07 +11:00
Andy Piper
f840315aa4
AP_HAL_ChibiOS: clock H750 at 480Mhz when using 8Mhz, 16Mhz and 24Mhz crystals
2022-02-23 18:19:56 +11:00
Andrew Tridgell
f2308e96a9
HAL_ChibiOS: added stm32_was_software_reset()
2022-02-17 14:37:41 +11:00
Andy Piper
48c21299f8
AP_HAL_ChibiOS: hwdef for SPRacingH7
...
hwdef for DevEBoxH7v2
pin definitions for STM32H750
add QSPI to DevEBox bootloader
add external flash to DevEBox
rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB
Add support for EXT_FLASH_RESERVE_START_KB and EXT_FLASH_RESERVE_END_KB
Disable HAL_ENABLE_SAVE_PERSISTENT_PARAMS when there is no bootloader flash available
relax storage health status with SD card backend
don't check SD card health unless USE_POSIX
binary sections rearranged on external ram
manage RAMFUNC through ldscript and optimize function placement in external flash
inline timer functions
optimize placement of ChibiOS and functions in ITCM and AXI RAM
fix chibios features on bootloader build with external flash
change H750 memory layout
increase line storage for SD card based parameters
comment external flash linker script
move vtables into DTCM
update ram map for H757
enable crashdump support with external flash
correct bootloader pins and generator on SPRacingH7/DevEBoxH7v2
setup external flash reserve regions
allow different RAM_MAP for external flash on H750 and H757
2022-02-09 12:47:55 +00:00
Andrew Tridgell
e07057d24f
HAL_ChibiOS: support SDIO 48MHz clock on F412
2022-02-02 07:42:23 +11:00
Andrew Tridgell
040ff007ea
HAL_ChibiOS: fixed some F4 clocks, and support no crystal on F4
...
this fixes up some of the F4 varients that were running at the wrong
clock, and also gives support for running F4s with no crystal
2022-01-29 18:57:33 +11:00
Andrew Tridgell
61ecf0c443
HAL_ChibiOS: cleanup SDMMC enable defines
...
ensure both are set
2021-12-28 16:04:57 +11:00
Andrew Tridgell
146f394d64
HAL_ChibiOS: include fatfs format code
2021-12-28 16:04:57 +11:00
Andrew Tridgell
fbadc24fca
HAL_ChibiOS: support 12MHz crystal on L4xx MCUs
2021-12-07 10:23:54 +11:00
bugobliterator
f9bb9b4fc0
AP_HAL_ChibiOS: log heap and bss memory regions if enough space
2021-12-01 18:17:50 +11:00
bugobliterator
ee35350129
HAL_ChibiOS: setup for recording crashdump at the remaining flash space
2021-12-01 18:17:50 +11:00
bugobliterator
52c7886270
HAL_ChibiOS: fix issue with failing to write final buffer
2021-12-01 18:17:50 +11:00
bugobliterator
eae3fb016f
HAL_ChibiOS: dump per thread stack for crash
2021-12-01 18:17:50 +11:00
Andrew Tridgell
f7bc7b0d9b
HAL_ChibiOS: support more enable pins for late enable
2021-11-10 08:47:21 +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
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
bd08d2d257
HAL_ChibiOS: move crashcatcher methods out from system.cpp into hwdef common
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
5a68e21435
HAL_ChibiOS: support STM32L431
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
25324ae0e2
HAL_ChibiOS: support SDMMC2 for sdcard
2021-10-12 15:47:51 +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
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
0212e23cd3
HAL_ChibiOS: added support for STM32L496 MCUs
...
good MCU for AP_Periph
2021-09-24 18:08:00 +10:00
Andrew Tridgell
2e4766fe54
HAL_ChibiOS: ensure HI_POWER periph is on
2021-09-07 10:40:44 +10:00
Siddharth Purohit
d484477a99
AP_HAL_ChibiOS: move to using PLL2_R_CK for QSPI
2021-09-01 17:10:53 +10:00
Siddharth Purohit
81dc237a19
AP_HAL_ChibiOS: move to using Instruction RAM with External Flash setup
2021-09-01 17:10:53 +10:00
Siddharth Purohit
813e93a69c
AP_HAL_ChibiOS: do not reset GPIO for boards with external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
4ba2835de1
AP_HAL_ChibiOS: add config for supporting load from external flash
2021-09-01 17:10:53 +10:00
Andrew Tridgell
584fb7cd7b
HAL_ChibiOS: use more USB buffers on higher end F7 chips
2021-08-31 10:12:00 +10:00
Andrew Tridgell
4cebcede31
HAL_ChibiOS: switched to fix allocation for BMDA streams on H7
...
this avoids issues with BDMA stream assignments due to bugs found
while testing boards with both I2C4 and SPI6
2021-08-25 07:11:31 +10:00
Andrew Tridgell
57e87b9820
HAL_ChibiOS: measure MCU temperature and ref voltage on H7
...
this uses ADC3 to measure the internal MCU temperature and the reference
voltage. This uses a currently unused BDMA channel
2021-08-25 07:11:31 +10:00
Andrew Tridgell
531ca4289e
HAL_ChibiOS: switch to minimum scheduling delta of 10us
...
this avoids an issue with the ChibiOS 20.3 virtual timer
implementation that can result in a scheduling slip equal to the
system timer period.
Andy has been suggesting this change for a while. I resisted it as I
thought it would impact on soft-serial parsing, but it turns out it
doesn't.
Fixes issue #18383
2021-08-23 10:45:44 +10:00
Andrew Tridgell
4fce1ae092
HAL_ChibiOS: added G491 support
2021-07-30 10:20:52 +10:00
bugobliterator
48b8fdfd48
AP_HAL_ChibiOS: make linecoding objects static arrays
2021-07-21 17:06:41 +10:00
bugobliterator
d1b0438412
AP_HAL_ChibiOS: add support for usb passthrough with baud changes
2021-07-21 17:06:41 +10:00
Michael Oborne
d622aad592
AP_HAL_ChibiOS: add get_usb_baud - support for usb baudrate
2021-07-21 17:06:41 +10:00
Siddharth Purohit
245f9d21b3
AP_HAL_ChibiOS: update clock config for FDCAN and External Flash
2021-06-30 19:34:36 +10:00
Siddharth Purohit
263fbbbdb0
AP_HAL_ChibiOS: add echo safe debug flag bouncebuffer
2021-06-30 19:33:17 +10:00
Siddharth Purohit
abc26d1993
AP_HAL_ChibiOS: add QSPI Device Driver in HAL
2021-06-30 19:33:17 +10:00