Andrew Tridgell
5e4f66e525
DataFlash: moved high level logging logic to library
...
this moves out all the high level logic from ArduPlane/ArduCopter to
the library. It also adds a "config page", as the last page in the
flash. This is used to check if the flash needs erasing. We only erase
now if the DF_LOGGING_FORMAT has changed.
This patch also adds a public CardInserted() method, which is used to
disable logging on APM2 if a dataflash card is not inserted
13 years ago
Andrew Tridgell
a39a470d75
desktop: fixed for new DataFlash inheritance
13 years ago
Andrew Tridgell
62f98b091f
desktop: import updated DataFlash code
...
this fixes a logging bug
13 years ago
Andrew Tridgell
e0488e134f
desktop: fixed build with updated dataflash interface
13 years ago
Andrew Tridgell
a9c0cbac77
desktop: make DataFlash for Desktop build replace APM1 build
13 years ago
Andrew Tridgell
73e0ab0c63
desktop: more fixes for DataFlash filesystem changes
13 years ago
Andrew Tridgell
6d048646c3
desktop: added support for new DataFlash functions
13 years ago
Andrew Tridgell
db99b664df
desktop: fixed malloc cast
13 years ago
Andrew Tridgell
997091e0d6
desktop: be more careful with signed/unsigned in DataFlash
13 years ago
Andrew Tridgell
c2082fdd7b
desktop: use less stack
...
this avoids a problem on cygwin on windows
13 years ago
Andrew Tridgell
0e447b12a2
dataflash: type fixup for ReadInt()
13 years ago
Andrew Tridgell
c1dad23679
autotest: fill flash with 0xff on erase
13 years ago
Andrew Tridgell
da800a295f
Desktop: added support for DataFlash in Desktop build
...
this will allow Jason to look at the logs of the quad sim
13 years ago