Peter Barker
24834fbad8
AP_Filesystem: return a reference from AP::mission()
...
Every vehicle which compiles mission support in also instantiates an
AP_Mission object, so the singleton is never null. Returning a
reference rather than a pointer says so, and lets the nullptr checks at
each call site go away.
Saves around 150 bytes of flash per firmware.
2026-07-29 18:18:35 +10:00
Bob Long
a78e4ca957
AP_Filesystem: better mission.dat stat
...
This file size is deterministic and can be cheaply calculated
2026-04-14 09:57:11 +10:00
Eric Katzfey
7f4a20981a
AP_Filesystem: Added conditional compiling to errno declarations. QURT HAL already has this in errno.h.
2024-11-17 20:38:25 +11:00
Andrew Tridgell
a241b13f45
AP_Filesystem: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
3ef2139f4b
AP_FileSystem: permit upload of fence/rally via ftp
2024-01-24 19:14:41 +11:00
Peter Barker
b1897cd9a4
AP_Filesystem: correct compilation with rally disabled
2022-09-27 10:16:47 +10:00
Peter Barker
22d8d0a0fd
AP_FileSystem: correct compilation when fence disabled
2022-09-27 10:16:47 +10:00
Peter Barker
b5165b6d7f
AP_FileSystem: add AP_FILESYSTEM_*_ENABLED
2022-09-15 10:53:02 +10:00
Peter Barker
936fef11e2
AP_Filesystem: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED
2022-08-18 22:49:10 +10:00
Iampete1
19ccf53fa6
AP_Filesystem: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
cababad66b
AP_Filesystem: fix complation without fence
2022-07-27 19:04:56 +10:00
Willian Galvani
0e62d561d9
AP_Filesystem: add allow_absolute_paths to open(), implement it for posix backend
2022-03-22 10:19:21 +11:00
Peter Barker
c11a6bbb47
AP_Filesystem: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Andrew Tridgell
08cbfa032d
AP_Filesystem: review fixes
...
thanks Andy!
2021-04-21 07:12:55 +10:00
Andrew Tridgell
b941b8c93a
AP_Filesystem: allow for parameter upload via ftp
2021-04-21 07:12:55 +10:00
Andrew Tridgell
d8575f0607
AP_Filesystem: allow for partial mission upload
2021-04-21 07:12:55 +10:00
Andrew Tridgell
d96002942c
AP_Filesystem: ensure all blocks are filled on upload
2021-04-21 07:12:55 +10:00
Andrew Tridgell
c1f491ce39
AP_Filesystem: allow mission upload
2021-04-21 07:12:55 +10:00
Andrew Tridgell
e055165eb8
AP_Filesystem: added download of mission/fence/rally
2021-04-21 07:12:55 +10:00