Michael du Breuil
3aee083540
AP_HAL_ChibiOS: Fix FMUv2 LED lighting up
6 years ago
Mark Whitehorn
86b7adf68f
AP_HAL_Chibios: fix fmuv3/hwdef.dat printf/STDOUT description and clean up
7 years ago
Lucas De Marchi
20778f73f1
AP_HAL_ChibiOS: define HAL_HAVE_SAFETY_SWITCH accordingly
7 years ago
Andrew Tridgell
721f5d86b1
HAL_ChibiOS: fixed mRoX21 IMU setup
7 years ago
Randy Mackay
af6c5ebda1
AP_HAL_ChibiOS: reduce default BRD_PWM_COUNT to 4 for fmv3
...
also default relay pins to use aux out 5 and 6
7 years ago
Andrew Tridgell
d1caa86e12
HAL_ChibiOS: adjust DMA priorities for fmuv3
7 years ago
Michael du Breuil
3a62bca7d0
AP_HAL_ChibiOS: Make redefined pins an error, fix FMUv3
7 years ago
Andrew Tridgell
3749480dd8
HAL_ChibiOS: create ap_romfs_embedded.h
...
use ROMFS keywork for romfs files
7 years ago
Andrew Tridgell
b4aeffbaed
HAL_ChibiOS: added power status flags reporting
7 years ago
Andrew Tridgell
9b22e0b7cc
HAL_ChibiOS: fixed SPI rates on fmuv3
...
this fixes a SPI bandwidth issue on PH2.1 with 3 IMUs active
7 years ago
Andrew Tridgell
67bae2669b
HAL_ChibiOS: enable serial5 on fmuv3
7 years ago
Andrew Tridgell
93111dc0b1
HAL_ChibiOS: ensure that IO UART gets DMA
7 years ago
Andrew Tridgell
961a97a8c9
HAL_ChibiOS: expand docs on STDOUT_SERIAL
7 years ago
Andrew Tridgell
0cd6c9e5fb
HAL_ChibiOS: added commented block on enable debug for builds
7 years ago
Andrew Tridgell
74ed19f460
HAL_ChibiOS: moved more board setup into hwdef.dat
7 years ago
Andrew Tridgell
ebbd15ea17
HAL_ChibiOS: auto-enable CAN when pins are defined
7 years ago
Andrew Tridgell
11cfa5fd01
HAL_ChibiOS: correct LSM9DS0 bus IDs to match HAL_PX4
7 years ago
Andrew Tridgell
4d0c3b6581
HAL_ChibiOS: added pixartPC15 SPI device for SPI01
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
f357eec78b
HAL_ChibiOS: added more comments in hwdef.dat
7 years ago
Andrew Tridgell
9a95737d7d
HAL_ChibiOS: added lots of comments to FMUv3 hwdef.dat
...
this should help for developers of new boards
7 years ago
Mark Whitehorn
6baad37e47
AP_HAL_ChibiOS: add ICM208060-am to SPI device table in fmuv3/hwdef.dat
7 years ago
Mark Whitehorn
3a40ba1d3e
AP_HAL_ChibiOS: add buzzer support to hwdef.dat for fmuv3
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
Siddharth Purohit
6f21c1583f
HAL_ChibiOS: add definitions to support uavcan in fmuv3
7 years ago
Andrew Tridgell
a5bafb399f
HAL_ChibiOS: adjust SPI pin speeds
7 years ago
Andrew Tridgell
7b251c9739
HAL_ChibiOS: lower FRAM CS speed to 2MHz
...
this matches old firmware
7 years ago
Andrew Tridgell
30fd2da108
HAL_ChibiOS: enable RTSCTS and SBUS_OUT
7 years ago
Andrew Tridgell
25f13ed518
HAL_Chibios: adjust MPU9250 clock speed down
...
this helps with fast sampling enabled
7 years ago
Andrew Tridgell
dd59a5ff57
HAL_ChibiOS: adjust external bus clock for mpu9250
...
this fixes an issue with fast sampling on the PH2.1 cube
7 years ago
Andrew Tridgell
e120e912f1
HAL_ChibiOS: moved board defines to hwdef.dat
7 years ago
Andrew Tridgell
cde930f5c8
HAL_ChibiOS: added skyviper-v2450 hwdef config
7 years ago
Andrew Tridgell
867e7ebf71
HAL_ChibiOS: auto-generate GPIO table from hwdef.dat
7 years ago
Andrew Tridgell
fbe8166c71
HAL_ChibiOS: auto-generate AnalogIn pin table
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
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
2646b9ef33
HAL_Chibios: matched debug port speed to NuttX
7 years ago
Andrew Tridgell
c3435e45c5
HAL_ChibiOS: initial port to FMUv4
7 years ago
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
7 years ago