Commit Graph

318 Commits

Author SHA1 Message Date
Giovanni Di Sirio 1db669522c Fixed bug #1227.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15526 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-18 08:42:26 +00:00
Giovanni Di Sirio 435ff12080 Added "stat" command to chibishell.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15460 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-12 08:56:56 +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 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 5293cb6eba Added integration of LittleFS on top of our flash infrastructure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15415 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-28 08:43:32 +00:00
Giovanni Di Sirio 6b6813ec90 Some renaming.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15414 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-27 14:08:57 +00:00
Giovanni Di Sirio f7fddb9330 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15413 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-27 14:05:23 +00:00
Giovanni Di Sirio 9f531eca8b Initial LittleFS support, not yet complete.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15412 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-27 11:03:25 +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 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 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 6247df5068 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15270 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-27 19:14:10 +00:00
Giovanni Di Sirio 608863e8b5 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15257 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-26 10:55:20 +00:00
Giovanni Di Sirio f18696d0ce git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15256 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-26 10:50:11 +00:00
Giovanni Di Sirio 3df99a2067 Added simple "ls" command to shell.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15255 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-26 10:49:16 +00:00
Giovanni Di Sirio 7480e1eb3d Directory-related commands apparently working now, file commands to be reworked.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15253 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-26 08:16:26 +00:00
Giovanni Di Sirio 107f03dc23 Setting CWD works now but there are other problems. Added an error code handling macro for convenience.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15251 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-25 14:24:18 +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 a4faaf9a79 Added a missing check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15205 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 16:59:40 +00:00
Giovanni Di Sirio e760efb119 Disabled by default.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15204 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 13:05:32 +00:00
Giovanni Di Sirio a07310d3cd Added a simple "cat" command. Fixed VFS overlay driver file open.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15203 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 12:46:08 +00:00
Giovanni Di Sirio fe6602f75f git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15202 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-05 12:26:00 +00:00
Giovanni Di Sirio cc7d41bbd6 Improved various syscalls.c files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15201 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 11:44:58 +00:00
Giovanni Di Sirio 7d76e688a7 Added VFS-related commands to the shell, disabled by default.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15198 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 11:24:33 +00:00
Giovanni Di Sirio 33ffc0d95e Fixed C++ support in syscalls.c.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15192 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 08:39:01 +00:00
Giovanni Di Sirio 0d3278d54f Renamed memory_region_t in memory_area_t because naming confusion with MPU regions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15098 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 18:02:57 +00:00
Giovanni Di Sirio 7fc46705c1 Another regression because chCoreGetStatusX() change.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15096 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 16:13:54 +00:00
Giovanni Di Sirio aef7260c96 Fixed shell regression because chCoreGetStatusX() change.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15094 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 14:27:19 +00:00
Giovanni Di Sirio 17c5b2f23a Increased default stack size because overflow when compiling with -O0 or -Og.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15073 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 06:57:00 +00:00
Giovanni Di Sirio 066b450ad7 Cleanup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14991 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-01 10:20:34 +00:00
Giovanni Di Sirio a240a49330 Uncomplete bindings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14987 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 18:29:40 +00:00
Giovanni Di Sirio bfebc16ac6 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14930 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-10-21 10:03:37 +00:00
Giovanni Di Sirio 490802b3b4 Fixed shell for NIL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14429 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-25 08:35:39 +00:00
Giovanni Di Sirio 38e27cdbb4 Timers-related changes in various projects.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14350 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-05-07 12:35:39 +00:00
Giovanni Di Sirio e4401ac0c3 The variable ch_system is not available in all configurations, "owner" is always present in thread structures, shell enhanced to show the core id.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14173 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-04-14 10:15:37 +00:00
Giovanni Di Sirio f220a267f0 More CMSIS support.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14086 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-23 10:15:07 +00:00
Giovanni Di Sirio 33e6532a53 Clock initialization using the SDK, no settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14080 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-22 16:28:03 +00:00
Giovanni Di Sirio de273b8b04 Bindings for Pico-SDK.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14079 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-22 11:29:15 +00:00
cinsights f6e7aa1acd Correct reference to thread prio in shell_cmd.c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13970 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-12-20 04:13:33 +00:00
Giovanni Di Sirio d903736f25 Various patches related to MACv2 and LWIP.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13889 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-10-15 08:37:02 +00:00
cinsights d96e7c10df Fix typos in ARM port. Add _exit, _kill and _getpid to syscalls.c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13803 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-08-06 09:11:54 +00:00
Giovanni Di Sirio 8a1b18108c Updated FatFS to version 0.14.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13735 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-07-06 08:02:12 +00:00
Giovanni Di Sirio e2943eb904 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13579 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2020-04-26 12:36:56 +00:00
Giovanni Di Sirio fc386f7740 Added dynamic reconfiguration API to lwIP bindings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13539 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-04-19 07:02:05 +00:00
Giovanni Di Sirio e4d9293201 Various fixes after test compiling everything. Obsolete projects removed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13430 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-03-16 12:03:32 +00:00
Giovanni Di Sirio 93bf216cbc Improved support for lwIP, fixed bug #1009.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13263 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-01-12 07:59:24 +00:00
Giovanni Di Sirio 1c902d2cbd Updated worfSSL bindings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13262 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2020-01-11 09:42:41 +00:00
Giovanni Di Sirio 0fd433eda0 Added an option to change the shell thread name.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12948 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-08-11 07:08:25 +00:00