Andrew Tridgell
0d31e614ed
HAL_ChibiOS: added ALT(1) configs for more boards
...
this allows more boards to use the FPort protocol
5 years ago
Andrew Tridgell
d422825715
HAL_ChibiOS: removed per-board AP_FEATURE_RTSCTS and AP_FEATURE_SBUS_OUT
...
not needed any more
5 years ago
Andrew Tridgell
4548aa162b
HAL_ChibiOS: convert mindpx-v2
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
7577ebb33e
HAL_ChibiOS: added bootloader hwdef for mindpx-v2
6 years ago
Andrew Tridgell
b346d82f96
HAL_ChibiOS: allow frsky invert for p3pro and mindpx-v2
6 years ago
Andrew Tridgell
24ba876e88
HAL_ChibiOS: don't use STDOUT_SERIAL on mindpx-v2 or cube-red
...
better to use USB, giving us one more uart
6 years ago
Andrew Tridgell
db9a8f16ed
HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix
7 years ago
Lucas De Marchi
20778f73f1
AP_HAL_ChibiOS: define HAL_HAVE_SAFETY_SWITCH accordingly
7 years ago
Andrew Tridgell
95aaa01014
HAL_ChibiOS: override COMPASS_AUTO_ROT on several boards
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
7c85d06600
HAL_ChibiOS: setup pwm counts, and cleanup mindpx-v2 PWM lines
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
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
Mark Whitehorn
d569e35a0f
AP_HAL_ChibiOS: add toneAlarm support for ChibiOS on MindPX-v2
7 years ago
Andrew Tridgell
75226ba187
HAL_ChibiOS: enable logging on MindPX-v2
...
not working yet, seems to be a problem with SDIO interface
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
74f4d5a3c9
HAL_ChibiOS: push MPU6500 to 4MHz on mindpx-v2
7 years ago
Andrew Tridgell
aae1cc22f4
HAL_ChibiOS: updated USB device strings
...
use defaults or add in serial number
7 years ago
Andrew Tridgell
fa96e23552
HAL_ChibiOS: setup correct volt and current pins
...
use hwdef.dat to specify battery pins
7 years ago
Andrew Tridgell
30fd2da108
HAL_ChibiOS: enable RTSCTS and SBUS_OUT
7 years ago
Andrew Tridgell
613d7a47ba
HAL_ChibiOS: support RCIN on mindpx-v2
7 years ago
Andrew Tridgell
e120e912f1
HAL_ChibiOS: moved board defines to hwdef.dat
7 years ago
Andrew Tridgell
ef1a14cc6c
HAL_ChibiOS: fixed 5V analog scale on fmuv4 and mindpx-v2
7 years ago
Andrew Tridgell
867e7ebf71
HAL_ChibiOS: auto-generate GPIO table from hwdef.dat
7 years ago
Andrew Tridgell
6e4ef32628
HAL_ChibiOS: moved to generated loader script
7 years ago
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
7 years ago
Andrew Tridgell
c639708e22
HAL_ChibOS: auto-generate full PWM config
...
use PWM markers in hwdef.dat to mark each PWM channel
7 years ago
Andrew Tridgell
d65ec2ada7
HAL_ChibiOS: moved more headers to common
...
allow customisation, but don't require every port to copy the defaults
7 years ago
Andrew Tridgell
960bc40ff3
HAL_ChibiOS: moved to a common mcuconf.h
7 years ago
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
7 years ago
Andrew Tridgell
58796ff435
HAL_Chibios: moved SPI device tables to hwdef.dat
7 years ago
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
7 years ago
Andrew Tridgell
280140bf25
HAL_ChibiOS: added support for MindPX-v2
7 years ago