Peter Barker
936fef11e2
AP_Filesystem: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED
3 years ago
Peter Barker
680d158f59
AP_Filesystem: do not gate AP_CRASHDUMP_ENABLED on bootloader
...
Also rename from HAL_CRASHDUMP_ENABLE
Removes code based on define rather than creating empty functions. Makes it clearer what's going on in the callers.
3 years ago
Iampete1
19ccf53fa6
AP_Filesystem: change AC_FENCE to AP_FENCE_ENABLED
3 years ago
Iampete1
cababad66b
AP_Filesystem: fix complation without fence
3 years ago
Iampete1
88d9550214
AP_Filesystem: support including defualts in packed param format
3 years ago
Andrew Tridgell
6f3b760d0b
AP_Filesystem: fixed gets() posix compat function
...
it needs to stop at end of line
3 years ago
Andrew Tridgell
e6540681f2
AP_Filesystem: fixed warning with tmpnam
3 years ago
Andrew Tridgell
fa87019339
AP_Filesystem: added DT_LNK for symlinks
3 years ago
Peter Barker
6eaf2c545a
AP_Filesystem: correct run-length encoding in param download
...
If a parameter's name was a prefix of the previous name we would
suffer an integer-wrap problem and incorrectly encode the parameter name
3 years ago
Nicholas Kruzan
c3e071579d
AP_Filesystem: AP_Filesystem_ESP32 allow_absolute_paths in ::open()
3 years ago
Willian Galvani
0e62d561d9
AP_Filesystem: add allow_absolute_paths to open(), implement it for posix backend
3 years ago
Andrew Tridgell
7bd45fcb50
AP_Filesystem: avoid ff.h in header
...
this avoids the chibios hal includes
3 years ago
Andy Piper
9cccab2de7
AP_Filesystem: add support for @SYS/timers.txt .
3 years ago
murata
e209a6e73b
AP_Filesystem: Remove WHITE SPACE to match other method styles
3 years ago
murata
0967d79a93
AP_Filesystem: Change the judgment null of methods that return nullptr
3 years ago
Willian Galvani
802974a337
AP_Filesystem: tweak fgets()
...
This avoids that it returns False when encountering new lines or
\n\r
3 years ago
Peter Barker
aaf8de88d8
AP_Filesystem: add HAL_UART_STATS_ENABLED to disable stats gathering
3 years ago
Andrew Tridgell
b449e45ed6
AP_Filesystem: fixed a param ftp bug
...
if param count changes we need to zero the file size
3 years ago
Andrew Tridgell
7c57e1521c
AP_Filesystem: support formatting of SDcard on ChibiOS
3 years ago
bugobliterator
3855767ff2
AP_FileSystem: mention of HAL_CRASH_DUMP_FLASHPAGE not required
3 years ago
bugobliterator
b1e25ec4fd
AP_Filesystem: fetch crash_log directly rather than via buffer
3 years ago
bugobliterator
528e57c2ae
AP_Filesystem: add support for downloading raw storage via ftp sysfs
3 years ago
Buzz
7c893d7cc9
AP_Filesystem: add ESP32 support
...
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
3 years ago
bugobliterator
2af001541e
AP_FileSystem: add crash_dump.bin
3 years ago
Andy Piper
d71fb2cb34
AP_Filesystem: fix ftp burst read with credit to deanharken
3 years ago
Peter Barker
df7b2982d3
AP_Filesystem: add fgets
3 years ago
Peter Barker
207f38dfaf
AP_Filesystem: raise an internal error for fileop on main thread
...
#ecoefi.log
3 years ago
bugobliterator
6b64cfd6c1
AP_FileSystem_Sys: allow sending stats via mavftp on AP_Periph
4 years ago
Pierre Kancir
c19391d540
AP_Filesystem: correct file open flags for append
4 years ago
Siddharth Purohit
ee22747b48
AP_Filesystem: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
4 years ago
Andrew Tridgell
8ae221eeb4
AP_Filesystem: removed the 3s grace period for file ops when armed
...
log file open now needs to happen in the logging thread
4 years ago
Andrew Tridgell
b23afc4a9e
AP_Filesystem: disallow file operations from main thread while armed
...
this stops all file operations from the main thread while armed,
allowing for a 3s grace time on arming to allow for initial log
file creation
4 years ago
Peter Barker
c11a6bbb47
AP_Filesystem: add support for AP_Logger into AP_Periph
4 years ago
Andy Piper
e20fc3d4f6
AP_Filesystem: fix build on macOS
4 years ago
Andrew Tridgell
08cbfa032d
AP_Filesystem: review fixes
...
thanks Andy!
4 years ago
Andrew Tridgell
b941b8c93a
AP_Filesystem: allow for parameter upload via ftp
4 years ago
Andrew Tridgell
d8575f0607
AP_Filesystem: allow for partial mission upload
4 years ago
Andrew Tridgell
d96002942c
AP_Filesystem: ensure all blocks are filled on upload
4 years ago
Andrew Tridgell
c1f491ce39
AP_Filesystem: allow mission upload
4 years ago
Andrew Tridgell
e055165eb8
AP_Filesystem: added download of mission/fence/rally
4 years ago
Andrew Tridgell
3e138aa98a
AP_Filesystem: fixed a read past EOF bug in @PARAM
...
this could cause mavproxy FTP param download to fail
4 years ago
Andy Piper
c388fd9214
AP_Filesystem: add @SYS/uarts.txt
4 years ago
Andy Piper
cfac268f13
AP_Filesystem: add @SYS/memory.txt
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
4 years ago
Andrew Tridgell
9561f24c0e
AP_Filesystem: added @SYS/persistent.parm
4 years ago
Andrew Tridgell
c924a9917e
AP_Filesystem: use ExpandingString class
4 years ago
Andy Piper
b6a008c73d
AP_Filesystem: increase ftp thread buffer size when HAL_ENABLE_THREAD_STATISTICS is defined
4 years ago
Andy Piper
32edb6d0cd
AP_Filesystem: add support for @SYS/dma.txt for DMA contention
4 years ago
Andrew Tridgell
773517a473
AP_Filesystem: added load_file() API
...
this makes it very easy to load a small file from sdcard or ROMFS
4 years ago
Andrew Tridgell
079e11275a
AP_Filesystem: allow for replay on any file in local filesystem
4 years ago
bugobliterator
bf4f482f5e
AP_FileSystem: do listing for SYS without slash as well
4 years ago