Commit Graph
183 Commits
Author SHA1 Message Date
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
David Sidrane 05a08252ff Bugfix:pthread_create retuns 0 on success and positive error on error without errono set 2015-09-23 08:19:23 -10:00
David Sidrane 8eaf213edd Update uavcan_main.cpp 2015-09-23 05:32:14 -10:00
David Sidrane 2a36067cc7 Added reset to usage 2015-09-23 04:18:40 -10:00
David Sidrane 1996d2b55a Uavcan parameter and reset command line operations 2015-09-23 04:07:42 -10:00
David Sidrane d69be4b554 Added UAVCAN Time Synchronization Master capabilities to FMU 2015-09-23 03:53:49 -10:00
David Sidrane f424cc6b18 Using the uavcan stm32 clock driver to support UAVCAN time syncing
Conflicts:
	src/lib/uavcan
	src/modules/systemlib/print_load_posix.c
	src/modules/uavcannode/module.mk
2015-09-23 03:53:09 -10:00
Lorenz Meier 5fad70b0df Merge pull request #2751 from PX4/master_uavcan_servers_single_iface
UAVCAN: using only primary interface for firmware update and node ID allocation
2015-09-20 23:08:27 +02:00
Lorenz Meier f37f8fb977 UAVCAN: Move to semaphore abstraction 2015-09-20 00:30:12 +02:00
James Goppert 34eeee9fa9 Added defautl config for nuttx, nuttx now works over usb. 2015-09-10 13:57:54 -04:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier 27e4139540 UAVCAN fix compile warning on signedness 2015-08-24 10:20:40 +02:00
Pavel Kirienko 8d67483d18 UAVCAN: using only primary interface for servers 2015-08-23 21:28:47 +03:00
Lorenz Meier 21d1b4ba2e Merged beta into master 2015-08-22 14:06:01 +02:00
Pavel Kirienko f371ece43b UAVCAN_ENABLE defaults to 0 2015-08-22 13:54:57 +02:00
Pavel Kirienko e1f33871ef UAVCAN enabled by default 2015-08-22 13:54:57 +02:00
Pavel Kirienko 6864779fa6 Multiple stages for UAVCAN_ENABLE 2015-08-22 13:54:56 +02:00
Pavel Kirienko 3860dbdc8c UAVCAN Barometer driver fix - reporting temperature in Celsius degrees, not in Kelvin 2015-08-22 13:54:56 +02:00
Pavel Kirienko 473d321af8 UAVCAN Magnetometer driver update - no logical changes 2015-08-22 13:54:56 +02:00
Pavel Kirienko 36f91d30eb Fixes pure virtual call exception in VirtualCanDriver<>::handleRxFrame()
Stack trace:
Thread [1] (Suspended: Breakpoint hit.)
        12 __cxa_pure_virtual() libxx_cxapurevirtual.cxx:66 0x0808ca42
        11 notifyRxFrameListener() uc_dispatcher.cpp:216 0x080787ce
        10 uavcan::Dispatcher::spinOnce() uc_dispatcher.cpp:276 0x080787ce
        9 uavcan::Scheduler::spinOnce() uc_scheduler.cpp:196 0x0807b4e0
        8 spinOnce() abstract_node.hpp:88 0x080659fc
        7 spinOnce() node.hpp:132 0x080659fc
        6 UavcanNode::node_spin_once() uavcan_main.cpp:428 0x080659fc
        5 UavcanNode::run() uavcan_main.cpp:542 0x08065e74
        4 operator() uavcan_main.cpp:343 0x0806626a
        3 UavcanNode::__lambda0::_FUN() uavcan_main.cpp:343 0x0806626a
        2 task_start() task_start.c:138 0x08087720
        1 <symbol is not available> 0x00000000
2015-08-15 09:53:13 +03:00
Pavel Kirienko aa412aaced UAVCAN servers: proper handling of startup failure, more verbose error reporting 2015-08-15 09:42:16 +03:00