Andrew Tridgell
8eff43a352
HAL_ChibiOS: fixed printf arguments
7 years ago
Andrew Tridgell
aee6462deb
HAL_ChibiOS: enable I2C clearing on F412 board only
...
may be needed on other boards in the future, but for now we only know
its needed on an I2C 20789, which is rare
7 years ago
Siddharth Purohit
40142e5aef
ChibiOS: implement way to clear i2c bus by toggling clock line
7 years ago
Andrew Tridgell
0d089e8116
HAL_ChibiOS: fixed F412 OF reset pin
7 years ago
Andrew Tridgell
3c3389a005
HAL_ChibiOS: raise I2C bus priority on F412
...
needed for good scheduling with I2C IMU
7 years ago
Andrew Tridgell
20a008c80a
HAL_ChibiOS: disable trace buffers
...
these were unusued but still allocated
7 years ago
Andrew Tridgell
875008f2a6
HAL_ChibiOS: lock all DMA channels on reboot
...
this fixes a problem with the ICM-20789 on I2C where a reboot while the bus is active
leaves the IMU in a dead state where it can't be recovered without a power cycle.
7 years ago
Andrew Tridgell
6faace278a
HAL_ChibiOS: run i2c at 400kHz on F412
7 years ago
Andrew Tridgell
9f53ae1ea4
HAL_ChibiOS: added F412-rev1 hwdef.dat
7 years ago
Andrew Tridgell
47ce37f463
HAL_ChibiOS: report I2C clock downgrades
7 years ago
Andrew Tridgell
73418519eb
HAL_ChibiOS: enable analog debug on F412
7 years ago
Andrew Tridgell
fd824e6258
HAL_ChibiOS: enable toy mode on F412
7 years ago
Andrew Tridgell
d208dc69d3
Tools: moved make_abin.sh into ChibiOS scripts
7 years ago
Andrew Tridgell
4aa604a193
HAL_ChibiOS: enable pixartflow on skyviper-V2450
7 years ago
Andrew Tridgell
591e0c2249
HAL_ChibiOS: allow control of interrupt port
...
F412 has radio IRQ on port B
7 years ago
Andrew Tridgell
3cacb1d4b5
HAL_ChibiOS: commented the motor order in hwdef
7 years ago
Andrew Tridgell
f3f6972fc0
HAL_ChibiOS: output panics on system console
7 years ago
Andrew Tridgell
75226ba187
HAL_ChibiOS: enable logging on MindPX-v2
...
not working yet, seems to be a problem with SDIO interface
7 years ago
Andrew Tridgell
4548fd4d2f
HAL_ChibiOS: changed RCIN to PULLDOWN
...
this fixes a high cpu load with no receiver connected
7 years ago
Andrew Tridgell
86189393a7
HAL_ChibiOS: fixed build warnings
7 years ago
Andrew Tridgell
4886ffbf8a
HAL_ChibiOS: fixed build warnings
7 years ago
Andrew Tridgell
30e4323c6d
HAL_ChibiOS: disable USART1 till USB problem solved
...
using USART1 causes USB disconnects. The behaviour is like CTS/RTS is
enabled on USART1, but it is disabled.
7 years ago
Andrew Tridgell
d0eb2970c7
HAL_ChibiOS: ensure RTS and CTS are both disabled for no flow control
7 years ago
Andrew Tridgell
82f1f462ae
HAL_ChibiOS: ensure we don't init a uart driver twice
7 years ago
Andrew Tridgell
ad5a04fc89
HAL_ChibiOS: added NODMA option
...
this allows a peripheral to be configured without DMA (for low-use
UARTs)
7 years ago
Andrew Tridgell
74f4d5a3c9
HAL_ChibiOS: push MPU6500 to 4MHz on mindpx-v2
7 years ago
Andrew Tridgell
f1ce321a2f
HAL_ChibiOS: added checking of bus owner
...
this ensures all bus transfers are only done by the thread that owns
the semaphore
7 years ago
Andrew Tridgell
fa68210210
HAL_ChibiOS: fixed build with older compilers
7 years ago
Andrew Tridgell
626632989e
HAL_ChibiOS: fixed build for boards with no USB
7 years ago
Andrew Tridgell
41758348e5
HAL_ChibiOS: added checking of lock state in shared_dma
...
and use lock around check for tx completion in UART handler
7 years ago
Andrew Tridgell
dce4c90467
HAL_ChibiOS: moved UART thread to UART driver
...
use an event model for triggering sends from tx complete DMA handler
for unbuffered uarts
7 years ago
Andrew Tridgell
5fc12f82fb
HAL_ChibiOS: expanded interrupt stack to 256
...
this is very conservative, and may be trimmed later based on analysis
of stack usage
7 years ago
Andrew Tridgell
aae1cc22f4
HAL_ChibiOS: updated USB device strings
...
use defaults or add in serial number
7 years ago
Andrew Tridgell
4b8bde746e
HAL_ChibiOS: improved default USB strings
...
use board name and serial number to make IDs unique
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
7e19f49e42
HAL_ChibiOS: fixed DMA lock in SoftSigReader
7 years ago
Andrew Tridgell
1aa6a0068a
HAL_ChibiOS: fixed order of I2C DMA
...
this was harmless, but confusing for debugging
7 years ago
Andrew Tridgell
111e5b6268
HAL_ChibiOS: change USB ID for revo-mini
7 years ago
Andrew Tridgell
4d018cf5e2
HAL_ChibiOS: take lock on DMA allocate/deallocate
...
this is required for the stm32_dma_stream bitmask manipulation
7 years ago
Andrew Tridgell
bc49c0d2c5
HAL_ChibiOS: make hwdef.h the same on python2 and python3
...
and output to /tmp by default to prevent accidental use of old hwdef.h
in the build
7 years ago
Andrew Tridgell
e002fbdb8d
HAL_ChibiOS: fixed a build warning
7 years ago
Andrew Tridgell
077aa24c6d
HAL_ChibiOS: add more pins for revo-mini port
7 years ago
Andrew Tridgell
e91144cc8e
HAL_ChibiOS: allow for empty UART drivers
...
allows for boards with no default GPS port
7 years ago
Andrew Tridgell
e0212ebe85
HAL_ChibiOS: cope with ETR timer channels
...
trean the ETR capability as a separate AF
7 years ago
Andrew Tridgell
c1df2a8a4b
HAL_ChibiOS: cope with timers 10 and later
7 years ago
Andrew Tridgell
d191b37520
HAL_ChibiOS: cope with having no ADC inputs
7 years ago
Andrew Tridgell
87389e0fdc
HAL_ChibiOS: fixed double DMA allocation on i2c
7 years ago
Andrew Tridgell
19e1349d0a
HAL_ChibiOS: setup serial5 for fmuv3 ESP8266
7 years ago
Andrew Tridgell
560948dc69
HAL_ChibiOS: fixed GPIOs for ESP8266 port
7 years ago
Andrew Tridgell
fa96e23552
HAL_ChibiOS: setup correct volt and current pins
...
use hwdef.dat to specify battery pins
7 years ago