Commit Graph

42 Commits

Author SHA1 Message Date
Giovanni Di Sirio c110d0e482 More shell file management commands.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15428 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-02 11:26:17 +00:00
Giovanni Di Sirio 11153809ab File unlink handling added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15416 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-28 10:24:04 +00:00
Giovanni Di Sirio f38b8b8ecb Added mkdir and rmdir.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15403 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-24 11:27:38 +00:00
Giovanni Di Sirio ecf1ede710 Implementation stubs for the new VFS API.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15400 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 15:31:26 +00:00
Giovanni Di Sirio 1ecc6215bb Small regression fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15310 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 11:01:00 +00:00
Giovanni Di Sirio 756a5e9ec5 Prevented FatFS header to spread definitions globally.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15306 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 10:12:16 +00:00
Giovanni Di Sirio aeec24bfb7 Patched FatFS for improved errors report, needed for better Posix compatibility.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15295 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 11:35:32 +00:00
Giovanni Di Sirio 2b7b971aaa Unified stat() for both files and directories.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15294 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 08:21:52 +00:00
Giovanni Di Sirio 068ebf8f21 Fixed node modes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15293 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 17:57:25 +00:00
Giovanni Di Sirio 825e82d441 Made node modes more Posix-like.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15292 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 16:33:01 +00:00
Giovanni Di Sirio 32e59f57fd Simplified lseek() implementation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15283 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 21:02:00 +00:00
Giovanni Di Sirio aac3849aa4 Method addref() made virtual.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15279 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 11:48:21 +00:00
Giovanni Di Sirio 8eca9d11d6 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15277 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-28 15:33:29 +00:00
Giovanni Di Sirio 4b9b255235 Created an unified errors header.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15273 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-28 13:09:43 +00:00
Giovanni Di Sirio 5a0129b5ac Fixed inconsistent types, open flags are int.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15272 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-28 09:11:04 +00:00
Giovanni Di Sirio a75d6af9f5 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15271 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-28 08:00:24 +00:00
Giovanni Di Sirio 1014b5c0f6 Support for a "file stat" structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15269 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 18:48:56 +00:00
Giovanni Di Sirio 2d0cbb43b5 Added CWD support to the FatFS driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15263 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 08:14:37 +00:00
Giovanni Di Sirio 6ee9cb3b46 Simplified registration API.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15259 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-26 11:17:55 +00:00
Giovanni Di Sirio 3827b5dc01 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15231 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-10 13:22:00 +00:00
Giovanni Di Sirio fc48d1f6c2 Documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15230 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-10 13:05:20 +00:00
Giovanni Di Sirio e3c3e9916a git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15226 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-09 15:51:39 +00:00
Giovanni Di Sirio 4b0248ca33 Parser improvements, inclusions reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15225 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-09 14:12:21 +00:00
Giovanni Di Sirio 613dec7ec7 Added buffers management to VFS.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15223 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-09 11:17:34 +00:00
Giovanni Di Sirio 7273b02b26 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15207 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-06 07:37:00 +00:00
Giovanni Di Sirio 24d0d0e4fb Optimized use of memory pools.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15206 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-06 07:13:49 +00:00
Giovanni Di Sirio 3dd90761f5 it almost makes sense...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15190 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-04 13:28:50 +00:00
Giovanni Di Sirio 98c734b863 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15189 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-04 13:20:49 +00:00
Giovanni Di Sirio 3702d67de4 Integrated with the new OOP infrastructure, not finished.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15188 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-04 12:30:13 +00:00
Giovanni Di Sirio e8520182e0 Easier VFS integration.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15187 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-04 11:19:22 +00:00
Giovanni Di Sirio d11ba7310f Error codes closer to Posix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15183 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-03 13:12:19 +00:00
Giovanni Di Sirio c56242ebfa git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15182 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-03 12:16:39 +00:00
Giovanni Di Sirio 4d93f7ca79 Open flags compatible with Posix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15181 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-03 12:15:42 +00:00
Giovanni Di Sirio c74e24e840 More FatFS integration code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15175 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-02 13:52:30 +00:00
Giovanni Di Sirio a39182225c Fixed state checker violation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15157 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-30 11:07:29 +00:00
Giovanni Di Sirio 4bd621b1cb Patched FatFS, revised mount/unmount code for VFS FatFS driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15155 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-30 09:18:00 +00:00
Giovanni Di Sirio 1b3d34696d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15154 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-11-29 15:32:00 +00:00
Giovanni Di Sirio 80ff5d0766 cleanup
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15152 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 13:29:30 +00:00
Giovanni Di Sirio 271f5841ce Improved checks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15151 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 13:15:39 +00:00
Giovanni Di Sirio 27fa20c4d1 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15145 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-11-28 15:04:16 +00:00
Giovanni Di Sirio cff83afd75 File modes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15144 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-28 07:06:07 +00:00
Giovanni Di Sirio 2e7c585556 FatFS driver templates.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15142 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-27 09:27:45 +00:00