Giovanni Di Sirio
dda8936497
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16243 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-05-02 19:24:14 +00:00
Giovanni Di Sirio
f84032701c
Mass EOL change to Unix mode.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15872 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-12-11 14:52:30 +00:00
Giovanni Di Sirio
31a000e670
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15459 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-11 14:23:33 +00:00
Giovanni Di Sirio
f3d3d9fcf7
vfsGetStat() function renamed to vfsGetNodeStat() because we need to introduce also the equivalent of stat()/lstat().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15458 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-11 13:07:14 +00:00
Giovanni Di Sirio
0f368ef8b8
Added "mode" parameter to mkdir().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15429 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-02 18:42:19 +00:00
Giovanni Di Sirio
d824edcfa7
Centralized paths handling code into /os/common/utils.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15407 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-26 10:36:03 +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
dd88643cce
Unified open() and close().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15296 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 12:51:42 +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
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
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
7a34d5d52d
Small documentation fixes.
...
Added cd, cwd commands to shell.
Added directory API to VFS, some debug required.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15247 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-24 10:10:40 +00:00
Giovanni Di Sirio
2063cec94d
Added a template driver, some documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15238 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 08:21:31 +00:00
Giovanni Di Sirio
89b9f068ca
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15235 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-12 14:59:23 +00:00
Giovanni Di Sirio
10189b4178
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15233 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-10 15:27:48 +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
21fe686797
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15212 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-06 19:13:59 +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
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
8318caf5ff
Simplified API.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15180 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-03 10:03:49 +00:00
Giovanni Di Sirio
8119b966d0
Reorganized configuration files, reorganized headers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15150 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 12:57:32 +00:00
Giovanni Di Sirio
6c1ff11e02
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15127 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-22 13:55:23 +00:00
Giovanni Di Sirio
a61f93feb3
Reworked error codes to be more HAL-like. Added a separate parser module.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15124 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-21 18:32:41 +00:00
Giovanni Di Sirio
6bd121bd45
Rework of the objects model.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15123 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-21 17:28:25 +00:00
Giovanni Di Sirio
213c2dfade
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15122 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-21 14:58:16 +00:00
Giovanni Di Sirio
d1a4ba093d
More VFS code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15121 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-21 13:01:29 +00:00
Giovanni Di Sirio
656692ac4d
Tentative VFS subsystem.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15114 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-19 16:24:21 +00:00