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
|
738d70ef02
|
HAL_ChibOS: fixed handling of disabled channels
|
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
|
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
|
468cadca45
|
HAL_ChibiOS: auto-generate UART driver declarations
|
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
|
280140bf25
|
HAL_ChibiOS: added support for MindPX-v2
|
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
|
c3435e45c5
|
HAL_ChibiOS: initial port to FMUv4
|
2018-01-15 11:46:02 +11:00 |
bugobliterator
|
5feef04f5f
|
HAL_ChibiOS: add support for CCM memory
this uses DMA bounce buffers for bus transfers, and falls back to CCM
ram in allocations if the type is unspecified
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
36227aa126
|
HAL_ChibiOS: implement bus speed and smbus for I2C
use the slowest speed of all devices on the bus
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
4b5e617673
|
HAL_ChibiOS: added missing DMA table for STM32F405
|
2018-01-15 11:46:02 +11:00 |
Peter Barker
|
f3d46506b0
|
AP_HAL_Chibios: warning fixes
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
791edee0ff
|
HAL_Chibios: added more SPI devices for FMUv3
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
755eca31c2
|
HAL_Chibios: don't unregister shared DMA
the shared DMA handle is a property of the bus, not the device, so
should not be unregistered when the device is removed
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
9812fc9574
|
HAL_Chibios: prevent creation of i2c devices on invalid bus
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
b62773bbad
|
HAL_ChibiOS: improved auto-config of ADC pins
ADC config now based on pin_scaling array
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
1cc4b92b76
|
HAL_ChibiOS: added additional FMUv3 analog pins
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
aa2175ec0c
|
HAL_ChibiOS: show ADC1 channels in hwdef.h
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
5a7e2f75d1
|
HAL_ChibiOS: added ADC1_Map to STM32 tables
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
3a004adbd4
|
HAL_Chibios: use macro for NUM_GROUPS
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
b57f8f01c6
|
HAL_Chibios: fixed return for read on invalid gpio pin
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
7971f03bde
|
Hal_Chibios: fixed F412 SPI config
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
21f40da510
|
HAL_Chibios: align GPIO pins with px4 build
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
26d6947bf6
|
HAL_ChibiOS: fixed PWM output
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
c742543565
|
HAL_Chibios: align SPI device IDs with px4 IDs
this makes for easier update to ChibiOS without redoing accelcal
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
6dbab450a5
|
Hal_Chibios: use AP_BoardConfig::io_enabled()
|
2018-01-15 11:46:02 +11:00 |
Andrew Tridgell
|
86fbdcd060
|
HAL_ChibiOS: ensure malloc returns zeroed memory
|
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 |