Fix unix build by using filesystem stub
This commit is contained in:
parent
daee83c10b
commit
ed1ace09e9
|
@ -149,6 +149,7 @@ SRC_C = \
|
||||||
alloc.c \
|
alloc.c \
|
||||||
coverage.c \
|
coverage.c \
|
||||||
fatfs_port.c \
|
fatfs_port.c \
|
||||||
|
supervisor/stub/filesystem.c \
|
||||||
supervisor/stub/serial.c \
|
supervisor/stub/serial.c \
|
||||||
supervisor/stub/stack.c \
|
supervisor/stub/stack.c \
|
||||||
supervisor/shared/translate.c \
|
supervisor/shared/translate.c \
|
||||||
|
|
|
@ -26,13 +26,17 @@
|
||||||
|
|
||||||
#include "supervisor/filesystem.h"
|
#include "supervisor/filesystem.h"
|
||||||
|
|
||||||
void filesystem_init(void) {
|
void filesystem_init(bool create_allowed, bool force_create) {
|
||||||
|
(void) create_allowed;
|
||||||
|
(void) force_create;
|
||||||
}
|
}
|
||||||
|
|
||||||
void filesystem_flush(void) {
|
void filesystem_flush(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void filesystem_writable_by_python(bool writable) {
|
bool filesystem_is_writable_by_python(fs_user_mount_t *vfs) {
|
||||||
|
(void) vfs;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool filesystem_present(void) {
|
bool filesystem_present(void) {
|
||||||
|
|
Loading…
Reference in New Issue