Commit Graph
57 Commits
Author SHA1 Message Date
David Sidrane e41c3cf876 Missing Close es and poll rate reset 2015-11-21 01:09:58 -10:00
David Sidrane 6bab225fed Added the integration like on mpu6000 2015-11-20 04:17:24 -10:00
David Sidrane d5c89c5392 BUGFIX:Take 2! CLI "commander calibrate acel" resulted in hardfault
Processes: 20 total, 4 running, 16 sleeping
CPU usage: 65.19% tasks, 0.56% sched, 34.24% idle
Uptime: 387.573s total, 135.045s idle

 PID COMMAND                   CPU(ms) CPU(%)  USED/STACK PRIO(BASE) STATE
   0 Idle Task                  135045 34.242     0/    0   0 (  0)  READY
   1 hpwork                       7495  1.693   956/ 1592 192 (192)  w:sig
   2 lpwork                       1576  0.376   572/ 1592  50 ( 50)  w:sig
   3 init                         1655  0.000  1404/ 2496 100 (100)  w:sem
 170 top                             9  0.000  1204/ 1696 100 (100)  RUN
  87 dataman                         1  0.000   652/ 1192  90 ( 90)  w:sem
 105 sensors                     31810  8.090  1644/ 1992 250 (250)  w:sem
 107 gps                          1217  0.000   708/ 1192 220 (220)  w:sem
 109 commander                   49016 17.027  3412/ 3596 215 (215)  w:sig +100 184 head room
 114 mavlink_if0                  2607  0.564  2092/ 2392 100 (100)  READY
 115 mavlink_rcv_if0                27  0.000   804/ 2096 175 (175)  w:sem
 122 sdlog2                        849  0.188  2068/ 2992  70 ( 70)  READY
 125 commander_low_prio           4678  0.000  2740/ 2872  50 ( 50)  w:sem +200 132 head room
 142 attitude_estimator_q        65555 16.933  1956/ 2096 250 (250)  w:sem
 144 position_estimator_inav     23877  6.208  4588/ 4992 250 (250)  w:sem
 148 mc_att_control              31210  7.902  1132/ 1496 250 (250)  w:sem
 150 mc_pos_control               2901  0.658  1044/ 1496 250 (250)  w:sem
 155 navigator                    2219  0.470   828/ 1496 105 (105)  w:sem
 165 mavlink_if1                 21195  5.079  2156/ 2392 100 (100)  w:sig
 167 mavlink_rcv_if1               116  0.000  1236/ 2096 175 (175)  w:sem
