Andrew Tridgell
|
87389e0fdc
|
HAL_ChibiOS: fixed double DMA allocation on i2c
|
2018-02-07 20:33:45 +11:00 |
Andrew Tridgell
|
63671b06a8
|
HAL_ChibiOS: added HAL_I2C_MAX_CLOCK define
|
2018-01-20 17:40:07 +11:00 |
Andrew Tridgell
|
88f11f5a50
|
HAL_ChibiOS: added HAL_I2C_BUS_BASE
this allows fmuv4 to start at bus 1
|
2018-01-20 17:40:07 +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
|
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
|
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
|
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
|
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 |