Peter Barker
05fb28c7f9
AP_Baro: use HAL_SEMAPHORE_BLOCK_FOREVER
7 years ago
Peter Barker
ea83a487d4
AP_Baro: create BARO_ICM20789_DEBUG and use it
7 years ago
Peter Barker
31d8b6ba64
AP_Baro: do not take semaphore if HAL_INS_MPU60x0_NAME not set
7 years ago
Andrew Tridgell
bf67153791
AP_Baro: implement ICM20789 barometer
7 years ago
Andrew Tridgell
5a4f0fed2d
AP_InertialSensor: added ICM-20789 support
7 years ago
Patrick José Pereira
6ca1c03767
Tools: Skip reinstall of existing packages in install-prereqs-arch
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
8aa00e88e2
Tools: Correct submodule update script in install-prereqs-arch
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
d73f534bc7
Tools: Check if symbolic link already exist in install-prereqs-arch
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
James Stewart
ec5faed133
GCS_MAVLink: send mission item requests to correct destination for partial updates
...
The correct destination is the GCS which last requested to update the mission (full or partial), not just the last GCS to set the mission count (full only).
7 years ago
Andrew Tridgell
33be8de1f3
ChibiOS: submodule update
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
bc96cb8a19
AP_HAL: fixed build warnings
7 years ago
Andrew Tridgell
6d734a7e58
ChibiOS: submodule update
...
update to latest stable ChibiOS release
7 years ago
Andrew Tridgell
9ceddbdab6
AP_ADSB: fixed build warning
7 years ago
Andrew Tridgell
7d2e3c0d04
AP_Notify: fixed build warning
7 years ago
Andrew Tridgell
4886ffbf8a
HAL_ChibiOS: fixed build warnings
7 years ago
Andrew Tridgell
0d8cdd2728
AP_Compass: fixed warning
7 years ago
Andrew Tridgell
662afdc2fd
Copter: fixed build warning
...
double precision promotion
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
f4521772c1
AP_InertialSensor: don't try fast sampling on a MPU6500
...
it can't do it
7 years ago
Andrew Tridgell
d575d676b6
AP_InertialSensor: fixed another transfer without bus semaphore
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
2ffb8d1583
AP_InertialSensor: fixed a bug where bus semaphore not held
...
during init of the invensense driver we could do a transfer without
the bus semaphore held. That violates the locking rules for the bus
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
13a3c56a02
waf: added board name to ChibiOS build
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
1c0b598c05
waf: fixed permissions on px_mkfw.py
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
23803df038
AP_Compass: allows boards to define orientation of HMC5843
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