1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-06 17:46:07 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
James Cotton
93b77becc0 More the system task priority down and increase the timeout for erasing the
flash so it says completed.  However, it still blocks the system for a long
time.  During an erase the heartbeat will flash at 10 Hz to indicate what's
happening.

This still blocks telemetry even after lowering hte system priority (and there
is a vTaskDelay) which makes me think that the SPI bus being locked is blocking
Sensors or somethign else.  This should not be permited when the system is
armed.

The reason the system locks up during the erase is that the file system
operations occur within the event dispatcher thread.  It is very bad practice
for anything to block this (i.e. callbacks should never take very long).  We
should probably move the object persistence handling into the system thread or
something but that can be a separate issue.
2012-06-11 12:03:32 -05:00
James Cotton
33e61b4405 OP-557: Make the tools erase menu item attempt to perform a full format on the
flash chip first, then fall back to erasing settings via the EraseSettings
object persistence.  The later only removes UAVO instances that the firmware is
current aware of, so can create issues when jumping between versions.
2011-08-15 11:37:00 -05:00
elafargue
53685faabe Update dialog on configplugin 2011-04-26 19:27:29 +02:00
elafargue
921fe640a8 Forgot a small change to make sure that in case the request times out, we get an error. 2011-04-26 00:53:37 +02:00
elafargue
ce6987ffab Added a menu entry in the Tools menu to erase all settings.
Note: on CopterControl, this fails if all settings are at default value sometimes, due to something going on flight-side, not quite sure what.
Please test & report how it is working on your board, be sure to save your settings somewhere first!
2011-04-26 00:45:08 +02:00
edouard
b125e51251 CC-33 Now the config panel only shows the relevant panel once the board is connected.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3105 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 20:32:09 +00:00
stac
7195862d77 build: Move openpilotgcs into its own subdirectory
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00