2015-11-19 11:44:09 -10:00
David Sidrane 2ffccc5c9f BUGFIX:CLI "commander calibrate acel" resulted in hardfault 2015-11-19 07:50:45 -10:00
David Sidrane e326e190cb BUGFIX: Multiple PREFLIGHT FAIL: xxx messages - multiline macros not wrapped in do/while 2015-11-19 07:47:11 -10: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 a5ad7641e3 Updated Submodule NuttX with group delete fix and cstdlib fixes ==master 2015-09-23 08:17:16 -10:00
David Sidrane f5d399c9bd Merge pull request #2897 from PX4/master_uavcan_time_base
Update uavcan_main.cpp
2015-09-23 05:58:35 -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 05ec165ed5 Updated Submudule NuttX with cstdlib fixes ==master_cstdlib 2015-09-23 04:00:01 -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
David Sidrane 999982a033 Merge pull request #2803 from ksschwabe/master
Tone_Alarm: Added ability to use timer 1 and timer 8 for the tone alarm driver.
2015-09-03 06:06:04 -10:00
David Sidrane c5489b0598 Merge pull request #2759 from ksschwabe/master
Bug fix: Incorrect APBs used in HRT driver, tone alarm and, pwm_input driver.
2015-08-28 13:15:09 -10:00
David Sidrane abc74323ac Set margins
CONFIG_ARCH_INTERRUPTSTACK = 500 40 Bytes margin
CONFIG_IDLETHREAD_STACKSIZE= 290 - idel usage 0x20001F78 from 0x20002000 is 136 bytes Margin is 154
CONFIG_USERMAIN_STACKSIZE=800 268 bytes margin 0x200013c8
2015-08-19 11:42:56 +02:00
David Sidrane aaafbad9e7 Updated Config - Using Irq stack and reduces idel stack and user sizes 2015-08-19 11:42:55 +02:00
David Sidrane fc6144c46e Updated Submodule src/lib/uavcan ==master 2015-07-22 09:17:32 -10:00
David Sidrane 67f1fbf844 Need recusive submodule checkout 2015-07-09 11:34:18 -10:00
David Sidrane 22d46fa733 Merged master_uavcan_modular src/modules/uavcan/ 2015-07-09 11:22:35 -10:00
David Sidrane 3e64ad10e8 Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 19:43:06 +02:00
David Sidrane d6c2dd997b Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 06:21:28 -10:00
David Sidrane e7a3674c1d This is a temporary hot fix for lost data 2015-06-15 07:03:14 -10:00
David Sidrane 447b93c090 Add size Makefile target for elf 2015-06-13 06:07:57 -10:00
David Sidrane 9585bb4a3c Missing slash 2015-06-12 07:54:51 -10:00
David Sidrane 428611119f Merged GIT version changes 2015-06-12 19:32:55 +02:00
David Sidrane 5acc4ee43b Back Port of Git Versioning - without side effects Part 2 2015-06-12 06:54:04 -10:00
David Sidrane 17fddb1556 Back Port of Git Versioning - without side effects Part 1 2015-06-12 06:49:15 -10:00
David Sidrane 28d3729acd Backport of Fixes mavlink_if0: invalid data rate '(null)' bug 2015-06-11 15:43:28 -10:00
David Sidrane 68276ff345 Back Port from Master - Changes to build on latest uavcan master with FW upload and Node ID 2015-06-05 06:43:10 -10:00
David Sidrane 2d796f408d Ran Astyle 2015-06-04 03:27:40 -10:00
David Sidrane 3f56892950 Merge branch 'uavcan_next' of https://github.com/PX4/Firmware into uavcan_next 2015-06-04 03:25:43 -10:00
David Sidrane 6155a1557f Changes to build on latest uavcan master with FW upload and Node ID allocation 2015-06-04 02:37:59 -10:00
David Sidrane d720a42a35 Changes to build on latest uavcan master with FW upload and Node ID allocation 2015-06-03 13:47:36 -10:00
David Sidrane 03bdf1e5f2 Allow allocation of changed paramaters to fail, then all param functions will return PARAM_INVALID or a count of 0 2015-06-03 22:49:57 +02:00
David Sidrane bcb3529490 Added confitional definition 2015-06-03 22:49:57 +02:00
David Sidrane 9d055ef95b Added ASSERT macro that mimic Nuttx but uses the system assert 2015-06-03 22:49:57 +02:00
David Sidrane 7950167bc5 Added assertion on allocation failure for parameter change storage, removed magic numbers 2015-06-03 22:49:57 +02:00
David Sidrane c6bc3153ef Reviewd - fixed indexing that was wrong, code clean up ran astyle 2015-05-15 03:58:04 -10:00
David Sidrane a0af91d05c Missing Brace 2015-05-14 18:15:10 -10:00
David Sidrane 6667e6e078 Update param.c
Not used px4_macros.h anyway
2015-05-14 18:03:23 -10:00
David Sidrane 8e9fdc6147 Use stdlib's calloc for compaiblity 2015-05-14 17:03:10 -10:00
David Sidrane dc4d5619ea Reduced the amount of memory used by params to only that that is needed
Conflicts:
	src/modules/systemlib/param/param.c
2015-05-14 17:02:45 -10:00
David Sidrane 585c5334be Update Nuttx submodule == master that has the Workaround for bad values read from the STM32_OTGFS_GRXSTSP 2015-04-25 06:51:55 -10:00
David Sidrane be378f4395 Merge pull request #2087 from PX4/master_usb_fix
Update Nuttx submodule == master_usb_fix that adds Workaround for bad va...
2015-04-25 06:45:24 -10:00
David Sidrane 3bba04b40a Update Nuttx submodule == master_usb_fix that adds Workaround for bad values read from the STM32_OTGFS_GRXSTSP 2015-04-25 06:32:46 -10:00
David Sidrane 7be4298ba1 Fixes dependency not being cleaned by keeping the uavcan artifacts in the BUILD_DIR 2015-03-25 08:11:32 -10:00
David Sidrane 17615b22a4 Insure that CONFIG_ARCH_BOARD_xxx is defined and to be consistent with Nuttx build place them in defconfig files so that config.h will have ONFIG_ARCH_BOARD_xxx defined 2015-02-17 23:27:34 +01:00
David Sidrane cbe44e572b Updated NuttX Submodule to spi_clk_fix 2015-02-13 07:14:17 -10:00
David Sidrane 6606b56364 Updated NuttX submodule with memcpy fix, disabled run time stack checking and added modules back in 2015-01-29 04:49:39 -10:00
David Sidrane 2a00948c7a Added prefix to Match Message also 2015-01-21 10:19:24 -10:00
David Sidrane e037b7ae9b Added delay to ensure the the px4io is in loop waiting for a characterit
loop.
2015-01-21 10:02:22 -10:00
David Sidrane 0943bd9a31 Added Prefix to message to identify it as PX4IO related 2015-01-21 09:54:49 -10:00
David Sidrane 517e1e8d48 Fixed permissions 2015-01-21 14:54:25 +01:00
David Sidrane 4b8feb03cf Match the OS build's CONFIG_ARMV7M_STACKCHECK setting by using actual setting in the exported nuttx config.h file to control each board build setting of ENABLE_STACK_CHECKS in toolchain_gnu-arm-eabi.mk 2015-01-21 14:54:24 +01:00
David Sidrane 7cb1d09278 Updated submodule and config for SDIO fix 2015-01-07 17:59:23 -10:00