Commit Graph

203 Commits

Author SHA1 Message Date
David Sidrane 3ce6ee57e4 Set nunmber of UAVCAN interfaces on HW from top level cmake file 2015-11-30 15:44:36 -10:00
David Sidrane 32ae638974 Support GPIO_CAN2_RX not defined 2015-11-28 09:13:15 +01:00
Lorenz Meier 9f89426d5e Merge pull request #3227 from thiemar/uavcan_param_save_fix
Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160]
2015-11-20 22:32:14 +01:00
Ben Dyer 442c0d47ef Fix off-by-one error in parameter count [resolves PX4/Firmware#3162] 2015-11-20 23:32:54 +11:00
Ben Dyer a27a6acb54 Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160] 2015-11-20 22:29:40 +11:00
Pavel Kirienko 82b3ea2501 Removed an excessive template disambiguator in the virtual CAN driver class (fixes 3190) 2015-11-17 02:00:42 +03:00
Pavel Kirienko b95609834c Merge branch 'master' into uavcan_footprint_reduction 2015-11-12 14:49:02 +03:00
Lorenz Meier 47a20f0dd2 Allow any system to become UAVCAN controlled by setting UAVCAN_ENABLE to 3. 2015-10-28 22:55:37 +01:00
Pavel Kirienko 96a12a6027 UAVCAN extended status reporting 2015-10-26 10:19:56 +01:00
Pavel Kirienko e06c46da03 uavcan status output extended with CAN error reporting 2015-10-26 10:19:56 +01:00
Pavel Kirienko 635bfb6a7b CAN driver RX queue reduced to 21 frames per interface; poll() timeout set to 3 ms 2015-10-26 10:19:56 +01:00
Pavel Kirienko 72e651beda UAVCAN virtual iface: removed a useless class field 2015-10-26 10:19:56 +01:00
Pavel Kirienko 53ed0425da Libuavcan set to master 2015-10-26 10:19:56 +01:00
Pavel Kirienko 5b9fc2d9fa Proper termination of UAVACN server thread 2015-10-26 10:19:56 +01:00
Pavel Kirienko 9d86dbb6a1 Fixed memory leaks in the primary UAVCAN thread 2015-10-26 10:19:56 +01:00
Pavel Kirienko 6c4f09c0e4 Fixed memory leak in UAVCAN baro driver 2015-10-26 10:19:56 +01:00
Pavel Kirienko 109bee855b Node on leaked memory in UAVCAN driver 2015-10-26 10:19:56 +01:00
Pavel Kirienko ca4e55fec3 UAVCAN allocator as a dedicated type; reporting a warning if memory leak is deetcted upon destruction 2015-10-26 10:19:56 +01:00
Pavel Kirienko edfb19d9af Libuavcan update 2015-10-26 10:19:56 +01:00
Pavel Kirienko 1ace017cb8 Deallocating memory used by UAVCAN virtual iface on destruction 2015-10-26 10:19:56 +01:00
Pavel Kirienko a570d1de7d UAVCAN memory usage status and shrink 2015-10-26 10:19:56 +01:00
Pavel Kirienko e6182b8d2b Libuavcan update 2015-10-26 10:19:56 +01:00
Pavel Kirienko 407191d4ab UAVCAN driver transformed to use global memory pool 2015-10-26 10:19:56 +01:00
Pavel Kirienko 7373d99d72 UAVCAN CMakeLists - removed useless definitions 2015-10-26 10:19:56 +01:00
Pavel Kirienko e227f139a5 Libuavcan switched to footprint_reduction 2015-10-26 10:19:56 +01:00
Lorenz Meier b126f00052 Merged master 2015-10-14 22:07:49 +02:00
Daniel Agar 8e039c4079 cmake uavcan remove whitespace 2015-10-14 12:13:33 -04:00
Lorenz Meier cff6cde47b UAVCAN: Set default optimization level to -Os because comm protocols should not hog the flash or RAM. 2015-10-14 14:07:17 +02:00
Lorenz Meier ae65269de9 UAVCAN: Increase stack since its hitting almost the limit 2015-10-14 14:06:42 +02:00
Daniel Agar 5865dc6434 cmake add libuavcan as subdirectory
-move uavcan submodule to src/modules/uavcan/libuavcan
-adding libuavcan as a subdirectory simplifies inheriting all compile
flags and include paths
2015-10-14 02:37:00 -04:00
Daniel Agar cc3695d0b7 uavcan manually add src/include to include path 2015-10-14 01:56:19 -04:00
Ben Dyer 7dacb835b9 Fixing build on targets without the UAVCAN module 2015-10-14 00:50:07 +11:00
Ben Dyer d071177dd6 Added ROMFS firmware update support 2015-10-13 21:50:23 +11:00
Ben Dyer bde79c80b2 Added parameter save/erase support 2015-10-13 21:50:23 +11:00
Ben Dyer 2a7e75043d Reduced logging verbosity; fixed stack size; fixed ESC indexes 2015-10-13 21:50:23 +11:00
Ben Dyer f200260618 Exit uavcan fw process when armed 2015-10-13 21:50:23 +11:00
Ben Dyer 250c912704 Added MAVLink/UAVCAN parameter bridge; implemented UAVCAN ESC enumeration 2015-10-13 21:50:23 +11:00
Lorenz Meier a3b863bdd9 UAVCAN: Receive commands from the GCS 2015-10-13 21:50:23 +11:00
Lorenz Meier 980ddeac08 Merge branch 'master' into ram_cleanup 2015-10-11 16:01:15 +02:00
Lorenz Meier e96f4e1944 FMUv1: Fix CAN compilation 2015-10-11 14:06:43 +02:00
Lorenz Meier d2fb49e5f3 UAVCAN: Give the firmware upgrade thread a human-readable name 2015-10-10 22:23:33 +02:00
Daniel Agar a3d79c6e15 cmake uavcan set cpp03 and silence install 2015-10-06 18:41:51 -04:00
Daniel Agar 6c10cf18e4 re-enable Werror 2015-10-06 18:28:30 -04:00
James Goppert 7711a94a5a Fixes cmake uavcan external project for cmake 2.8.12. 2015-10-06 11:28:10 -04:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
James Goppert e1bb618371 Working on uavcan building. 2015-10-04 21:29:22 -04:00
Lorenz Meier a4e56abd71 Merge branch 'master' into cmake-2 2015-09-27 14:23:00 +02:00
Pavel Kirienko e2b801a323 Fixes 2911 2015-09-27 12:25:15 +02:00
James Goppert bc1063c862 Merge branch 'master' into cmake-2 2015-09-24 16:03:28 -04:00
Lorenz Meier 0da9b4d715 Merge branch 'master' of github.com:PX4/Firmware into cmake-2 2015-09-23 21:17:15 +02:00