Giovanni Di Sirio
4edce31f68
Fixed bug #1228 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15529 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-18 08:53:25 +00:00
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
88dd95e70f
Removed check for old device revision.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15525 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-16 16:17:09 +00:00
Giovanni Di Sirio
c052603402
Fixed stuck driver start.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15518 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-16 10:16:15 +00:00
Giovanni Di Sirio
598d6fa6ff
typos
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15517 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-16 10:12:08 +00:00
Giovanni Di Sirio
2c48a71c0b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15514 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-15 13:01:09 +00:00
Giovanni Di Sirio
80cf2c38d4
Fixed bug #1224 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15511 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-14 12:43:56 +00:00
Giovanni Di Sirio
30c437bcdf
Fixed bug #1223 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15508 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-14 12:22:28 +00:00
Giovanni Di Sirio
f5114d9839
Fixed bug #1100 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15505 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-14 09:07:37 +00:00
Giovanni Di Sirio
7c3b54d051
Fixed bug #1222 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15503 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-14 08:21:34 +00:00
Giovanni Di Sirio
c622d52f6b
Fixed bug #1221 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15500 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-14 07:49:08 +00:00
Giovanni Di Sirio
3323eb379d
Fixed bug #1220 . Added OCTOSPIv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15486 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-13 09:03:49 +00:00
Giovanni Di Sirio
1a895884e2
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15484 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-11 09:29:30 +00:00
Giovanni Di Sirio
6fee977d76
Incomplete OCTOSPIv2 for STM32.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15483 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-11 09:15:47 +00:00
Giovanni Di Sirio
5fdb9afce9
Fixed bug #1219 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15479 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-10 13:23:14 +00:00
Giovanni Di Sirio
d9c58a104b
SIO patch from karl.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15478 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-10 12:51:11 +00:00
Giovanni Di Sirio
cf4d9f2584
STM32H723 demo working. Improved mcuconf.h template for STM32H723 and similar.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15476 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-10 10:32:05 +00:00
Giovanni Di Sirio
c3146a7ae2
Demo compiles now. Fixed a small error in all H7 mcuconf.h files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15475 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-09 13:51:41 +00:00
Giovanni Di Sirio
8aa9577d53
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15474 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-09 13:20:52 +00:00
Giovanni Di Sirio
8698539ecf
More new H7s work, added demo, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15473 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-09 11:45:49 +00:00
Giovanni Di Sirio
91413b3cb0
Board files for STM32H723ZG-Nucleo144.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15472 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-09 10:55:24 +00:00
Giovanni Di Sirio
c0f5c2b5ae
Shared some code between types 1 and 2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15469 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-04 12:20:30 +00:00
Giovanni Di Sirio
3935737530
Some more work on newer H7s.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15468 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-03 14:34:11 +00:00
Giovanni Di Sirio
0d20484693
Separate clock trees added for H7, newer devices are too different.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15467 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-03-03 10:46:08 +00:00
Giovanni Di Sirio
0601c535ad
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15466 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-20 15:38:34 +00:00
Giovanni Di Sirio
85d9c98e39
Updated H7 boot params.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15465 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-20 08:48:04 +00:00
Giovanni Di Sirio
e1a0f0b149
Updated ST Cube headers for STM32H7xx.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15464 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-20 08:39:51 +00:00
Giovanni Di Sirio
1304481369
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15463 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-16 18:29:33 +00:00
Giovanni Di Sirio
ea65dbbe74
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15462 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-15 12:28:21 +00:00
Giovanni Di Sirio
7534b597cf
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15461 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-13 21:17:48 +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
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
b37595d351
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15457 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-10 20:21:20 +00:00
Giovanni Di Sirio
dfa77ef0d7
Planning for expansion sorting, fixed a small allocation bug in sglob, removed an unnecessary field in sglob_t.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15456 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-09 14:19:39 +00:00
Giovanni Di Sirio
3cf08662ea
Fixed invalid root handling by the VFS streams driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15455 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-09 13:11:26 +00:00
Giovanni Di Sirio
523cb5fb4c
Fixed backtracking regression in paths normalization code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15454 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-09 12:19:55 +00:00
Giovanni Di Sirio
7592bdd8c9
MSH can now be loaded statically in flash, removed the previous basic demos.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15451 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-09 10:07:13 +00:00
Giovanni Di Sirio
b39ca51b57
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15449 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 17:09:55 +00:00
Giovanni Di Sirio
9857f97478
Paths expansion working(ish), to be integrated into the shell.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15448 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 13:14:41 +00:00
Rocco Marco Guglielmi
d226497cc2
Updated Updated LIS302DL demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LIS302DL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15447 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 10:19:15 +00:00
Rocco Marco Guglielmi
6dab361b94
Updated Updated LSM6DS0 demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LSM6DS0.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15446 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 08:29:48 +00:00
Rocco Marco Guglielmi
4ef99d2775
Updated Updated LPS25H demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LPS25H.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15445 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 08:20:55 +00:00
Rocco Marco Guglielmi
77454609d9
Updated Updated LIS3MDL demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LIS3MDL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15444 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 08:16:48 +00:00
Rocco Marco Guglielmi
184deb923d
Updated LSM303AGR demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LSM303AGR.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15442 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-08 08:00:52 +00:00
Giovanni Di Sirio
55b0d6d512
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15441 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 20:56:25 +00:00
Rocco Marco Guglielmi
4ddc79903f
Updated LSM6DSL demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LSM6DSL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15440 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 19:00:30 +00:00
Rocco Marco Guglielmi
e9918a4413
Updated LIS3DSH demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LIS3DSH.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15439 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 18:47:21 +00:00
Rocco Marco Guglielmi
7a1228781e
Updated LSM303DLHC demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in LSM303DLHC.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15437 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 17:56:19 +00:00
Rocco Marco Guglielmi
db3586adf7
Updated ADXL355 demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in ADXL355.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15436 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 17:37:18 +00:00
Giovanni Di Sirio
610ddc1dfb
Paths expansion, experimental, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15435 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 13:17:25 +00:00
Rocco Marco Guglielmi
501fa46740
Updated L3GD20 demos in testex demos to be close to the pattern used in testhal demos. Minor changes to field names in L3GD20.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15434 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 10:40:22 +00:00
Rocco Marco Guglielmi
6f88d43570
Fixed warning in ADUCM SPI lld
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15432 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-07 10:14:25 +00:00
Giovanni Di Sirio
81609b6b8a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15430 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-03 08:07:59 +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
8ed8c6122e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15427 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-01 14:15:50 +00:00
Giovanni Di Sirio
524e171965
Small regression.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15425 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-31 13:17:47 +00:00
Giovanni Di Sirio
4d3ad6f049
Fixed bug #1217 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15423 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-31 11:07:44 +00:00
Giovanni Di Sirio
9110b9291a
Fixed bug #1216 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15421 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-30 09:19:47 +00:00
Giovanni Di Sirio
5c51959778
Reverted bug #1100 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15418 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-29 10:51:46 +00:00
Giovanni Di Sirio
e32669c268
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15417 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-28 15:48:40 +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
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
00684c677d
Removed legacy stdio in SBs.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15410 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-27 08:40:53 +00:00
Giovanni Di Sirio
e08f28da20
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15408 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-26 13:36:25 +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
65f7f6cadd
Fixed bug #1215 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15404 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-25 06:45:22 +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
f47d5364c4
Tentative fix for VTs when using intervals larger tha system time.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15402 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-24 07:24:29 +00:00
Giovanni Di Sirio
2cc33be4be
Removed temporary files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15401 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-23 06:29:33 +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
1e2ebee781
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15399 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 14:27:44 +00:00
Giovanni Di Sirio
0e6c15f43d
Additional VFS API.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15398 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 14:24:25 +00:00
Giovanni Di Sirio
90ff80d262
Simple "ls" command.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15397 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 10:58:27 +00:00
Giovanni Di Sirio
fc0c286221
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15396 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 10:37:28 +00:00
Giovanni Di Sirio
3e55a4d47f
Added cd and pwd to shell.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15395 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 09:08:10 +00:00
Giovanni Di Sirio
60647952ea
Tentative fixes to STM32 SIO drivers.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15394 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 08:25:01 +00:00
Giovanni Di Sirio
a5f5513642
Fixed bug #1214 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15392 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 07:27:54 +00:00
Giovanni Di Sirio
4a6ea63068
Fixed bug #1213 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15390 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 06:53:58 +00:00
Giovanni Di Sirio
7845c2b50d
Fixed bug #1212 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15387 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-22 06:37:54 +00:00
Giovanni Di Sirio
ce9e38a181
Improved error message.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15386 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 20:19:40 +00:00
Giovanni Di Sirio
a500cf055a
Fixed ^D behavior.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15385 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 19:59:47 +00:00
Giovanni Di Sirio
ce119aef13
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15384 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 19:49:55 +00:00
Giovanni Di Sirio
daa8afb1df
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15383 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 13:17:29 +00:00
Giovanni Di Sirio
d15d7c9b2d
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15382 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 10:32:49 +00:00
Giovanni Di Sirio
3ee7d28428
Added chdir() and getcwd().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15381 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 09:20:28 +00:00
Giovanni Di Sirio
f0a0fea78e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15380 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-20 20:11:50 +00:00
Giovanni Di Sirio
f9f2c3636f
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15379 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-20 06:45:23 +00:00
Giovanni Di Sirio
e446956b6a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15378 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-20 06:20:57 +00:00
Giovanni Di Sirio
916876b01f
Code sub-loading working.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15377 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-18 17:22:54 +00:00
Giovanni Di Sirio
d0a8340472
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15376 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-18 11:10:32 +00:00
Giovanni Di Sirio
33540de167
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15375 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-18 10:32:57 +00:00
Giovanni Di Sirio
57b011ad0e
Fixed bug #1211 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15373 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-18 06:58:42 +00:00
Giovanni Di Sirio
6c7fea3775
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15372 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-17 20:01:13 +00:00
Giovanni Di Sirio
8312fe5a73
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15371 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-17 19:32:37 +00:00
Giovanni Di Sirio
0d2a33ce22
Added few simple builtin commands to the shell.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15370 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-17 18:30:18 +00:00
Giovanni Di Sirio
d35ba8cd7e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15368 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-17 14:53:26 +00:00
Giovanni Di Sirio
f46f3a2181
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15367 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-17 09:57:14 +00:00
Giovanni Di Sirio
214b482751
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15366 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-16 17:09:30 +00:00
Giovanni Di Sirio
6af613f1b8
Minimal shell.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15365 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-16 14:43:19 +00:00
Giovanni Di Sirio
59684fb925
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15364 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-16 12:47:32 +00:00
Giovanni Di Sirio
377fdec495
Implemented sandbox state cleanup on exit() or exception.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15363 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-16 09:11:15 +00:00
Giovanni Di Sirio
160e3e52ae
Improved parameters passing and startup file. Symbol _exit() is now part of the startup file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15362 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-16 07:35:42 +00:00
Giovanni Di Sirio
62ea184237
Fixed initial stack setup.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15361 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 18:00:49 +00:00
Giovanni Di Sirio
35c733568a
Some more optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15360 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 17:19:17 +00:00
Giovanni Di Sirio
305bc3a8ed
Size optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15359 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 16:57:24 +00:00
Giovanni Di Sirio
c1ee7b08b5
Added sbExec() function.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15358 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 13:29:11 +00:00
Giovanni Di Sirio
c65d695093
Loading and passing arguments/variables working now.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15357 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-14 12:51:03 +00:00
Giovanni Di Sirio
077634725f
More memory checking code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15356 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 20:02:03 +00:00
Giovanni Di Sirio
277d9540a3
Fixed wrong condition in sbIsThreadRunningX().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15355 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 14:49:25 +00:00
Giovanni Di Sirio
6047661c76
Extended SB header, all relocations working.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15354 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 13:42:29 +00:00
Giovanni Di Sirio
f2083ce6d6
Support for arguments and environment variables, to be completed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15353 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 10:53:55 +00:00
Giovanni Di Sirio
d6eb9a4d94
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15351 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 09:50:04 +00:00
Giovanni Di Sirio
2639c81af8
Fixed a problem with .ARM.exidx.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15350 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 08:44:34 +00:00
Giovanni Di Sirio
fd36069ca6
File size optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15348 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 15:07:33 +00:00
Giovanni Di Sirio
799c268d84
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15347 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 14:02:20 +00:00
Giovanni Di Sirio
fc682f0337
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15346 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 13:58:10 +00:00
Giovanni Di Sirio
e3e8d3d645
Improved loader. More memory check functions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15345 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 13:00:47 +00:00
Giovanni Di Sirio
b48f8ebdaa
Some renaming for consistency, new check function added, documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15344 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 09:04:41 +00:00
Giovanni Di Sirio
44ccf3952d
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15343 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-11 14:01:19 +00:00
Giovanni Di Sirio
484b515ee1
Fixed an LD behavior when sections are empty (always WRITE ALLOC).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15342 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-11 11:01:57 +00:00
Giovanni Di Sirio
3bceb7fd9d
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15340 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-10 16:36:03 +00:00
Giovanni Di Sirio
9fa0d5ecf8
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15339 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-09 16:28:18 +00:00
Giovanni Di Sirio
0f67a718fa
Small MISRA-related fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15335 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-09 10:47:38 +00:00
Giovanni Di Sirio
6f221b1d4b
Memory checker fixes and enhancements. MISRA-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15332 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-09 08:42:04 +00:00
Giovanni Di Sirio
40fbc0044c
Fixed bug #1210 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15329 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-09 06:36:27 +00:00
Giovanni Di Sirio
316811148b
Fixed bug #1209 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15327 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-09 06:32:35 +00:00
Giovanni Di Sirio
ea26424d45
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15323 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-09 06:18:43 +00:00
Giovanni Di Sirio
c4de483c47
Worked on a very simple test case.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15322 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-08 14:37:32 +00:00
Giovanni Di Sirio
37010bf285
Still bugs to be fixed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15321 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-08 14:11:29 +00:00
Giovanni Di Sirio
a782af6212
More work on the loader, still not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15320 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-08 12:47:49 +00:00
Giovanni Di Sirio
ac756cdf84
Debug pass on the loader, it is not finished yet.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15319 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-07 13:02:28 +00:00
Giovanni Di Sirio
4532dd9243
More loader code, not finished yet.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15318 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-06 08:01:46 +00:00
Giovanni Di Sirio
9ab7bf1d5b
Experimental code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15317 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-05 10:10:43 +00:00
Giovanni Di Sirio
7f29f49f66
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15316 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-04 12:58:43 +00:00
Giovanni Di Sirio
0a6a7da34b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15312 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 15:12:54 +00:00
Giovanni Di Sirio
913887ce72
Bugs fixed, many more to fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15311 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 14:04:44 +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
caad7b91b9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15309 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 10:21:27 +00:00
Giovanni Di Sirio
76e03f4392
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15308 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 10:16:26 +00:00
Giovanni Di Sirio
f0ce0fddbd
Added directory functions missing in the embedded library.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15307 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 10:14:41 +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
e8b69f703d
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15305 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 07:37:55 +00:00
Giovanni Di Sirio
d844cf3b25
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15304 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-01 17:26:25 +00:00
Giovanni Di Sirio
7677592f4a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15303 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-01 17:25:16 +00:00
Giovanni Di Sirio
cc2852fdfc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15302 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-01 08:42:13 +00:00
Giovanni Di Sirio
f417075a17
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15301 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-01 08:08:29 +00:00
Giovanni Di Sirio
b4eeb2918f
Added fstat().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15300 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-01 06:09:08 +00:00
Giovanni Di Sirio
4c5b9b9421
Added dup() and dup2().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15299 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 16:33:23 +00:00
Giovanni Di Sirio
a557acbcd2
Simplified some SB Posix stuff.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15297 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 14:06:43 +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
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
389071a42a
Added 2 new sandbox applications for testing.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15291 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 12:26:38 +00:00
Giovanni Di Sirio
4b65aeca27
Fixed regression related to C99.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15289 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 09:32:09 +00:00
Giovanni Di Sirio
325637c093
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15288 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 09:29:02 +00:00
Giovanni Di Sirio
e9c826005e
Improved HAL flash interface with mutual exclusion methods, improved EFL and SNOR drivers to use it.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15286 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 06:40:05 +00:00
Giovanni Di Sirio
8f71c3e6b5
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15285 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 21:12:15 +00:00
Giovanni Di Sirio
37506abd8e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15284 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 21:04:42 +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
0bfd995bc9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15282 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 20:10:52 +00:00
Giovanni Di Sirio
e2d816d05c
Fixed some types for compliance.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15281 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 17:13:07 +00:00
Giovanni Di Sirio
6751fc38ee
SB-VFS integration working in the demo.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15280 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 16:00:10 +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
ba00fcc509
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15275 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-28 14:02:30 +00:00
Giovanni Di Sirio
c6015620db
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15274 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-28 14:01:59 +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
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
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
6c35d59058
Better mapping of Posix error codes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15268 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 13:25:13 +00:00
Giovanni Di Sirio
6810ebca2d
Added a configuration file for sandboxes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15267 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 12:56:46 +00:00
Giovanni Di Sirio
046eefc043
Changed SB configuration options names to be prefixed with SB_CFG_.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15266 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 12:35:47 +00:00
Giovanni Di Sirio
7422478d6e
Fixed a problem in paths normalization code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15265 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 11:25:38 +00:00
Giovanni Di Sirio
28a49af314
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15264 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 08:53:27 +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
472e68054c
Added missing methods.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15262 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 08:03:36 +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
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
011498d696
Relative paths and chroot support working apparently.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15254 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-26 09:19:30 +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
a43c553ce0
Debugging...
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15252 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-26 07:44:36 +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
d53fa016d9
Some bugs fixed, others not yet.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15250 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-24 12:51:08 +00:00
Giovanni Di Sirio
ef0117ed3d
Added ERANGE error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15249 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-24 10:44:55 +00:00
Giovanni Di Sirio
8e60050444
First of many fixes to come.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15248 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-24 10:39:15 +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
247222f759
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15246 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-15 13:33:38 +00:00
Giovanni Di Sirio
b436f658dd
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15245 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-15 08:48:27 +00:00
Giovanni Di Sirio
582af63da2
Preparation for "current directory" handling, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15244 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-14 14:59:15 +00:00
Giovanni Di Sirio
c01e5a7c22
Added a new CH_CFG_HARDENING_LEVEL option to RT.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15242 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 15:44:12 +00:00
Giovanni Di Sirio
a3ef9790c0
Added check for maximum length.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15241 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 14:01:08 +00:00
Giovanni Di Sirio
fff0615869
Removed some dead code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15240 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 13:03:32 +00:00
Giovanni Di Sirio
d28faca5e1
Added a path normalization function, minor doc fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15239 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 13:01:56 +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
51d0da4eff
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15237 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-13 08:11:17 +00:00
Giovanni Di Sirio
07141d819e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15236 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-12 15:03:10 +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
9c750d6aeb
Fixed a leak.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15234 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-12 09:23:14 +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
f07afd688d
Added template files for a file system.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15232 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-10 14:26:09 +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
fd0d4fe979
Fixed small regression.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15229 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-10 08:50:11 +00:00
Giovanni Di Sirio
4efe731c5e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15228 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-09 16:03:58 +00:00
Giovanni Di Sirio
6100c01bdc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15227 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-09 16:02:46 +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
cf97561662
Preparation for a "chroot"-like feature.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15224 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-09 13:40:01 +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
4dac93cf65
Fixed bug #1207 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15218 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-08 09:57:13 +00:00
Giovanni Di Sirio
957db8ed26
Added a chXXXDispose() function to all objects in NIL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15215 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-07 14:35:54 +00:00
Giovanni Di Sirio
a259221a21
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15214 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-07 12:40:26 +00:00
Giovanni Di Sirio
f1f31a2526
Added a chXXXDispose() function to all objects in RT. Armonized documentation style of some object parameters.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15213 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-07 10:38:25 +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
115fe48c76
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15211 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-06 16:33:21 +00:00
Giovanni Di Sirio
61a0f9743e
Added a base synchronized class.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15210 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-06 14:44:00 +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
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
5ccde8d4ed
Fixed bug #1206 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15195 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-05 08:56:36 +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
1de1586775
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15191 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-04 18:42:48 +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
1a92311b0c
OOP experiment.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15186 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-04 10:59:00 +00:00
Giovanni Di Sirio
4851184656
syscalls prototype
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15184 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-03 15:16:41 +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
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
90d97089df
Small documentation fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15178 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-02 14:13:45 +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