Commit Graph

109 Commits

Author SHA1 Message Date
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 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 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 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 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