Added vfs_chmod() to VFS (Virtual File System), for setting basic file attributes.

Changed signature of vfs.on_mount() event.
Added grbl.on_cycle_start() event, fired on cycle start signal asserted or on cycle start real time command received.
This commit is contained in:
Terje Io
2025-02-25 20:55:59 +01:00
parent 4f883b92d5
commit 9ed8d488f8
12 changed files with 102 additions and 25 deletions
+10 -5
View File
@@ -7,22 +7,27 @@
Part of grblHAL
Copyright (c) 2021-2023 Terje Io
Copyright (c) 2021-2025 Terje Io
Grbl is free software: you can redistribute it and/or modify
grblHAL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
grblHAL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Grbl. If not, see <http://www.gnu.org/licenses/>.
along with grblHAL. If not, see <http://www.gnu.org/licenses/>.
*/
#if SDCARD_ENABLE || LITTLEFS_ENABLE == 2
extern void fs_stream_init (void);
fs_stream_init();
#endif
#if TRINAMIC_ENABLE
extern bool trinamic_init (void);
trinamic_init();