Andrew Tridgell
|
cde930f5c8
|
HAL_ChibiOS: added skyviper-v2450 hwdef config
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
c8beddf1e4
|
HAL_ChibiOS: allow for includes in hwdef.dat files
this allows creation of derived boards
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
2929b3dbb1
|
HAL_ChibiOS: allow builds on systems with no SDIO
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
7b0eccc309
|
HAL_ChibiOS: updated skyviper-f412 hwdef.dat
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
60a773d045
|
HAL_ChibiOS: removed duplicate defines
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
ff87d27143
|
AP_BoardConfig: fixed return of get_pwm_count()
thanks to Michael for noticing
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
ef1a14cc6c
|
HAL_ChibiOS: fixed 5V analog scale on fmuv4 and mindpx-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
867e7ebf71
|
HAL_ChibiOS: auto-generate GPIO table from hwdef.dat
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
fbe8166c71
|
HAL_ChibiOS: auto-generate AnalogIn pin table
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
f14a847b97
|
HAL_ChibiOS: rename classes to remove 'Chibi'
it is redundent as all classes are in ChibiOS namespace, and makes the
code harder to read
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
25b68dc150
|
HAL_ChibiOS: switch base freq when needed
timers can't do below 123 Hz with a clock of 8MHz, so we need to
change clock frequency based on the target period
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
ff3b0ec1bd
|
AP_IOMCU: added set_default_rate method
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
738d70ef02
|
HAL_ChibOS: fixed handling of disabled channels
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
320ada2002
|
AP_IOMCU: fixed crash with BRD_IO_ENABLE=0
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
2978649cd4
|
waf: moved to generated loader script
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
6e4ef32628
|
HAL_ChibiOS: moved to generated loader script
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
9482ab1840
|
waf: use common makefile for ChibiOS if no custom present
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
bae9469af7
|
HAL_ChibiOS: use a common makefile and board.c
allow for custom files per board if supplied, but don't require them
for every board
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
d17e9f321a
|
HAL_ChibOS: fixed mixture of brushed and normal PWM
allow non-brushed PWM servos with brushed main motors
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
c639708e22
|
HAL_ChibOS: auto-generate full PWM config
use PWM markers in hwdef.dat to mark each PWM channel
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
b741c6c29e
|
AP_Compass: fixed build error on ChibiOS
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
daa9eec836
|
HAL_ChibiOS: auto-configure timer channels
allow for one marked PPMIN for input
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
d65ec2ada7
|
HAL_ChibiOS: moved more headers to common
allow customisation, but don't require every port to copy the defaults
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
960bc40ff3
|
HAL_ChibiOS: moved to a common mcuconf.h
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
48d2704cf4
|
HAL_ChibiOS: CS pins don't need to be a single SPI BUS
its possible to use a CS pin on different buses, so they should not
have a particular bus tag
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
a554215576
|
HAL_ChibiOS: start to cope with not having I2C, SPI and UARTs
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
f5c8754d75
|
HAL_ChibiOS: use ARRAY_SIZE_SIMPLE
this allows for boards without a device type (eg. no SPI bus)
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
7aeab8f5a8
|
AP_Common: added ARRAY_SIZE_SIMPLE()
this works with zero length arrays
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
468cadca45
|
HAL_ChibiOS: auto-generate UART driver declarations
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
8e87c30a33
|
AP_Compass: fixed MindPX-v2 compass orientations
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
8ab35e8aca
|
AP_InertialSensor: fixed MindPX-v2 orientation of IMU2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
58796ff435
|
HAL_Chibios: moved SPI device tables to hwdef.dat
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
d1f93cd66c
|
HAL_Chibios: auto-generate I2C, SPI and UART device lists
this is less error prone and make a port faster as more information is
in hwdef.dat
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
c80149123f
|
AP_HAL: use hwdef.h for config options in chibios
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
dcab40459d
|
AP_InertialSensor: support MindPX-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
8699b6233a
|
AP_HAL: support MindPX-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
36a141f9f1
|
AP_Compass: support MindPX-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
5458377e67
|
AP_BoardConfig: support MindPX-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
51f9f087ab
|
AP_Baro: support MindPX-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
280140bf25
|
HAL_ChibiOS: added support for MindPX-v2
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
febe414766
|
AP_InertialSensor: disable fast sampling on 2nd IMU on Pixracer
it also hosts a mag, and gets lots of FIFO resets if we try to run it
at 8kHz
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
9f5e01d20a
|
HAL_Chibios: fixed FMUv4 compasses
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
2646b9ef33
|
HAL_Chibios: matched debug port speed to NuttX
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
41be81af34
|
HAL_Chibios: added hardware flow control for UARTs
implement RTS in software and CTS in hardware
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
9916a93919
|
HAL_ChibiOS: fixed I2C device list
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
f135e73e04
|
HAL_ChibiOS: F412 doesn't have CCM ram
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
85f4958e4e
|
AP_OpticalFlow: use AP_FEATURE_BOARD_DETECT
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
3fc095589c
|
AP_InertialSensor: support ChibiOS FMUv4
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
0b6659b36a
|
AP_Baro: support ChibiOS FMUv4
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
02c3bea5a5
|
AP_BoardConfig: support ChibiOS FMUv4
|
2018-01-15 11:46:02 +11:00 |