Andrew Tridgell
0d089e8116
HAL_ChibiOS: fixed F412 OF reset pin
2018-02-08 17:36:33 +11:00
Andrew Tridgell
eeff485a39
AP_Radio: fixed timing of telem packets
2018-02-08 17:36:33 +11:00
Andrew Tridgell
240b6d57f7
AP_Radio: added SRT packet formats for cc2500
2018-02-08 17:36:33 +11:00
Andrew Tridgell
2b9dd0b394
AP_Radio: fixed startup with stored bind info
2018-02-08 17:36:33 +11:00
Andrew Tridgell
3c3389a005
HAL_ChibiOS: raise I2C bus priority on F412
...
needed for good scheduling with I2C IMU
2018-02-08 17:36:33 +11:00
Andrew Tridgell
20a008c80a
HAL_ChibiOS: disable trace buffers
...
these were unusued but still allocated
2018-02-08 17:36:33 +11:00
Andrew Tridgell
b380143349
AP_InertialSensor: improved handling of I2C invensense sensor
...
on I2C the lower bus bandwidth changes the tradeoffs
2018-02-08 17:36:33 +11:00
Andrew Tridgell
b33c815e96
AP_InertialSensor: added whoami for prototype 20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell
58dfca8ccd
Sub: pass loop rate to perf_info
2018-02-08 17:36:33 +11:00
Andrew Tridgell
daf35f7a30
Copter: pass loop rate to perf_info
2018-02-08 17:36:33 +11:00
Andrew Tridgell
b3ed8fd3f9
AP_Scheduler: scale perf_info with loop rate
...
this allows it to be used for a wide range of loop rates
2018-02-08 17:36:33 +11:00
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.
2018-02-08 17:36:33 +11:00
Andrew Tridgell
32ddbca428
AP_Radio: do cypress sends as single transfer
...
this prevents timing errors to cypress chip on packet send
2018-02-08 17:36:33 +11:00
Andrew Tridgell
65f4c0ba50
AP_Radio: improved timeout abstraction in cypress driver
2018-02-08 17:36:33 +11:00
Andrew Tridgell
6faace278a
HAL_ChibiOS: run i2c at 400kHz on F412
2018-02-08 17:36:33 +11:00
Andrew Tridgell
907728e323
AP_Radio: prevent crash if cc2500 device not found
2018-02-08 17:36:33 +11:00
Andrew Tridgell
9f53ae1ea4
HAL_ChibiOS: added F412-rev1 hwdef.dat
2018-02-08 17:36:33 +11:00
Andrew Tridgell
ad8db6cda3
AP_InertialSensor: added sensor type ICM20789_SPI
2018-02-08 17:36:33 +11:00
Andrew Tridgell
2c8e6bb834
AP_Compass: use generic defines for BMM150
2018-02-08 17:36:33 +11:00
Andrew Tridgell
00d3c158db
AP_Baro: use generic defines for 20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell
6bc3d126bb
AP_HAL: added sensor defines for BMM150 and ICM20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell
2db74a642b
waf: added skyviper-f412-rev1 board
...
older board with SPI 20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell
47ce37f463
HAL_ChibiOS: report I2C clock downgrades
2018-02-08 17:36:33 +11:00
Andrew Tridgell
76703a80c4
Frame_params: disable unpopulated serial ports
2018-02-08 17:36:33 +11:00
Andrew Tridgell
8dcf89b2b7
AP_Scheduler: put scheduler debug on console
2018-02-08 17:36:33 +11:00
Andrew Tridgell
73418519eb
HAL_ChibiOS: enable analog debug on F412
2018-02-08 17:36:33 +11:00
Andrew Tridgell
fd824e6258
HAL_ChibiOS: enable toy mode on F412
2018-02-08 17:36:33 +11:00
Andrew Tridgell
3b5bb3cae2
Frame_params: default to CC2500 radio for F412
2018-02-08 17:36:33 +11:00
Andrew Tridgell
5a210a697e
Copter: fixed flowhold build
2018-02-08 17:36:33 +11:00
Andrew Tridgell
b0c16f7eb9
waf: auto-build abin files for ChibiOS
2018-02-08 17:36:33 +11:00
Andrew Tridgell
d208dc69d3
Tools: moved make_abin.sh into ChibiOS scripts
2018-02-08 17:36:33 +11:00
Andrew Tridgell
cc8a37b2fc
AP_Radio: pack telemetry structures
2018-02-08 17:36:33 +11:00
Andrew Tridgell
4aa604a193
HAL_ChibiOS: enable pixartflow on skyviper-V2450
2018-02-08 17:36:33 +11:00
Andrew Tridgell
429a2beb86
AP_OpticalFlow: enable pixart flow on PCNC1 boards
2018-02-08 17:36:33 +11:00
Andrew Tridgell
5eb29f94ce
Frame_Params: update config for Skyviper-2450
2018-02-08 17:36:33 +11:00
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
2018-02-08 17:36:33 +11:00
Andrew Tridgell
8f1e8e787a
GCS_MAVLink: added DATA96 hook for AP_Radio
2018-02-08 17:36:33 +11:00
Andrew Tridgell
779de02acb
waf: disable double-promotion warnings on ChibiOS
...
these are not useful
2018-02-08 17:36:33 +11:00
Andrew Tridgell
f442b91ea5
Copter: added FLOWHOLD flight mode
...
This flight mode allows for position hold with optical flow without
needing a rangefinder for height. It can estimate its height from the
flow data and IMU
2018-02-08 17:36:33 +11:00
Andrew Tridgell
0b5e3936fe
AP_AHRS: added earth to body 2D rotations
2018-02-08 17:36:33 +11:00
Andrew Tridgell
9cce1e0733
StorageManager: expanded bind info to 56 bytes
...
cc2500 needs a larger bind area
2018-02-08 17:36:33 +11:00
Andrew Tridgell
7ac6df6f3e
AP_Radio: use GDO2 for IRQ on cc2500
2018-02-08 17:36:33 +11:00
Andrew Tridgell
3456d67b2f
AP_Radio: some boards won't have a radio reset pin
2018-02-08 17:36:33 +11:00
Andrew Tridgell
591e0c2249
HAL_ChibiOS: allow control of interrupt port
...
F412 has radio IRQ on port B
2018-02-08 17:36:33 +11:00
Andrew Tridgell
3cacb1d4b5
HAL_ChibiOS: commented the motor order in hwdef
2018-02-08 17:36:33 +11:00
Andrew Tridgell
674bf12f6e
Frame_params: fixed ordering of F412 motors
2018-02-08 17:36:33 +11:00
Andrew Tridgell
4e8f8e88d9
AP_TempCalibration: fixed degC units
2018-02-08 17:36:33 +11:00
Andrew Tridgell
42b2843032
AP_Radio: removed obsolete example code
2018-02-08 17:36:33 +11:00
Andrew Tridgell
570a05e9d3
AP_OpticalFlow: fixed pixart SPI name
2018-02-08 17:36:33 +11:00
Andrew Tridgell
3f7934d082
AP_Radio: improvements to cc2500 driver
2018-02-08 17:36:33 +11:00