Andrew Tridgell
748cf39116
HAL_ChibiOS: disable DMA for RCIN on Pixracer
...
this frees up DMA for USART1_RX, which gives DMA for input over the
SERIAL5 WiFi port, which is important for applications where a
pixracer is being fed vision data over WiFi
5 years ago
Andrew Tridgell
e820219202
HAL_ChibiOS: changed optimisation of higher end boards to -O2
...
-O3 does not seem to be a win, and takes up a lot more flash
5 years ago
Andrew Tridgell
5eb488303c
HAL_ChibiOS: convert Pixracer to use new sensor config
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
34a7812416
HAL_ChibiOS: use -O3 on boards with 2M flash
6 years ago
Andrew Tridgell
35db9c4b85
HAL_ChibiOS: added Pixracer docs
6 years ago
Andrew Tridgell
f0c13d4089
HAL_ChibiOS: allow user control of frsky inversion on Pixracer
6 years ago
Andrew Tridgell
e3a01c661f
HAL_ChibiOS: switched to USB for console on pixracer
6 years ago
Andrew Tridgell
6dd44a6d35
HAL_ChibiOS: fixed LED mapping for fmuv4
6 years ago
Andrew Tridgell
db9a8f16ed
HAL_ChibiOS: enable terrain on Pixracer, minpx-v2 and mini-pix
7 years ago
Andrew Tridgell
caa553e727
HAL_ChibiOS: fixed internal i2c mask for Pixracer
7 years ago
Andrew Tridgell
dd059b89f3
HAL_ChibiOS: added uartG for fmuv4 and fmuv5
7 years ago
Andrew Tridgell
54dc67e2a9
HAL_ChibiOS: default bootloader product string to XX-BL
7 years ago
Andrew Tridgell
f7f9d2b0e7
HAL_ChibiOS: added fmuv4 bootloader hwdef-bl.dat
7 years ago
Andrew Tridgell
a8f99882ba
HAL_ChibiOS: allow FrSky_INV to be controlled as GPIO
...
this allows control via relay settings
7 years ago
Andrew Tridgell
bb0cbd15a4
HAL_ChibiOS: implement fmuv4 safety state
...
and added safety_mask and safety_pwm support for both fmuv3 and fmuv4
7 years ago
Andrew Tridgell
f2df171fdd
HAL_ChibiOS: fixed DSM input on fmuv4
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
Andrew Tridgell
66608e8cad
HAL_ChibiOS: improved mini-pix support
7 years ago
Mark Whitehorn
8b216cf182
AP_HAL_ChibiOS: add ToneAlarm thread
...
fmuv4 hwdef.dat: remove PWM label from buzzer output pin
add buzzer pin labeled ALARM
remove timer PWM from HAL_PWM_GROUPs
7 years ago
Andrew Tridgell
10f940c8d0
HAL_ChibiOS: adjust RCIN pin settings for fmuv4
...
thanks to Mark for this change
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
aae1cc22f4
HAL_ChibiOS: updated USB device strings
...
use defaults or add in serial number
7 years ago
Andrew Tridgell
19e1349d0a
HAL_ChibiOS: setup serial5 for fmuv3 ESP8266
7 years ago
Andrew Tridgell
560948dc69
HAL_ChibiOS: fixed GPIOs for ESP8266 port
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
88f11f5a50
HAL_ChibiOS: added HAL_I2C_BUS_BASE
...
this allows fmuv4 to start at bus 1
7 years ago
Andrew Tridgell
f50f427a59
HAL_ChibiOS: added comment on beta fmuv4 board
7 years ago
bugobliterator
1970d8a2c8
HAL_ChibiOS: use common RCIN pin for fmuv4
7 years ago
bugobliterator
445ba6ed39
HAL_ChibiOS: update ppm to use Extended ICU driver
7 years ago
Andrew Tridgell
7e44b06440
HAL_ChibiOS: adjust SPI clock rates on FMUv4
...
this prevents some timing errors on the IMUs
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
daa9eec836
HAL_ChibiOS: auto-configure timer channels
...
allow for one marked PPMIN for input
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
9f5e01d20a
HAL_Chibios: fixed FMUv4 compasses
7 years ago
Andrew Tridgell
2646b9ef33
HAL_Chibios: matched debug port speed to NuttX
7 years ago
Andrew Tridgell
c3435e45c5
HAL_ChibiOS: initial port to FMUv4
7 years ago