Andrew Tridgell
8015f0f626
DataFlash: update SITL implementaion for new API
12 years ago
Andrew Tridgell
28a0ba6c4a
DataFlash: added block based dataflash writes
...
these are about 10x faster than the old writes
12 years ago
Andrew Tridgell
964bc56aa2
DataFlash: reinstate SITL dataflash code
12 years ago
Andrew Tridgell
c4b8959202
DataFlash: added SITL headers
12 years ago
Andrew Tridgell
eb0dd45a11
Desktop: fixed build with recent SPI changes
12 years ago
rmackay9
0bcf581a17
Desktop: fix build error
12 years ago
rmackay9
3f7b2dbda7
Desktop: add AP_Semaphore to list of includes for DataFlash_APM1.cpp
12 years ago
Andrew Tridgell
be9b9f3e67
DataFlash: fixed SITL build
13 years ago
Andrew Tridgell
ddfa06e857
SITL: fixed ChipErase()
...
the loop never completed
13 years ago
Andrew Tridgell
6e444f6b64
SITL: fixed build with new ChipErase() call
13 years ago
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