bugobliterator
cba98096e9
HAL_ChibiOS: move to using hardcoded heater PWM polarity in iofirmware
2019-07-25 17:05:41 +10:00
Andrew Tridgell
51e187342b
HAL_ChibiOS: move the power control changes to be only CubeBlack
...
This aims to fix #11455 . I have been unable to reproduce the issue,
which leaves me thinking it is either a bootloader difference or a hw
difference between pixhawk1 clones and real pixhawk1 boards
2019-06-09 16:56:14 +10:00
Andrew Tridgell
6333494d99
HAL_ChibiOS: disable peripheral power on boot on fmuv3
...
then enable after 100ms, and let settle for 20ms. This is to fix an
issue with peripheral power on consistency with all fmuv3 boards
Thanks to Philip for the suggestion
2019-05-11 18:45:18 +10:00
Andrew Tridgell
59652ad147
HAL_ChibiOS: added more IMU devices for Hex Cube boards
2019-03-11 12:40:21 +11:00
Michael du Breuil
3aee083540
AP_HAL_ChibiOS: Fix FMUv2 LED lighting up
2019-01-11 17:45:43 +11:00
Mark Whitehorn
86b7adf68f
AP_HAL_Chibios: fix fmuv3/hwdef.dat printf/STDOUT description and clean up
2018-08-03 13:08:37 +10:00
Lucas De Marchi
20778f73f1
AP_HAL_ChibiOS: define HAL_HAVE_SAFETY_SWITCH accordingly
2018-08-02 13:15:02 -07:00
Andrew Tridgell
721f5d86b1
HAL_ChibiOS: fixed mRoX21 IMU setup
2018-07-12 12:33:32 +10:00
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
2018-07-10 05:30:05 +10:00
Andrew Tridgell
d1caa86e12
HAL_ChibiOS: adjust DMA priorities for fmuv3
2018-06-06 07:15:41 +10:00
Michael du Breuil
3a62bca7d0
AP_HAL_ChibiOS: Make redefined pins an error, fix FMUv3
2018-05-25 09:57:18 +10:00
Andrew Tridgell
3749480dd8
HAL_ChibiOS: create ap_romfs_embedded.h
...
use ROMFS keywork for romfs files
2018-04-17 08:44:44 +10:00
Andrew Tridgell
b4aeffbaed
HAL_ChibiOS: added power status flags reporting
2018-04-09 15:32:04 +10:00
Andrew Tridgell
9b22e0b7cc
HAL_ChibiOS: fixed SPI rates on fmuv3
...
this fixes a SPI bandwidth issue on PH2.1 with 3 IMUs active
2018-04-07 09:10:29 +10:00
Andrew Tridgell
67bae2669b
HAL_ChibiOS: enable serial5 on fmuv3
2018-04-07 09:10:29 +10:00
Andrew Tridgell
93111dc0b1
HAL_ChibiOS: ensure that IO UART gets DMA
2018-04-07 09:10:29 +10:00
Andrew Tridgell
961a97a8c9
HAL_ChibiOS: expand docs on STDOUT_SERIAL
2018-03-02 21:46:23 +11:00
Andrew Tridgell
0cd6c9e5fb
HAL_ChibiOS: added commented block on enable debug for builds
2018-03-02 21:39:38 +11:00
Andrew Tridgell
74ed19f460
HAL_ChibiOS: moved more board setup into hwdef.dat
2018-03-02 12:52:50 +11:00
Andrew Tridgell
ebbd15ea17
HAL_ChibiOS: auto-enable CAN when pins are defined
2018-03-02 12:52:50 +11:00
Andrew Tridgell
11cfa5fd01
HAL_ChibiOS: correct LSM9DS0 bus IDs to match HAL_PX4
2018-02-19 15:49:32 +11:00
Andrew Tridgell
4d0c3b6581
HAL_ChibiOS: added pixartPC15 SPI device for SPI01
2018-02-14 18:27:00 +11:00
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
2018-02-14 18:27:00 +11:00
Andrew Tridgell
f357eec78b
HAL_ChibiOS: added more comments in hwdef.dat
2018-02-14 18:27:00 +11:00
Andrew Tridgell
9a95737d7d
HAL_ChibiOS: added lots of comments to FMUv3 hwdef.dat
...
this should help for developers of new boards
2018-02-14 18:27:00 +11:00
Mark Whitehorn
6baad37e47
AP_HAL_ChibiOS: add ICM208060-am to SPI device table in fmuv3/hwdef.dat
2018-02-11 14:55:23 +11:00
Mark Whitehorn
3a40ba1d3e
AP_HAL_ChibiOS: add buzzer support to hwdef.dat for fmuv3
2018-02-11 14:55:23 +11:00
Andrew Tridgell
aae1cc22f4
HAL_ChibiOS: updated USB device strings
...
use defaults or add in serial number
2018-02-07 20:33:45 +11:00
Andrew Tridgell
fa96e23552
HAL_ChibiOS: setup correct volt and current pins
...
use hwdef.dat to specify battery pins
2018-02-07 20:33:45 +11:00
Siddharth Purohit
6f21c1583f
HAL_ChibiOS: add definitions to support uavcan in fmuv3
2018-02-07 20:33:45 +11:00
Andrew Tridgell
a5bafb399f
HAL_ChibiOS: adjust SPI pin speeds
2018-02-07 20:33:45 +11:00
Andrew Tridgell
7b251c9739
HAL_ChibiOS: lower FRAM CS speed to 2MHz
...
this matches old firmware
2018-01-20 17:40:07 +11:00
Andrew Tridgell
30fd2da108
HAL_ChibiOS: enable RTSCTS and SBUS_OUT
2018-01-20 17:40:07 +11:00
Andrew Tridgell
25f13ed518
HAL_Chibios: adjust MPU9250 clock speed down
...
this helps with fast sampling enabled
2018-01-20 17:40:07 +11:00
Andrew Tridgell
dd59a5ff57
HAL_ChibiOS: adjust external bus clock for mpu9250
...
this fixes an issue with fast sampling on the PH2.1 cube
2018-01-20 17:40:07 +11:00
Andrew Tridgell
e120e912f1
HAL_ChibiOS: moved board defines to hwdef.dat
2018-01-15 11:46:02 +11:00
Andrew Tridgell
cde930f5c8
HAL_ChibiOS: added skyviper-v2450 hwdef config
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
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
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
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
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
2646b9ef33
HAL_Chibios: matched debug port speed to NuttX
2018-01-15 11:46:02 +11:00
Andrew Tridgell
c3435e45c5
HAL_ChibiOS: initial port to FMUv4
2018-01-15 11:46:02 +11:00
Andrew Tridgell
8b6bab7b17
HAL_Chibios: added ChibiOS HAL
...
this is based on initial work by Sid, reset here for easier merging
2018-01-15 11:46:02 +11:00