Implement storedevs, prepare to port littlefs

This commit is contained in:
2025-08-16 12:34:36 +02:00
parent c936910199
commit 2b0566c56f
91 changed files with 54963 additions and 37 deletions

15
kernel/util/util.c Normal file
View File

@ -0,0 +1,15 @@
#include "util.h"
char *util_get_filename(char *path) {
char *lastslash = path;
char *p = path;
while (*p) {
if (*p == '/') {
lastslash = p + 1;
}
p++;
}
return lastslash;
}