Michael du Breuil
8e8e9a5a58
AP_Notify: Delete drivers that are not present
2018-06-27 15:25:44 +10:00
Michael du Breuil
d0cd37fabb
AP_Notify: Reduce flash consumption, remove unneeded middleware classes
2018-06-27 15:25:44 +10:00
Andrew Tridgell
10533fb249
HAL_ChibiOS: enable OSD font on OMNIBUSF7V2
2018-06-27 14:55:00 +10:00
Andrew Tridgell
ea3467348e
AP_OSD: fixed typo
2018-06-27 14:55:00 +10:00
Andrew Tridgell
a86c4d27e1
AP_OSD: fixed CI build error
2018-06-27 14:55:00 +10:00
vierfuffzig
aeaf695d83
AP_OSD: add ground speed item
2018-06-27 14:55:00 +10:00
Alexander Malishev
fcd351b5c0
AP_OSD: fixed gps stat and messages items, reformat
2018-06-27 14:55:00 +10:00
Alexander Malishev
af96673004
AP_OSD: added screen switch by rc channel
2018-06-27 14:55:00 +10:00
Alexander Malishev
e487f37fd7
HAL_ChibiOS: added font check on startup
...
Based on Andrew Tridgell suggestion
2018-06-27 14:55:00 +10:00
Alexander Malishev
79b289f97e
HAL_ChibiOS: reverted change in omnibus hwdef.dat
2018-06-27 14:55:00 +10:00
Andrew Tridgell
43d0a61da0
AP_OSD: fixed build
2018-06-27 14:55:00 +10:00
Andrew Tridgell
76fd0962e7
AP_OSD: fixes from review comments
2018-06-27 14:55:00 +10:00
Andrew Tridgell
06fdc50169
AP_OSD: switched to 2-d arrays
...
makes it a bit easier to read
2018-06-27 14:55:00 +10:00
Andrew Tridgell
2fb63828bb
AP_OSD: use fixed array sizes
...
the allocation didn't win anything as the backend is already allocated
2018-06-27 14:55:00 +10:00
Andrew Tridgell
2c29d1c297
AP_OSD: tidy ups
2018-06-27 14:55:00 +10:00
Andrew Tridgell
5dc3515c83
AP_OSD: fixed X range
2018-06-27 14:55:00 +10:00
Andrew Tridgell
8f8107d13f
AP_OSD: moved to new parameter system
2018-06-27 14:55:00 +10:00
Andrew Tridgell
8e8508a9f3
HAL_ChibiOS: enable OSD for MatekF405
2018-06-27 14:55:00 +10:00
Andrew Tridgell
cf19e7a3ae
HAL_ChibiOS: enabled OSD on KakuteF4
2018-06-27 14:55:00 +10:00
Alexander Malishev
c1d82a43c5
AP_OSD: initial version
2018-06-27 14:55:00 +10:00
Alexander Malishev
568e5a24b4
AP_Notify: initial OSD support
2018-06-27 14:55:00 +10:00
Alexander Malishev
8ce7ef1342
HAL_ChibiOS: added OSD support for MatekF405 and Omnibuspro
2018-06-27 14:55:00 +10:00
Andrew Tridgell
35f835a021
HAL_ChibiOS: improved OMNIBUSF7V2 support
2018-06-27 13:01:30 +10:00
Andrew Tridgell
7cce23671a
HAL_CbibiOS: removed unnecessary BOARD_SUBTYPE define
...
just causes build warnings
2018-06-27 11:37:45 +10:00
Andrew Tridgell
5bf078cc86
HAL_ChibiOS: fixed build with -Werror-sign-compare
2018-06-27 11:37:45 +10:00
Alexander Malishev
14db344c12
AP_RCProtocol: improve s-bus parsing
...
This relax s-bus timing requirement to allow not so perfect signals.
Fixes s-bus on s-bus pin in matekf405-wing
Also fixed comment a bit
2018-06-27 09:10:11 +10:00
Lucas De Marchi
49d08ba72a
Global: remove minlure
...
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.
It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Lucas De Marchi
d31e85e738
AP_HAL_Linux: fix copy and paste error on gpio table
2018-06-26 07:32:08 -07:00
Peter Barker
9eb53e333b
AP_Compass: tidy consistency calculations
...
AP_Compass: normalize vectors in-place to save a few bytes (thanks MdB)
2018-06-26 18:37:55 +10:00
Michael du Breuil
a92c4aa9fd
AP_HAL: Update comment on UARTDriver::begin to reflect automatic
...
clearing
2018-06-26 02:18:18 +01:00
Michael du Breuil
3af6b78d67
AP_HAL_VRBrain: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
8680f1ab52
AP_HAL_SITL: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
512939a839
AP_HAL_PX4: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
7043738f3b
AP_HAL_Linux: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
153ee6ca8e
AP_HAL_ChibiOS: Clear UART buffers when opening a port
2018-06-26 02:18:18 +01:00
Michael du Breuil
037e53ba8a
AP_HAL_ChibiOS: Reduce flash space of UARTDriver
...
Saves 32 bytes
2018-06-26 02:18:18 +01:00
Peter Barker
e7e0ee0b50
AP_Proximity: add methods covering sensor health, enable and present
2018-06-26 10:25:28 +10:00
Pierre Kancir
bffe3f6c21
AC_WPNav: add getter for crosstrack_error
2018-06-26 08:42:14 +09:00
Michael du Breuil
d977ca091a
AP_Arming: Correct an edge case that would not run compass checks
2018-06-26 09:26:29 +10:00
Patrick José Pereira
cd5c59773b
AP_HAL_SITL: Use SITL, baro, INS and compass singletons
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
a4d8ed4b75
AP_HAL_SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
ae378f0fb3
SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
f68b07df1f
SITL: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
00cb588257
AP_RPM: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
50613c3800
AP_Proximity: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
653784479e
AP_OpticalFlow: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
0c06bf89e5
AP_InertialSensor: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
e456655932
AP_Compass: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
37fbd6aaa1
AP_Beacon: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
4ae6bd2c7e
AP_Baro: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Patrick José Pereira
819f08b7f7
AP_AHRS: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Andrew Tridgell
a0b4553a26
HAL_ChibiOS: fixed bootloader build issue
2018-06-25 21:22:31 +10:00
Andrew Tridgell
bf6fb72904
HAL_ChibiOS: fixed 32 bit flash writes
2018-06-25 21:22:31 +10:00
Andrew Tridgell
f71d2a7417
HAL_ChibiOS: support bootloaders with no uarts
2018-06-25 21:22:31 +10:00
Andrew Tridgell
277836ccc7
HAL_ChibiOS: added bootloader definition for fmuv3
...
including UART support on 2 UARTs
2018-06-25 21:22:31 +10:00
Andrew Tridgell
e40457d98f
HAL_ChibiOS: avoid malloc in usbcfg
...
this avoids the need for malloc in the bootloader
2018-06-25 21:22:31 +10:00
Andrew Tridgell
369ac5edd0
HAL_ChibiOS: save more space in the bootloader
2018-06-25 21:22:31 +10:00
Andrew Tridgell
e870b5f00a
HAL_ChibiOS: use 32 bit flash operations when possible
2018-06-25 21:22:31 +10:00
Andrew Tridgell
feefa05b41
HAL_ChibiOS: expose stm32_flash_ispageerased()
2018-06-25 21:22:31 +10:00
Andrew Tridgell
dd1bd43a2e
HAL_ChibiOS: added stm32_flash_keep_unlocked()
2018-06-25 21:22:31 +10:00
Alexander Malishev
95f3eb5ab6
HAL_ChibiOS: stop logging before reboot
2018-06-25 17:46:20 +10:00
Alexander Malishev
cfa18b8e70
HAL_ChibiOS: reduce dataflash buffer size on targets with 128KB ram
2018-06-25 17:43:26 +10:00
Alexander Malishev
932cc4bb69
DataFlash: allow HAL to specify dataflash buffer sizes
2018-06-25 17:43:20 +10:00
Alexander Remizov
dc15cbd513
AP_GPS: fixed ublox configuration
2018-06-24 15:25:00 -07:00
Andrew Tridgell
dc0f2f9319
HAL_ChibiOS: use USB for stdout on more boards
...
don't waste a UART
2018-06-24 08:26:28 +10:00
Andrew Tridgell
2cfdc98453
HAL_ChibiOS: fixed omnibusf4pro bootloader LED pins
2018-06-24 08:26:28 +10:00
Andrew Tridgell
b149089830
HAL_ChibiOS: fixed board IDs and added more bootloaders
2018-06-24 08:26:28 +10:00
Andrew Tridgell
2f8a534243
HAL_ChibiOS: expand param storage on F4 boards with flash storage
...
this allows for a lot more param space on these boards
2018-06-24 08:26:28 +10:00
Andrew Tridgell
b983caa97e
StorageManager: allow for 15k storage
...
this is for F4 boards using flash storage. They were using 8k, but can
actually fit 16k. This is optimised for lots of param space as we
expect to have a lot of customised params for OSD support
2018-06-24 08:26:28 +10:00
Andrew Tridgell
e868a4fe8b
HAL_ChibiOS: set FLASH_RESERVE_START_KB in the environment
...
used to correctly setup an intel hex file
2018-06-23 17:06:38 +10:00
Andrew Tridgell
1c807e0078
HAL_ChibiOS: added option to limit size of bootloader
...
this will ensure our F4 bootloaders stay under 16k
2018-06-23 17:06:38 +10:00
Peter Barker
cba61598b1
AP_Arming: a check_failed function
2018-06-23 15:33:19 +10:00
Peter Barker
a44c1378f7
GCS_MAVLink: add send_textv functions
2018-06-23 15:33:19 +10:00
Andrew Tridgell
796291f176
AP_GPS: improved ccache build speed
...
making this header equal improves speed of fmuv2 build after fmuv3
build with ccache, without affecting binary
2018-06-22 11:13:03 +10:00
Andrew Tridgell
e11b3f2f0e
HAL_ChibiOS: run CAN thread at 3KHz
...
at 10KHz we were causing occasional CRC errors on the UART to IOMCU
2018-06-22 08:40:12 +10:00
Andrew Tridgell
d88b710ea9
HAL_ChibiOS: added more bootloader hwdef-bl.dat files
2018-06-22 08:00:31 +10:00
Andrew Tridgell
518d41e0d4
HAL_ChibiOS: added OTP defines
2018-06-22 08:00:31 +10:00
Kelly-Foster
ba9faafc98
AP_HAL: added MatekF405-wing subtype
...
Added define for HAL_BOARD_SUBTYPE_CHIBIOS_MATEKF405WING
2018-06-22 08:00:31 +10:00
Kelly-Foster
ae84202bf2
HAL_ChibiOS: added MatekF405-Wing hwdef.dat
2018-06-22 08:00:31 +10:00
Andrew Tridgell
14f66461a7
HAL_ChibiOS: shrink build size for bootloader
...
thanks to @sh83 for the idea
2018-06-22 08:00:31 +10:00
Alexander Malishev
661259de4e
HAL_ChibiOS: reduce .text aigment to save flash space
2018-06-22 08:00:31 +10:00
Andrew Tridgell
608490f5ae
HAL_ChibiOS: fixed cube-orange bl build
2018-06-22 08:00:31 +10:00
Andrew Tridgell
f9faa0765d
HAL_ChibiOS: fixed bootloader IDs
2018-06-22 08:00:31 +10:00
Andrew Tridgell
3fc6824bfb
HAL_ChibiOS: setup more bootloader config files
2018-06-22 08:00:31 +10:00
Andrew Tridgell
0cd46c063c
HAL_ChibiOS: fixed flash driver for F7
...
we need a data sync barrier due to the F7 cache
2018-06-22 08:00:31 +10:00
Andrew Tridgell
82428dfbc6
HAL_ChibiOS: added f405-bl hwdef.dat
2018-06-22 08:00:31 +10:00
Andrew Tridgell
3ef88e1b8f
HAL_ChibiOS: allow flash support for bootloader
2018-06-22 08:00:31 +10:00
Andrew Tridgell
5216870492
HAL_ChibiOS: avoid strstr in usbcfg
...
saves nearly 2k of flash
2018-06-22 08:00:31 +10:00
Andrew Tridgell
c12d14d7a4
HAL_ChibiOS: check for ChibiOS features
2018-06-22 08:00:31 +10:00
Andrew Tridgell
03f67d82c9
HAL_ChibiOS: allow more ChibiOS functionality to be disabled
...
used by bootloader builds for minimal flash size
2018-06-22 08:00:31 +10:00
Andrew Tridgell
e3a23921a2
HAL_ChibiOS: fixed FLASH_LOAD_ADDRESS
...
needs 0x08000000 base
2018-06-22 08:00:31 +10:00
Patrick José Pereira
87c09f98cc
AP_Camera: Change from labs to abs for floats
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-21 17:24:14 +01:00
Peter Barker
997a527c1b
AP_Arming: cache results of get_gyro_count and get_accel_count
2018-06-21 16:25:29 +01:00
Peter Barker
4055256878
AP_Arming: cache AP_HAL_millis
2018-06-21 16:25:29 +01:00
Peter Barker
410e72f83c
AP_Arming: break out a gyros-consistent method
2018-06-21 16:25:29 +01:00
Peter Barker
d2b8ea4bb0
AP_Arming: break out an accels-consistent method
2018-06-21 16:25:29 +01:00
Hyungsub
ceab853c86
Possible NULL pointer dereference in libraries/AP_HAL_F4Light/hardware/hal/timer.c
2018-06-21 21:57:46 +10:00
Andrew Tridgell
480017f190
AP_Notify: search for 4 buses in AP_Notify
2018-06-21 13:08:20 +10:00
Andrew Tridgell
1c054f0e4a
HAL_ChibiOS: fixed clock line on fmuv5 I2C4
...
there was a typo in the datasheet
2018-06-21 13:08:20 +10:00
Andrew Tridgell
f401dc1a77
GCS_MAVLink: fixed error in SITL for ESC_TELEMETRY
2018-06-21 10:48:02 +10:00