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
Giovanni Di Sirio
c2450fd8d4
Fixed overlay driver and scanning loop in the demo.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15171 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-01 14:50:12 +00:00
Giovanni Di Sirio
40f335c681
Fixed bug #1204 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15166 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-01 11:09:02 +00:00
Giovanni Di Sirio
0acb78db9a
Fixed bug #1203 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15163 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-01 11:00:32 +00:00
Giovanni Di Sirio
3341afde93
Small change in mem checks module.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15162 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-01 10:44:29 +00:00
Giovanni Di Sirio
c56cc2ec86
VFS demo working, several details missing.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15161 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-01 10:15:49 +00:00
Giovanni Di Sirio
60301ac995
Added MEM_NATURAL_ALIGN macro to RT and NIL.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15158 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-30 13:12:25 +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
3e8c949549
Fixed some struct names.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15156 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-30 10:20:31 +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
ab568fd909
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15153 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 13:54:15 +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
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
99a4ca309a
Fixed missing initialization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15149 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 12:36:48 +00:00
Giovanni Di Sirio
5e3c8f9358
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15148 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 11:56:34 +00:00
Giovanni Di Sirio
81b9add500
Added an overlay VFS driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15146 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-29 09:45:48 +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
b7ed77e580
Added diagrams.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15143 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-27 13:08:37 +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
Giovanni Di Sirio
7419070c91
Added vfsGetFileStream() function.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15141 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-27 07:07:26 +00:00
Giovanni Di Sirio
fc7e00365d
Directory enumeration now working.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15140 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-27 06:44:44 +00:00
Giovanni Di Sirio
aaf5fd78ad
Fixes and parser improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15139 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-26 20:15:39 +00:00
Giovanni Di Sirio
31d49e9170
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15138 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-26 15:28:35 +00:00
Giovanni Di Sirio
e1289f82da
Some rework, not yet complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15137 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-26 13:58:45 +00:00
Giovanni Di Sirio
821b75bb53
VFS demo application, not yet functional.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15136 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-26 12:51:42 +00:00
cinsights
b8ae0d7c83
Typo fixes
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15135 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-25 11:14:11 +00:00
Giovanni Di Sirio
4ad2feceb2
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15134 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-25 09:25:59 +00:00
Giovanni Di Sirio
74185aeaa9
Added static initializer for virtual timers in RT.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15133 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-25 07:03:57 +00:00
akscram
2feacb57b1
L4xx: fixed DMA streams for I2C4 on L496
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15132 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-25 03:17:58 +00:00
Giovanni Di Sirio
ed8f3e4404
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15131 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-23 14:53:10 +00:00
Giovanni Di Sirio
b1abb2fc34
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15130 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-23 11:03:19 +00:00
Giovanni Di Sirio
fc29bee998
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15129 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-23 08:19:39 +00:00
Giovanni Di Sirio
09747ca593
Parser improvements, streams adapter driver header.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15128 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-22 16:20: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
8be0e6d9ae
White space fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15126 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-22 13:18:49 +00:00
Giovanni Di Sirio
4dc0c2fe2b
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15125 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-21 18:49:24 +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
47e16b7bd8
More VFS draft code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15120 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-20 17:27:14 +00:00
Giovanni Di Sirio
6a9ebbeb62
Mode details about nodes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15119 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-20 13:39:18 +00:00
Giovanni Di Sirio
1968d8b0bd
Separate classes for files and directories.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15118 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-20 05:26:34 +00:00
Giovanni Di Sirio
d2ac0d1fa7
Removed lp mode from USBv2 driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15116 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-20 04:58:48 +00:00
Giovanni Di Sirio
1a103a9a5e
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15115 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-19 20:16:06 +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
Giovanni Di Sirio
1566238b27
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15112 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-19 14:32:00 +00:00
Giovanni Di Sirio
f476d11ed9
Typo in chconf.h.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15111 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-18 15:42:21 +00:00
Giovanni Di Sirio
b8a1794141
Increased HAL version number to 8.1.0.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15108 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-18 12:25:05 +00:00
Giovanni Di Sirio
f12ce2fbaf
Simplified demos using startup definitions (improved).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15103 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-17 14:06:18 +00:00
Giovanni Di Sirio
4a16777b33
Documentation improvements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15102 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-17 10:33:16 +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
7bd05fc08f
Initial SB rework.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15097 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 17:45:29 +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
571c23742a
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15095 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 16:11:31 +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
e1378a31ca
Added new function chHeapIntegrityCheck().
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15092 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 13:48:06 +00:00
Giovanni Di Sirio
8ab39c9118
Added EFL driver implementation for STM32G4xx.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15091 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 13:38:28 +00:00
Giovanni Di Sirio
a5f516e19e
Function chCoreGetStatusX() changed to return a memory region object instead of a simple size. Started implementation of a memory heap checker.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15090 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 13:34:05 +00:00
Giovanni Di Sirio
bf210e5689
Fixed missing inclusion of ccportab.h in some ports.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15087 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 10:27:54 +00:00
Giovanni Di Sirio
c594ce0242
Various enhancements.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15086 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 09:31:22 +00:00
Giovanni Di Sirio
d3892df86d
RT and NIL upgraded to support the enhanced OSLIB. Mass update of chconf.h files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15085 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 09:02:52 +00:00
Giovanni Di Sirio
7356b88624
Memory areas/pointers checker functions added to OSLIB.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15084 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-15 15:54:03 +00:00
Giovanni Di Sirio
614bb82d70
Isochronous mode compiles now, not tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15083 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 16:51:11 +00:00
Giovanni Di Sirio
850f56b1f1
Fast copy working in STM32 USBv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15082 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 16:19:11 +00:00
Giovanni Di Sirio
4f3719663c
It appears to work now.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15081 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 14:43:54 +00:00
Giovanni Di Sirio
89eeeb4648
Complete, except it does not work...
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15080 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 13:57:12 +00:00
Giovanni Di Sirio
5ba80bcff8
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15078 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 12:57:46 +00:00
Giovanni Di Sirio
c61f047462
Some code simplified.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15077 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 11:58:01 +00:00
Giovanni Di Sirio
0f8a1b4bc3
Some renaming for consistency with USBv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15076 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 10:30:54 +00:00
Giovanni Di Sirio
8ba8bd3f72
Compiles but not tested and there are known errors. ISOC part not yet enabled.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15075 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 10:30:33 +00:00
Giovanni Di Sirio
2a27797871
Patch from fractal.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15074 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 09:05: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
a456f5b75c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15072 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-14 06:12:20 +00:00
Giovanni Di Sirio
5eec7b1b55
USBv1 driver optimization and removal of a potential race condition (not demonstrated).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15071 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-13 13:28:13 +00:00
Giovanni Di Sirio
655ea2923c
Added elfAcquireBus()/eflReleaseBus() functions to EFL driver.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15070 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-13 12:40:02 +00:00
Giovanni Di Sirio
6c56f1a1c7
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15067 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-12 13:07:04 +00:00
akscram
0bc9562ff2
H7: fixed STM32_SDMMC2_NUMBER
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15062 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-11 22:28:56 +00:00
Giovanni Di Sirio
ca0290ace7
Added an STM32 WDG "multi" demo. Fixed a problem with RCC LSIv2.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15056 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-11 08:04:00 +00:00
akscram
667bea145b
STM32WBxx: set STM32_LSI_ENABLED in RCCv1/stm32_lsi_v2.inc
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15055 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-11 07:45:33 +00:00
Giovanni Di Sirio
c14fdf21d7
Fixed bug #1200 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15053 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-10 17:06:06 +00:00
Giovanni Di Sirio
1f33b319fa
Documentation fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15051 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-10 12:47:29 +00:00
vrepetenko
29760bc1ea
STM32WL: updated to new SPI driver version.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15048 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-10 11:25:06 +00:00
cinsights
1bf0f58525
Update STM32WB to new SPIV2. Fix compile error for IWDG due missing LSI define
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15047 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-10 11:12:12 +00:00
Giovanni Di Sirio
742afed158
Added option to copy vectors in RAM on GCC startup for ARMv6-M, ARMv7-M and ARMv8-M-ML.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15046 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-09 10:12:13 +00:00
Giovanni Di Sirio
b7678024ac
RAM vectors support.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15045 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-09 08:48:20 +00:00
Giovanni Di Sirio
7cc1e87d76
Missing files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15043 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 15:37:15 +00:00
Giovanni Di Sirio
ecfd351419
Documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15033 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 09:28:53 +00:00
Giovanni Di Sirio
129429b7c3
SPIv2 is not the default.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15032 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 09:27:46 +00:00
Giovanni Di Sirio
3c64c1246d
Fixed names.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15031 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 09:25:59 +00:00
Giovanni Di Sirio
0514a6ef99
Documentation fixes. Added missing templates.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15030 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 09:24:28 +00:00
Giovanni Di Sirio
5bcfa424c0
Documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15027 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 08:34:19 +00:00
Giovanni Di Sirio
0d3d4c695f
Documentation fix.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15026 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-07 08:22:48 +00:00
Giovanni Di Sirio
eb08271664
F1. L0, L1 SPI demos removed and added targets to the multi SPI demo.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15010 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-06 08:26:43 +00:00
Giovanni Di Sirio
360ec6455a
Fixed a regression. Updated readme.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15008 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-05 11:22:56 +00:00
Giovanni Di Sirio
3d22a387e2
SPIv2 driver implemented for STM32 SPIv1 peripheral, only enabled on F4.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15007 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-05 10:39:55 +00:00
Giovanni Di Sirio
dda3dc7efe
cleanup
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15006 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-05 10:23:18 +00:00
Giovanni Di Sirio
998b9f8891
Fixed header guards.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15005 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-05 10:13:58 +00:00
vrepetenko
98cc36b6e9
Removed HAL unrelated definitions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15004 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 19:14:35 +00:00
Giovanni Di Sirio
d773c280f9
Startup file for STM32H7xx-M4. Added check for cache invalidation, it is done only for the M7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15003 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 12:22:27 +00:00
Giovanni Di Sirio
5468b21692
Dropped peripheral allocation via RCC concept.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15001 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 09:45:08 +00:00
Giovanni Di Sirio
c3bc999a9a
STM32 ADCv2 now supports return code on start function.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15000 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 08:49:44 +00:00
Giovanni Di Sirio
dcc0824e97
Style-related fixes, mainly white space.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14999 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-03 07:01:57 +00:00
Giovanni Di Sirio
ba6f180920
Special case for single core devices.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14998 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-02 18:05:14 +00:00
Giovanni Di Sirio
409d385c3f
Fixed regresssion.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14997 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-02 17:59:05 +00:00
Giovanni Di Sirio
475511a199
Experimental improved RCC for H7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14996 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-02 16:08:46 +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
e0eb252346
Enabled slave mode for STM32 SPIv3.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14984 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 13:01:59 +00:00
Giovanni Di Sirio
e1732a23c0
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14973 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 06:34:00 +00:00
Giovanni Di Sirio
17e08c7939
Added an abort on overflow error.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14972 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 06:02:45 +00:00
Giovanni Di Sirio
a72d0f8186
SPIv2 driver now working on STM32H7.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14971 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-31 05:26:00 +00:00
Giovanni Di Sirio
0bb473e0fc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14970 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-30 10:42:00 +00:00
Giovanni Di Sirio
5fae5da19c
Fixed some conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14969 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-29 08:03:57 +00:00
Giovanni Di Sirio
184683e70c
SPIv3 tentative enhancements, not complete and broken. Some documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14967 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-27 14:35:34 +00:00
Giovanni Di Sirio
4bd8290a35
Fixed missing function prototype.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14965 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-27 08:09:18 +00:00
Giovanni Di Sirio
c7cff40230
Added an option for the SPI transmit pattern.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14963 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-27 07:58:28 +00:00
Giovanni Di Sirio
ab9469553a
Extended SPIv2 driver to F0, F3, F37x. F7, G0.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14957 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 12:22:39 +00:00
Giovanni Di Sirio
0e855bf8c9
Fixed small regression.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14956 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 11:44:56 +00:00
Giovanni Di Sirio
b73feac604
SPIv2 support added to L4 and L4+ families. Made GPIOv2 and GPIOv3 definitions more compatible (L4 affected).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14955 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 10:42:40 +00:00
Giovanni Di Sirio
205c3ab699
Improved comments.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14954 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 09:42:11 +00:00
Giovanni Di Sirio
6409533d46
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14953 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 09:39:51 +00:00
Giovanni Di Sirio
aa8b8060b3
Slave mode now working apparently. Improved SPI stop/abort procedure.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14952 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-26 09:02:55 +00:00
Giovanni Di Sirio
bf8693b950
Small improvement.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14950 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-25 14:38:11 +00:00
Giovanni Di Sirio
0c96eb0df0
Safer SPI stop procedure.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14948 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-25 12:31:29 +00:00
Giovanni Di Sirio
87b54b56c3
Fixed few wrong conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14947 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-25 12:23:32 +00:00
Giovanni Di Sirio
47ff415e48
Mass update of halconf.h files.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14945 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-24 15:48:38 +00:00
Giovanni Di Sirio
114e173488
Removed dead "SPI_USE_CIRCULAR" option. Added a SPI slave test. Updated halconf.h template.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14944 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-24 15:44:18 +00:00
Giovanni Di Sirio
6a0c094edc
Added __eabi() function to e200 GCC startup file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14943 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-24 07:16:41 +00:00
Giovanni Di Sirio
8434a76fe5
Change for slave mode support, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14941 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-23 13:59:04 +00:00
Giovanni Di Sirio
6da5b1616d
Added separate sink/souce for each SPI instance.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14940 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-23 13:16:52 +00:00
Giovanni Di Sirio
425fe48460
Fixed DMA disable and SPI settings.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14938 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-22 11:06:47 +00:00
Giovanni Di Sirio
e3f3484ea4
Few fixes, SPI v2 enabled on STM32G4xx experimentally.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14937 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-22 09:51:41 +00:00
Giovanni Di Sirio
bb00a2b52b
Various fixes to SPIv2 driver, added test application, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14936 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-22 08:32:39 +00:00
Giovanni Di Sirio
73df9ed5f9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14935 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 11:51:24 +00:00
Giovanni Di Sirio
82eb284d81
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14933 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 11:45:35 +00:00
Giovanni Di Sirio
ce7b5bfd86
Fixed bug #1199 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14931 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 11:29:38 +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
d694445930
Fixed a small compliance problem with C++11.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14929 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 09:40:35 +00:00
Giovanni Di Sirio
2edd321b81
Fixed a comment.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14928 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 09:37:41 +00:00
Giovanni Di Sirio
68afb67569
Fixed bug #1198 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14926 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-21 09:36:15 +00:00
Giovanni Di Sirio
e703a98d9e
Experimental clock tree generator.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14924 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 14:38:35 +00:00
Giovanni Di Sirio
30ec4bd812
Changed defaults for PLLSAIxN on STM32L4+ (72->60).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14923 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 14:35:35 +00:00
Giovanni Di Sirio
1a07eaf04d
Fixed some build regressions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14922 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 08:44:27 +00:00
Giovanni Di Sirio
0778b904cb
Fixed bug #1197 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14921 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-20 07:25:25 +00:00
Giovanni Di Sirio
f3ed688f1a
Missing DMA2 macros
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14920 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-19 14:20:13 +00:00
Giovanni Di Sirio
6de1cfd7f8
USB-related changes for STM32G0B1 devices. To be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14919 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-19 09:52:16 +00:00
Giovanni Di Sirio
8c021bfac5
Simplified handling of circular mode.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14918 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 14:42:23 +00:00
Giovanni Di Sirio
ff2b03c863
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14917 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 13:36:49 +00:00
Giovanni Di Sirio
f83396ec38
More SPI v2 code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14916 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 10:30:42 +00:00
Giovanni Di Sirio
e5098d67e4
Experimental SPI v2 code, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14915 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-17 08:56:23 +00:00
Giovanni Di Sirio
a0982b7301
HAL version number to 8.0. Renamed HAL error codes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14914 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-16 17:21:41 +00:00
Giovanni Di Sirio
df4d988e1b
Implemented a mux between SPI v1 and SPI v2 drivers. Work in progress.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14913 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-16 15:22:52 +00:00
Giovanni Di Sirio
83f6c83a94
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14912 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-15 18:02:12 +00:00
Giovanni Di Sirio
d828888864
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14911 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-14 14:29:34 +00:00
Giovanni Di Sirio
4d8264e833
White space fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14910 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-14 08:05:44 +00:00
Giovanni Di Sirio
aeabe0ca2a
Documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14909 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-14 07:51:32 +00:00
Giovanni Di Sirio
2070147fe6
Experimental code, to be removed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14908 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 14:47:22 +00:00
Giovanni Di Sirio
d0cc26c4ed
Documentation-related fixes.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14907 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 12:47:39 +00:00
Giovanni Di Sirio
de716ad412
Fixed SB messages with timeout.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14905 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 09:27:02 +00:00
Giovanni Di Sirio
c6b5034fb9
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14902 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 12:04:21 +00:00
Giovanni Di Sirio
f87f0d1d65
Dynamic regions support and demo, to be tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14901 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 08:48:07 +00:00
Giovanni Di Sirio
5664a8ffd0
Removed SB initialization function.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14900 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 07:31:09 +00:00
Giovanni Di Sirio
b84aca5137
Added a global event for sandboxes monitoring.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14899 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 07:17:56 +00:00
Giovanni Di Sirio
5d7006ac84
New SB API working, it breaks the old demo, to be reworked or removed.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14896 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-11 13:40:47 +00:00
Giovanni Di Sirio
da1767c30a
Resolved a race condition.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14895 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-11 08:31:26 +00:00
Giovanni Di Sirio
155c995544
Reverted bug #1196 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14891 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 13:55:51 +00:00
Giovanni Di Sirio
f45c45c57e
Missing file.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14889 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 10:52:42 +00:00
Giovanni Di Sirio
66ee9ca506
SB support in ARMv7-M-ALT port, work in progress.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14888 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 10:45:17 +00:00
cinsights
7468c1ad68
Fixed bug #1196 .
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14887 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-10 08:42:11 +00:00
Giovanni Di Sirio
54047c87d9
draft file
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14886 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 15:02:52 +00:00
vrepetenko
0c103fc862
Updated device names.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14885 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 14:26:44 +00:00
Giovanni Di Sirio
1600d09deb
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14884 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 13:20:07 +00:00
Giovanni Di Sirio
56bae94e37
Fixed MPU regions switching.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14883 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 12:25:37 +00:00
Giovanni Di Sirio
df3b1c734a
CONTROL store in context made conditional.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14882 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 11:32:39 +00:00
Giovanni Di Sirio
ef748cc4c6
Small performance optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14881 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-08 10:17:20 +00:00
Giovanni Di Sirio
e80ec0c644
Removed CONTROL from saved context.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14877 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-07 14:32:55 +00:00
Giovanni Di Sirio
dd5e10df69
More syscall-related code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14876 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-06 13:21:33 +00:00
Giovanni Di Sirio
10e2924d17
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14874 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-05 18:52:24 +00:00
Giovanni Di Sirio
3999f4b162
Support for non-privileged threads, support for syscall (not complete).
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14873 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-05 12:26:48 +00:00
Giovanni Di Sirio
77b27c1370
Syscall-related code, not finished.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14872 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-04 09:40:22 +00:00
Giovanni Di Sirio
258159daf0
Cleanup.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14871 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-04 08:42:56 +00:00
Giovanni Di Sirio
4e6352093c
Changed limit for fast priorities.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14870 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 20:47:49 +00:00
Giovanni Di Sirio
47ada686cc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14869 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 17:38:13 +00:00
Giovanni Di Sirio
5aae751992
Fixed an harmless warning under rare conditions.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14867 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 13:39:11 +00:00
Giovanni Di Sirio
f68cb0f52c
Enabled MPU stack check.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14865 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 13:27:37 +00:00
Giovanni Di Sirio
102016ca2e
Small optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14864 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 10:39:22 +00:00
Giovanni Di Sirio
8db7a89fe6
Small optimization.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14863 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 07:38:48 +00:00
Giovanni Di Sirio
82b03e885e
Fixed issue with state checker.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14862 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 07:14:08 +00:00
Giovanni Di Sirio
2aadae694c
More clear code.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14861 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-03 06:56:35 +00:00
Giovanni Di Sirio
289dd34eb7
Improved latencies, added report.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14854 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-30 06:54:57 +00:00
akscram
d7e8971bc9
ADCv4: removed incorrect asserts for H7
...
these are not needed
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14850 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-30 05:02:02 +00:00
Giovanni Di Sirio
500214e7cd
Missing initialization, fixed MPU regions storage area.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14849 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-29 13:38:35 +00:00
Giovanni Di Sirio
a2bdca5a24
consistency improvements
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14848 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-29 12:54:09 +00:00
Giovanni Di Sirio
4dd944b332
v7m alt port working, options not tested.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14847 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-29 12:28:50 +00:00
Giovanni Di Sirio
1303997423
Experimental alternate ARMv7-M port, not complete.
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14843 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-28 09:56:13 +00:00
Giovanni Di Sirio
405cfa3103
typo
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14842 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-28 09:54:26 +00:00
akscram
89633c9685
SPIv3: fixed missing spi_lld_wait_complete in spi_lld_ignore()
...
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14840 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-09-28 08:18:43 +00:00