Commit Graph

7557 Commits

Author SHA1 Message Date
Lorenz Meier b43f2e8be9 USB startup: Give NuttX enough time to tear down an app and free memory before starting the next 2014-05-15 09:04:45 +02:00
Lorenz Meier 2cda682074 sdlog2 start tool: Reduce stack, since it just starts the app 2014-05-15 09:04:16 +02:00
Lorenz Meier 35e7e375de reboot command: Reduce stack size to 800 - it really just reboots and does not need stack 2014-05-15 09:03:45 +02:00
Lorenz Meier b2945fda53 param command: Reduce stack size to 1800 after careful testing 2014-05-15 09:03:05 +02:00
Lorenz Meier 1e13b5a02c commander: Reduce calibration count, minimally reduce stack sizes after careful inspection 2014-05-15 09:02:31 +02:00
Lorenz Meier 4176fc69bb Merge branch 'master' of github.com:PX4/Firmware into stack_sweep 2014-05-15 08:43:09 +02:00
Lorenz Meier 839373f5ae Merge pull request #938 from jean-m-cyr/master
Reduce potential dataman memory fragmentation
2014-05-14 23:42:52 -07:00
Lorenz Meier 0655aeb7ec startup: NuttX seems to free memory only AFTER the next command is issued, requiring us to give it some time to do memory management so it does not keep starting tasks on top of each other. May need some consideration on main startup script as well. 2014-05-15 08:17:31 +02:00
Lorenz Meier 4bc06381a9 commander: Cleanup properly after out-of-mem error 2014-05-15 08:15:59 +02:00
Lorenz Meier ab154c9d3b attitude_estimator_so3: Reduce start tool stack size 2014-05-15 07:53:30 +02:00
Lorenz Meier ec5dd5401e attitude_estimator_ekf: Reduce start tool stack size 2014-05-15 07:53:13 +02:00
Lorenz Meier 8f6a50708f examples: Adjust start tool and main stack sizes to reasonable defaults 2014-05-15 07:52:51 +02:00
Lorenz Meier 8e46308fdd examples: fixed wing: Reduce start tool stack size 2014-05-15 07:52:22 +02:00
Lorenz Meier 9767bcb610 Merge branch 'master' of github.com:PX4/Firmware into stack_sweep 2014-05-15 07:42:51 +02:00
Lorenz Meier 9cd1fa5b51 attitude_estimator_so3: Code style fixes 2014-05-15 07:41:33 +02:00
Lorenz Meier c59ca4d3b9 attitude_estimator_ekf: Code style fixes 2014-05-15 07:41:12 +02:00
Lorenz Meier f4279ccc0d sensors: Reduce stack mildly by 50 bytes 2014-05-15 07:35:39 +02:00
Lorenz Meier 32f0b2c422 mc_pos_control: Reduce stack mildly by 50 bytes 2014-05-15 07:30:03 +02:00
Lorenz Meier 3f9028b728 mc_att_control: Reduce stack mildly by 50 bytes 2014-05-15 07:29:43 +02:00
Lorenz Meier 236af7fdc3 Merge branch 'master' of github.com:PX4/Firmware into stack_sweep 2014-05-15 07:28:35 +02:00
Lorenz Meier 05f9336d20 mc_pos_control: Code style fixes in comments 2014-05-15 07:28:18 +02:00
Lorenz Meier 5f96feb3e0 mc_att_control: Code style fixes in comments 2014-05-15 07:27:59 +02:00
Lorenz Meier 61a3ddb4c2 navigator: Reduce stack size by 50 bytes 2014-05-15 07:25:49 +02:00
Lorenz Meier 8d9c6fe4d7 mavlink app: Fix use of message buffer 2014-05-15 07:25:23 +02:00
Lorenz Meier 25cd53c688 Merge branch 'master' of github.com:PX4/Firmware into stack_sweep 2014-05-15 07:22:51 +02:00
Lorenz Meier 23fe9e6dc0 navigator: comment only changes / code style fixes 2014-05-15 07:22:36 +02:00
Lorenz Meier 93388803b7 Merge branch 'master' of github.com:PX4/Firmware into stack_sweep 2014-05-15 07:17:38 +02:00
Lorenz Meier 19dc0b9509 dataman: Fix doxygen, no functional changes 2014-05-15 07:15:41 +02:00
Lorenz Meier 8dc0a21a7e mavlink, commander: Get back close to original stack sizes. Although tests came clean, we do not want to take any chances 2014-05-15 07:14:58 +02:00
Lorenz Meier 5466e68bb2 mavlink app: Use only the stack it needs to start 2014-05-14 22:13:49 +02:00
Lorenz Meier 18ed3cbbb8 Increase servo out rate via USB 2014-05-14 22:13:33 +02:00
Lorenz Meier 19d798addc px4io driver: init stack only twice as big as really needed and not four times as big 2014-05-14 21:52:25 +02:00
Lorenz Meier b216cc3cac px4fmu: Give the FMU driver only the stack for init it needs 2014-05-14 21:31:29 +02:00
Lorenz Meier 08a6e00cdd use a minimal sdlog2 buffer for FMUv1.x 2014-05-14 21:30:54 +02:00
Lorenz Meier d50ae8bb59 Reduce stack size of preflight check tool 2014-05-14 19:37:27 +02:00
Lorenz Meier 8962c27274 Reduce stack size of perf tool 2014-05-14 19:37:06 +02:00
Lorenz Meier 972cf54c96 Reduce stack size of PWM tool 2014-05-14 19:36:37 +02:00
Lorenz Meier 29ec1f3881 Reduce stack size of sensors module start handler 2014-05-14 19:36:11 +02:00
Lorenz Meier 0789030088 Reduce stack size of navigator startup handler 2014-05-14 19:35:54 +02:00
Lorenz Meier 25fd20487e reduce stack size of dataman start handler 2014-05-14 19:35:16 +02:00
Lorenz Meier 7655f3e425 Reduce mavlink stack size slightly 2014-05-14 19:34:55 +02:00
Lorenz Meier 531ba79e55 Reduce commander stack size mildly 2014-05-14 19:34:37 +02:00
Ash Charles cbc559b6d6 [l3gd20] Make gyro orientation board-overridable
As discussed [1], provide a default SENSOR_BOARD_ROTATION
(270 degrees as this seems most common) and let boards override it
as necessary.

[1] 7d0850a710 (commitcomment-6315550)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
2014-05-14 09:19:30 -07:00
Lorenz Meier d3398270e1 Merge pull request #944 from ultrasystem/patch-1
Fix error on some compiler
2014-05-14 07:29:25 -07:00
Liio Chen 1a1f7ff33b Fix error on some compiler 2014-05-14 22:18:36 +08:00
Lorenz Meier 0641786b6a Merge branch 'perf_cleanup' 2014-05-14 15:23:39 +02:00
Anton Babushkin 42a7d80a81 mc_att_control: limit max yaw setpoint offset 2014-05-14 14:55:14 +02:00
Lorenz Meier c646a8ff1d Let the param set command default to non-failing, because unknown params are in the script default init not a reason to give up on the complete boot 2014-05-14 14:23:16 +02:00
Lorenz Meier e5d28b2393 Hotfix: Fixed wing default parameters contained an unknown name 2014-05-14 14:15:40 +02:00
Lorenz Meier 63905265eb Save code size on commander, reduce stack size of starting tool (NOT OF THE APP ITSELF!) 2014-05-14 14:04:04 +02:00