Commit Graph

57 Commits

Author SHA1 Message Date
Lorenz Meier 6d12f147b8 Improved param command, show now allows to filter and set allows to set integer params (e.g. param set MAV_TYPE 2) 2013-01-24 15:43:12 +01:00
Andrew Tridgell 6e751d26e8 perf: added 'perf reset' command
resets all perf counters
2013-01-24 10:26:02 +11:00
px4dev bc35bb23dd HOTFIX: disable interrupt-driven I2C mode, configure pessimistic I2C timeout, correct handling of the NAK generation for I2C master reads.
This looks like it addresses the recent I2C lockup issue, unfortunately it also increases CPU consumption by ~5% for the I2C sensor bus.
2013-01-18 00:43:57 -08:00
px4dev d81edb09cf whitespace/formatting 2012-12-29 16:01:24 -08:00
px4dev 35c82ff2fc Make mixer ioctls load from a memory buffer rather than a file. This is prep for uploading the memory buffer to IO to be processed there. 2012-12-29 00:01:04 -08:00
px4dev 451ecc1bf4 Remove a few cut-and-paste author attributions. 2012-12-02 17:53:31 -08:00
Lorenz Meier 4d6fb3a037 Added delay test to measure comm delays with a led / scope 2012-11-27 12:45:17 +01:00
Lorenz Meier b1bc5e0e46 Improved drivers, allowed parallel use of multiple gyros 2012-11-23 22:52:37 +01:00
Lorenz Meier c0c7266255 Added preflight_check app 2012-11-15 15:13:45 +01:00
Lorenz Meier 82c4dbaaa8 param load / store cleanup, storage location selection now exclusively through dedicated "param select <path>" command 2012-11-02 15:21:37 +01:00
Lorenz Meier 55515f2e7e Merge branch 'master' of github.com:pixhawk/Firmware 2012-11-02 12:50:15 +01:00
Tobias Naegeli 80ac43e21d Fine tuning of manual control 2012-11-01 16:50:52 +01:00
Lorenz Meier 5e1416178a Merged 2012-11-01 08:14:31 +01:00
Lorenz Meier 4d6ac93aff Print selectively by name 2012-11-01 08:11:36 +01:00
px4dev 8bfceef89c Remove the arbitrary limit on the path to the default parameter file. Add a verb to the param command to set the default parameter file. 2012-10-31 12:59:24 -07:00
Lorenz Meier 3c987d6368 Casting and fix default param path 2012-10-31 18:50:00 +01:00
Lorenz Meier fbdf30b7d4 Merge branch 'master' of github.com:PX4/Firmware 2012-10-31 17:09:11 +01:00
Lorenz Meier 0ddfd7c75c New param interface for microSD and EEPROM 2012-10-31 16:31:21 +01:00
px4dev 34a3b260f3 Move the last of the board-specific code for PX4FMU out of the NuttX tree. Now it's just configuration. 2012-10-31 00:37:15 -07:00
px4dev 66da4395b4 Kill the old board info code. 2012-10-29 23:07:15 -07:00
px4dev 0616d58340 Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version. 2012-10-29 21:47:51 -07:00
px4dev 7203ba797e bson-based boardinfo working 2012-10-29 21:47:51 -07:00
Lorenz Meier c3c76ef3d5 Hardened the EEPROM attach routine for param storage 2012-10-29 09:44:59 +01:00
px4dev 98791bc674 Remove reboot() API, replace with a prototype for up_systemreset() which is portable. 2012-10-27 22:42:43 -07:00
px4dev 2fc1032069 Major formatting/whitespace cleanup 2012-10-23 23:51:13 -07:00
px4dev 3d79b9a0b0 Tease the PWM driver out and fix some build issues after cleaning up behind the cpuload pieces. 2012-10-23 23:51:13 -07:00
px4dev c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
px4dev c1958bdaa9 Teach top how to precisely determine stack usage. 2012-10-14 23:35:32 -07:00
px4dev d62ec78ab8 Remove obsolete warning. 2012-10-11 00:23:13 -07:00
px4dev 1e59a592a6 Split the parameter load/save commands out of the 'eeprom' command, since that's not really the obvious place for them. Add parameter printing functionality (though, it's a mess due to %f being busted)
Update the script examples to use the new command.
2012-10-09 22:45:36 -07:00
px4dev 4c14e4f5f1 Add a 'secret' subcommand to bl_update that manipulates the option bits to change the brown-out detector configuration.
This is an experiment to see if we can improve the boot-time behavior when powered off noisy supplies.
2012-10-06 16:08:07 -07:00
px4dev dfae108e6a Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.
Make the "default" scheduler a centralized definition so that changes are easier in future.
2012-10-03 23:13:20 -07:00
px4dev 93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
px4dev 44adaa736c A system command that knows how to reflash the bootloader on the PX4FMU. 2012-09-16 23:41:26 -07:00
Lorenz Meier 47c96d3d12 Quite flyable state 2012-09-12 18:50:24 +02:00
px4dev 68d4a26b9e Be a bit quieter and more forgiving about various system configuration and driver non-issues. 2012-09-10 00:16:05 -07:00
px4dev a9c4fabda6 Change the EEPROM read/write timeout behavior so that we can get actual errors rather than just hanging forever. 2012-09-09 11:14:54 -07:00
px4dev 65ecf1b1c1 Rework the 'eeprom erase' path so it's possible to erase an EEPROM that can't be mounted.
Add some bus reset code to the EEPROM read path to maybe help with bus lockup.
2012-09-09 00:04:43 -07:00
Lorenz Meier cf62c892f9 Added temperature measurement, added led system command 2012-09-01 19:56:42 +02:00
px4dev 1a781c6c4a Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes. 2012-08-28 22:15:25 -07:00
px4dev e6f6a81d5b Allow the EEPROM driver to consider itself started even if NXFFS fails to mount. 2012-08-27 19:42:40 -07:00
Lorenz Meier 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
Lorenz Meier d12c09cc86 improvements / debugging on I2C drivers 2012-08-24 14:58:14 +02:00
Lorenz Meier 45e178eaa3 Made error message more verbose 2012-08-24 11:50:01 +02:00
px4dev 0472eeae05 Add EEPROM read/write performance counters. 2012-08-23 23:15:55 -07:00
px4dev 5ef6a41012 Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses.
Use I2C_TRANSFER to avoid racing with other devices on the bus.
Clock at 400kHz.
2012-08-23 23:04:26 -07:00
Lorenz Meier d17bbc7a0b Minor fixes to EEPROM params 2012-08-20 17:26:59 +02:00
px4dev a9dd3564ed Don't delete the parameter file on failed load. 2012-08-20 01:51:18 -07:00
px4dev b0d13c9556 wrapper commands for saving and loading parameters 2012-08-19 22:15:51 -07:00
px4dev a86974e3e3 Hand over control of the onboard EEPROM to the NuttX I2C EEPROM driver and NXFFS. 2012-08-19 01:31:27 -07:00