Andrew Tridgell
0258c5baf4
waf: added AP_Radio to build
7 years ago
Andrew Tridgell
be002665cf
AP_Radio: implement CYRF6936 direct attached radio
...
implement DSM2 and DSMX compatible protocols
7 years ago
Andrew Tridgell
b9e5649888
AP_InertialSensor: support PCNC1
7 years ago
Andrew Tridgell
2cc0f25ca0
AP_Compass: support PCNC1
7 years ago
Andrew Tridgell
b2172a0475
AP_Baro: support PCNC1
7 years ago
Peter Barker
12a3cc1179
AP_Baro: use Invensense defines when configuring ICM20789 IMU part
7 years ago
Peter Barker
71cf3941a7
AP_InertialSensor: move Invensense register defines into separate file
7 years ago
Peter Barker
3ee112843c
AP_InertialSensor: configure bypass for 20789 like we do for AK8963
7 years ago
Peter Barker
5d94172ada
AP_InertialSensor: remove clearing of BIT_USER_CTRL_I2C_MST_EN bit in user_ctrl
...
This bit should never be set on 20789
7 years ago
Peter Barker
3a0c5bed85
AP_Baro: ICM20789: example fixes
7 years ago
Peter Barker
bf95be96f3
AP_Baro: ICM20789: stop dev_icm being an instance variable
7 years ago
Peter Barker
c56486a39e
AP_Baro: remove pointless destructor overrides
7 years ago
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