Mirko Denecke
b84dcd483d
AP_HAL_ChibiOS: remove unnecessary tabs and whitespaces
5 years ago
Andrew Tridgell
adf7fefc2e
HAL_ChibiOS: detect stuck I2C bus and clear with SCL
...
This detects the I2C bus becoming stuck with SDA low after a timeout
and clears the bus by toggling SCL. Many thanks to @jhw84 for the
suggestion
6 years ago
Andrew Tridgell
d3af854949
HAL_ChibiOS: fixed bootloader build
7 years ago
Andrew Tridgell
13f96bcb00
HAL_ChibiOS: fixed an i2c dma callback bug
...
many thanks to Kelly-Foster for chasing me on this one!
7 years ago
Andrew Tridgell
4f9bd50038
HAL_ChibiOS: implement I2C bus masks
7 years ago
Andrew Tridgell
a945c97ec6
HAL_ChibiOS: fixed 3-way DMA sharing bug
...
when we have 3 way contention across two DMA streams we could get the
dma_deallocate function called in an object from two places at
once. This adds a mutex that prevents that scenario
7 years ago
mirkix
c2eee2db23
AP_HAL_ChibiOS: add STM32F7 I2C support
7 years ago
Andrew Tridgell
bc32276966
HAL_ChibiOS: support DShot output
...
use DMAR burst DMA to minimise number of DMA channels needed
thanks to betaflight for the great reference implementation!
7 years ago
Andrew Tridgell
9ab695b7ca
HAL_ChibiOS: fixed namespace error
...
thanks to Peter for noticing
7 years ago
Andrew Tridgell
306d35655e
HAL_ChibiOS: allow for bare board builds
...
this allows for a build with no UARTs, no SPI, no I2C, no PWM. Great
for initial board bringup with just USB
7 years ago
Siddharth Purohit
40142e5aef
ChibiOS: implement way to clear i2c bus by toggling clock line
7 years ago
Andrew Tridgell
23e1b2e271
HAL_ChibiOS: added paranoid state checking on I2C
...
this is here just while debugging an issue with Mark
7 years ago
Andrew Tridgell
87389e0fdc
HAL_ChibiOS: fixed double DMA allocation on i2c
7 years ago
Andrew Tridgell
36227aa126
HAL_ChibiOS: implement bus speed and smbus for I2C
...
use the slowest speed of all devices on the bus
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
José Roberto de Souza
9ee007f924
AP_HAL_PX4: Map PX4_I2C_BUS_EXPANSION1
8 years ago
Andrew Tridgell
3415dfb46c
HAL_PX4: implement split transfers for I2C
8 years ago
Andrew Tridgell
f04b186879
HAL_PX4: fixed bug in instantiation of I2C bus threads
...
we ended up with a thread per device instead of a thread per bus!
8 years ago
Andrew Tridgell
01fadb6e90
HAL_PX4: added per-device perf counter for I2C devices
8 years ago
Andrew Tridgell
1bb450c722
HAL_PX4: moved to common DeviceBus class for thread management in I2C and SPI
8 years ago
Andrew Tridgell
88df9c7029
HAL_PX4: added thread-per-bus implementation for I2C
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
e1ab44f4a3
Global: remove get_fd() from Device API
...
This was there for compatibility with I2CDriver and SPIDriver. We don't
use them anymore so we can remove the compat method.
9 years ago
Lucas De Marchi
c859c5ecd9
AP_HAL_PX4: update Device interface
9 years ago
Andrew Tridgell
1b8da3bce2
HAL_PX4: implement I2CDevice driver for PX4
9 years ago
Lucas De Marchi
5194f7e5ce
AP_HAL_Linux: I2CDevice: method to read multiple times
9 years ago
Lucas De Marchi
cd0e1dff82
AP_HAL_Linux: Add skeleton for I2CDevice
...
This adds the logic to maintain the I2CDevice's managed by I2CManager.
9 years ago
Lucas De Marchi
a117c22c34
AP_HAL_Empty: add I2CDevice
9 years ago