Andrew Tridgell
84bd59a7bb
HAL_ChibiOS: support H7 with no crystal
5 years ago
Andrew Tridgell
cfbfb27004
HAL_ChibiOS: support no-crystal F3 setups
5 years ago
Andrew Tridgell
6a1f43d5df
HAL_ChibiOS: fixed build with our old compiler
...
gcc 4.9 doesn't like static_assert() in C code
5 years ago
Andrew Tridgell
69676cd614
HAL_ChibiOS: support 24MHz f3 MCUs
5 years ago
Andrew Tridgell
3ec2ef787d
HAL_ChibiOS: fixed build warning
5 years ago
Andrew Tridgell
ce68e0fbb5
HAL_ChibiOS: fixed bootloader build
5 years ago
Andrew Tridgell
18e88e0ea3
HAL_ChibiOS: implement stack overflow hook
...
this needs C bindings to allow call from low level RTOS thread
switching code
5 years ago
Andrew Tridgell
f0c9f4003e
HAL_ChibiOS: implement thread_info()
5 years ago
Andrew Tridgell
d9efac2993
HAL_ChibiOS: only allow PLL override in clock selection part of header
5 years ago
Andrew Tridgell
29f538dec9
HAL_ChibiOS: use common header for STM32 clock config
...
avoid the need for clock config lines in most hwdef.dat files
5 years ago
Ivannikov Kirill
3ab1b29397
AP_HAL_ChibiOS: error if system clock not 1mhz on 16 CH_CFG_ST_RESOLUTION. prevent variable overflow
...
if CH_CFG_ST_FREQUENCY not match 1000000U on 16 bit CH_CFG_ST_RESOLUTION
we try to multiply now *= 1000000U/CH_CFG_ST_FREQUENCY; it may overflow 16 bit value.
5 years ago
Andrew Tridgell
db642717be
HAL_ChibiOS: fixed clock for FDCAN to be below 80MHz
...
we were running at 100MHz, which is out of spec
5 years ago
Andrew Tridgell
8e977183fe
HAL_ChibiOS: added mRoNexus
5 years ago
Andrew Tridgell
74f33d57c5
HAL_ChibiOS: avoid unnecessary H7 flash writes
5 years ago
Andrew Tridgell
822460ce7d
HAL_ChibiOS: fixed strdup() on ChibiOS
5 years ago
bugobliterator
8215537f99
HAL_ChibiOS: deprecate realloc for ChibiOS build, so as to return error when used
5 years ago
Peter Barker
1a123e5f8d
AP_HAL_ChibiOS: avoid referencing flash sector/page 22 on 1MB boards
5 years ago
Andrew Tridgell
9e0edba31d
HAL_ChibiOS: raised timer clocks to 200MHz
...
this gives more flexibility in setting up timers for DShot
5 years ago
Andrew Tridgell
982cff0695
AP_HAL_ChibiOS: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
2b7bffa906
HAL_ChibiOS: adjust dma reserve allocation
...
use larger target and allow for smaller allocation
5 years ago
Andrew Tridgell
56985f8c33
HAL_ChibiOS: added checking on bouncebuffer allocation
...
fail operations if DMA bouncebuffer alloc fails
5 years ago
Andrew Tridgell
fced7d78fc
HAL_ChibiOS: fixed clock src for I2C4 on H7
5 years ago
Andrew Tridgell
8ffd1050eb
HAL_ChibiOS: fixed build on STM32F3
5 years ago
Andrew Tridgell
faf34970e1
HAL_ChibiOS: automatically control pullup/pulldown on inverted UARTs
...
this makes setup of sport telemetry much easier
5 years ago
Andrew Tridgell
f732a482fe
HAL_ChibiOS: support wider range of clock frequencies
5 years ago
Andrew Tridgell
4f429e6c5a
HAL_ChibiOS: fixed handling of 16bit timer wrap
...
this fixes #12948
5 years ago
Andrew Tridgell
ef993f380f
HAL_ChibiOS: use system_halt_hook()
5 years ago
Andrew Tridgell
c1575654e2
HAL_ChibiOS: added optional debug code for hardfaults and panics
...
this implements a soft-serial print function that can be used to get
debug out on a GPIO pin in a panic
5 years ago
Andrew Tridgell
a90a2e20dc
HAL_ChibiOS: enable CAN callbacks
...
this allows for much more reliable CAN comms in AP_Periph
5 years ago
Andrew Tridgell
bc1de7a208
HAL_ChibiOS: support STM32F3xx MCUs
5 years ago
Andrew Tridgell
b5af1edf0d
HAL_ChibiOS: moved app_descriptor to start of flash
...
this prevents the bootloader from finding it's own image as a false
posititve in searching for the app_descriptor
5 years ago
Andrew Tridgell
d1bc0f236d
HAL_ChibiOS: added pragma once for watchdog header
5 years ago
Andrew Tridgell
fc8d9e8af5
HAL_ChibiOS: added RTC_BOOT_FWOK value for RTC reboot register
...
this is used in CAN firmware to know if the main app firmware has run
for long enough to be considered good
5 years ago
Andrew Tridgell
e6cb35090c
HAL_ChibiOS: fixed page size for STM31F105 flash
5 years ago
Andrew Tridgell
44f895ab16
HAL_ChibiOS: fixed for ZubaxGNSS build
5 years ago
Andrew Tridgell
91e8752c17
HAL_ChibiOS: wrap more libc functions
...
this saves a few k of flash as it avoids linking libc versions of some
functions
5 years ago
Andrew Tridgell
3166f84954
HAL_ChibiOS: added vsnprintf wrapper
...
this allows us to use a common snprintf implementation
5 years ago
Andrew Tridgell
0ffe2e75be
HAL_ChibiOS: fixed warnings
6 years ago
Andrew Tridgell
9d760a2956
HAL_ChibiOS: disable re-entrancy in FATFS
...
not needed now we have a semaphore in AP_Filesystem
6 years ago
Andrew Tridgell
bf79b65e07
HAL_ChibiOS: simplify stubs code
6 years ago
Andrew Tridgell
d1565a96c5
HAL_ChibiOS: wrap cacheBuffer functions
...
needed to avoid problem with end() method in UARTDriver shadowing with
F7 implementation of cache macros
6 years ago
Andrew Tridgell
b867ef35c0
HAL_ChibiOS: use AP_Filesystem API
6 years ago
Andrew Tridgell
63f39c2bd6
HAL_ChibiOS: fixed build of iomcu firmware
6 years ago
Andrew Tridgell
5cbe85ee19
HAL_ChibiOS: allow for ADC and clock overrides
6 years ago
Andrew Tridgell
cbc83d68cd
HAL_ChibiOS: allow for CAN enable override on F4
6 years ago
Andrew Tridgell
fb68fa8bc9
HAL_ChibiOS: fixed typo for 512k F4 parts
6 years ago
Andrew Tridgell
16bdaaa1af
HAL_ChibiOS: added support for STM31F10x for AP_Periph
6 years ago
Andrew Tridgell
ffe0f338d3
HAL_ChibiOS: enable utime() API
6 years ago
Andrew Tridgell
f8cfbb8062
HAL_ChibiOS: added ISR limit on I2C
...
this will prevent any possibility of an I2C interrupt storm. This is
designed to address the most likely cause of #11642
6 years ago
Siddharth Purohit
2f0d1336e6
HAL_ChibiOS: add support for dual usd cdc
6 years ago