Peter Barker
723c37bcf7
DataFlash: backend/frontend split
10 years ago
Andrew Tridgell
438f954379
DataFlash: fixed some build warnings
10 years ago
Andrew Tridgell
69f9d25cd0
DataFlash: fix for HAL_SITL rename
10 years ago
Andrew Tridgell
47655ee78e
DataFlash: removed more unusued BufferRead functions
11 years ago
Randy Mackay
a53d1075ec
DataFlash: add EnableWrites method
...
This method allows temporarily suspending writes to the dataflash which
will be used in ArduCopter to ensure no messages are written while the
copter is disarmed
11 years ago
Andrew Tridgell
e6bafa2d8f
DataFlash: added structures to Init() of dataflash
...
this will allow the get_log_data() call to add FMT headers if a log
has wrapped
11 years ago
Andrew Tridgell
0a2f2619de
DataFlash: fixed SITL dataflash logging
...
block numbers are 1 based
11 years ago
Andrew Tridgell
900ea5dde0
DataFlash: make the SITL dataflash log 4x larger
11 years ago
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