David Sidrane
29e1aa6c12
Reworked file naming and use ROM fs as fall back
...
The server will now attempt to provide files from the primary
path RootPath and then the alternate AltRootPath. This alows
a layered approch to file service.
Setting the RootPath to an SD card and the AltRootPath to a
ROM FS will allow a user to provide an updated uavcan firware
file that will be used instead of the baked in one without
any copying.
The path as been removed from the interactions with nodes.
There by supporting Non-compliant nodes that could not
handle the specified path length.
The vitrual pathing has been moved into the FDCache.
2021-02-17 21:21:31 -05:00
Pavel Kirienko
38a241a90a
Added -Wzero-as-null-pointer-constant, replaced NULL --> UAVCAN_NULLPTR. All changes are automatic, no manual edits to the library code.
2016-07-29 15:39:24 +03:00
David Sidrane
c97e6e5096
Fixed comment to match
...
https://github.com/mavlink/mavlink/pull/414#issuecomment-120088482
The stale comment has led to much misunderstanding .
2015-11-20 18:01:55 -10:00
Pavel Kirienko
ac04e374c6
BasicFileServerBackend - fixed a missing include
2015-09-25 23:09:28 +03:00
Pavel Kirienko
62e89b3399
BasicFileServerBackend typo fix
2015-09-25 23:01:57 +03:00
Pavel Kirienko
cf39ecf879
POSIX driver: Proper use of std:: and uavcan::
2015-08-20 05:42:17 +03:00
Pavel Kirienko
b4b6c9eff5
Default initialization of stack variables
2015-08-20 05:30:15 +03:00
David Sidrane
121f83a420
Proper file IO loops #40
2015-08-19 11:05:42 -10:00
Pavel Kirienko
dc3f09855c
Coverity 1304849
2015-06-10 12:54:57 +03:00
Pavel Kirienko
3d5f6f5d40
test_file_server
2015-06-03 02:20:36 +03:00
Pavel Kirienko
250837965e
Minor fixes to BasicFileSeverBackend
2015-06-03 01:49:54 +03:00
Pavel Kirienko
ac3e70f6ba
Insignificant formatting fixes (uncrustify is not smart enough)
2015-06-03 01:32:10 +03:00
David Sidrane
82d9bf29be
Added Garbage collection closes #36
2015-06-02 11:03:11 -10:00
David Sidrane
a39c8fef3a
Consistant use of NULL
2015-06-01 10:38:44 -10:00
Pavel Kirienko
7518172f6e
POSIX tools - more autoformatting
2015-06-01 15:22:06 +03:00
Pavel Kirienko
e0ea51aa21
Fixed naming and CV-correctness
2015-06-01 15:17:58 +03:00
Pavel Kirienko
1c88bd7183
Using proper NULL in POSIX tools
2015-06-01 15:09:34 +03:00
Pavel Kirienko
2615fda63e
POSIX event tracer formatting
2015-06-01 15:04:46 +03:00
Pavel Kirienko
52529408d3
POSIX tools - visibility fix
2015-06-01 15:03:27 +03:00
Pavel Kirienko
49019bfcff
firmware_version_checker.hpp formatting
2015-06-01 14:58:21 +03:00
Pavel Kirienko
cc74cf46af
Basic file server backend formatting
2015-06-01 14:57:44 +03:00
Pavel Kirienko
52f809a620
firmware_version_checker.hpp formatting
2015-06-01 14:22:32 +03:00
David Sidrane
cf32ca0573
Uodated to 20150527 Read GetInfo changes
2015-05-30 08:00:02 -10:00
David Sidrane
4733a0d1a0
File Open Cache
2015-05-29 17:59:31 -10:00
David Sidrane
f2fe415e55
Code consolidation
2015-05-27 06:07:47 -10:00
David Sidrane
436cfcefa9
Use FileCRC typedef
2015-05-27 04:32:50 -10:00
David Sidrane
be50b94cba
Revert of format changes
2015-05-27 03:53:54 -10:00
David Sidrane
75b8831f21
Removed perfunction optimization setting
2015-05-26 14:21:16 -10:00
David Sidrane
28802a38dd
removed firmware common, made GetInfo part of the firmware checke class fixed firmware path so that code compiles
2015-05-26 14:00:49 -10:00
Pavel Kirienko
fcca97d71c
FirmwareCommon signature fix
2015-05-26 21:53:26 +03:00
Pavel Kirienko
3a07bde393
Fixes and notes in FirmwareCommon
2015-05-26 21:38:14 +03:00
Pavel Kirienko
adbf059585
Fixes and notes in FirmwarePath
2015-05-26 21:27:33 +03:00
Pavel Kirienko
85f498bbe0
FirmwareVersionChecker formatting fix
2015-05-26 21:14:26 +03:00
Pavel Kirienko
53317eb902
BasicFileSeverBackend style fixes
2015-05-26 20:37:58 +03:00
Pavel Kirienko
6a34d19cc5
Style fixes in uavcan_posix/dynamic_node_id_server
2015-05-26 20:36:41 +03:00
David Sidrane
64b14db1f5
More string refactoring
2015-05-21 07:25:53 -10:00
David Sidrane
fa11a76143
Refactoring paths
2015-05-20 18:17:16 -10:00
David Sidrane
b8d3884eb6
Ensured close in all paths.
...
This still needed the EAGAIN logic added
2015-05-19 18:54:15 -10:00
David Sidrane
5a0bccf787
Update file_server_backend.hpp
2015-05-19 18:28:19 -10:00
David Sidrane
ee25e3db45
POSIX File Server Backend
2015-05-19 17:47:37 -10:00
Pavel Kirienko
5e458e918d
MakeString<> helper template
2015-05-18 22:29:09 +03:00
Pavel Kirienko
875c74d88e
Removed useless constructors
2015-05-18 17:11:05 +03:00
Pavel Kirienko
3c073ac9d4
Simple test for POSIX storage backend
2015-05-18 17:08:49 +03:00
Pavel Kirienko
09a96061ad
Fixed and improved file event tracer + POSIX test
2015-05-18 17:02:17 +03:00
Pavel Kirienko
46afa99b27
Refactored POSIX tools
2015-05-18 15:14:37 +03:00