Fix unix build by using filesystem stub

crypto-aes
Scott Shawcroft 4 years ago
parent daee83c10b
commit ed1ace09e9
No known key found for this signature in database
GPG Key ID: FD0EDC4B6C53CA59

@ -149,6 +149,7 @@ SRC_C = \
alloc.c \
coverage.c \
fatfs_port.c \
supervisor/stub/filesystem.c \
supervisor/stub/serial.c \
supervisor/stub/stack.c \
supervisor/shared/translate.c \

@ -26,13 +26,17 @@
#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_writable_by_python(bool writable) {
bool filesystem_is_writable_by_python(fs_user_mount_t *vfs) {
(void) vfs;
return true;
}
bool filesystem_present(void) {

Loading…
Cancel
Save