Andrew Tridgell
986ad0dc27
HAL_ChibiOS: removed unnecessary subtype defines
5 years ago
Andrew Tridgell
d35fff5186
HAL_ChibiOS: set CS pins high while in bootloader
...
this appears to be the root cause of the parameter resets on
CubeOrange. We need to ensure the CS pin is not floating or random
noise on the SPI bus for FRAM can cause the FRAM to become corrupt
5 years ago
Andy Piper
3d0cf7e12a
AP_HAL_ChibiOS: hardware M4-Cortex and M7-Cortex (and H7) implementation of HAL FFT abstraction
...
implements an FFT engine based on the betaflight feature using ARM hardware accelerated CMSIS library
make the FFT feature optional
add dynamic gyro windows
add quinns and candans estimators and record in DSP state
disable DSP for boards with limited flash
calculate power spectrum rather than amplitude
start/analyse version of analysis to support threading
allocate memory in a specific region
constrain window size by CPU class
control inclusion of DSP based on board size
5 years ago
anbello
b65f5bf632
ChibiOS: hwdef revo-mini correct IMU rotation
6 years ago
Andrew Tridgell
614a059819
HAL_ChibiOS: convert more boards to using new sensor config system
6 years ago
Andrew Tridgell
2b0a30a2c5
HAL_ChibiOS: ensure we don't overflow bootloader area
...
this modifies the ld script to use the maximum size available for the
bootloader, so we can't accidentially grow the bootloader beyond its
max size
6 years ago
Andrew Tridgell
b754d56ecb
HAL_ChibiOS: fixed revo-mini build
6 years ago
Andrew Tridgell
69edd5a544
HAL_ChibiOS: fixed typos in hwdef.dat files
6 years ago
Andrew Tridgell
7219ec3482
HAL_ChibiOS: enabled df logging on revo and sparky2
6 years ago
Andrew Tridgell
5526dac4fc
HAL_ChibiOS: probe all i2c baros for revo-mini
...
this ensures we build this functionality in CI
7 years ago
Andrew Tridgell
95aaa01014
HAL_ChibiOS: override COMPASS_AUTO_ROT on several boards
7 years ago
Andrew Tridgell
840362f355
HAL_ChibiOS: fixed default revo compass orientation
7 years ago
Andrew Tridgell
54dc67e2a9
HAL_ChibiOS: default bootloader product string to XX-BL
7 years ago
Andrew Tridgell
dc0f2f9319
HAL_ChibiOS: use USB for stdout on more boards
...
don't waste a UART
7 years ago
Andrew Tridgell
b149089830
HAL_ChibiOS: fixed board IDs and added more bootloaders
7 years ago
Andrew Tridgell
2f8a534243
HAL_ChibiOS: expand param storage on F4 boards with flash storage
...
this allows for a lot more param space on these boards
7 years ago
Andrew Tridgell
1c807e0078
HAL_ChibiOS: added option to limit size of bootloader
...
this will ensure our F4 bootloaders stay under 16k
7 years ago
Andrew Tridgell
f9faa0765d
HAL_ChibiOS: fixed bootloader IDs
7 years ago
Andrew Tridgell
c273b23940
HAL_ChibiOS: moved MCU config to python database
...
this moves the key MCU config variables related to memory to the
python MCU database, allowing the hwdef.dat to be considerably simpler
7 years ago
Andrew Tridgell
2684f46641
HAL_ChibiOS: fixed IMU orientation for revo-mini
7 years ago
Andrew Tridgell
7c85d06600
HAL_ChibiOS: setup pwm counts, and cleanup mindpx-v2 PWM lines
7 years ago
Andrew Tridgell
692f22c17f
HAL_ChibiOS: added GPIO assignments for revo-mini
7 years ago
Andrew Tridgell
64278f07d3
HAL_ChibiOS: removed the DMA channels from RCIN in hwdef.dat
...
no longer needed as this is automatic now
7 years ago
Andrew Tridgell
74ed19f460
HAL_ChibiOS: moved more board setup into hwdef.dat
7 years ago
Andrew Tridgell
21d401e844
HAL_ChibiOS: fixed compass orientation for revo-mini
7 years ago
Andrew Tridgell
c4445a7dfd
AP_HAL_ChibiOS: initial hwdef for crazyflie2
7 years ago
Andrew Tridgell
a6e0bb4ed0
HAL_ChibiOS: fixed uart order for revo-mini
...
and setup right battery pins
7 years ago
Andrew Tridgell
17b3607aa8
HAL_ChibiOS: fixed RCIN on revo-mini
...
this also adds an attempt at using 'N' (inverted) channels for
RCIN. This doesn't work yet, but would be better for the revo-mini, as
it would allow the normal RCIN pin to be used
7 years ago
Andrew Tridgell
c6879c679a
HAL_ChibiOS: re-enable USART1 on revo-mini
7 years ago
Andrew Tridgell
427e00dd41
HAL_ChibiOS: switched to system timer for AP_HAL::micros()
...
this uses the ChibiOS system timer instead of a separate GPT timer for
the core ChibiOS timer. The advantage is it saves us a timer, plus it
changes ChibiOS to use a 1MHz clock on its timer, which gives us
higher resolution for delays.
This has a remarkable effect on timing jitter, reducing it greatly
7 years ago
Andrew Tridgell
a057498e0c
HAL_ChibiOS: pull PA9 PA10 high on revo-mini
...
needed for correct operation of USB
7 years ago
Andrew Tridgell
4548fd4d2f
HAL_ChibiOS: changed RCIN to PULLDOWN
...
this fixes a high cpu load with no receiver connected
7 years ago
Andrew Tridgell
30e4323c6d
HAL_ChibiOS: disable USART1 till USB problem solved
...
using USART1 causes USB disconnects. The behaviour is like CTS/RTS is
enabled on USART1, but it is disabled.
7 years ago
Andrew Tridgell
aae1cc22f4
HAL_ChibiOS: updated USB device strings
...
use defaults or add in serial number
7 years ago
Andrew Tridgell
111e5b6268
HAL_ChibiOS: change USB ID for revo-mini
7 years ago
Andrew Tridgell
077aa24c6d
HAL_ChibiOS: add more pins for revo-mini port
7 years ago
Andrew Tridgell
1fb257a35a
HAL_ChibiOS: initial hwdef.dat for revo mini
7 years ago