File Interface provides Custom component that can be used to implement its functionality using the code template below
File Interface Custom
#include "retarget_fs.h"
int32_t
rt_fs_open (
const char *path, int32_t mode) {
}
}
int32_t
rt_fs_write (int32_t fd,
const void *buf, uint32_t cnt) {
}
int32_t
rt_fs_read (int32_t fd,
void *buf, uint32_t cnt) {
}
int64_t
rt_fs_seek (int32_t fd, int64_t offset, int32_t whence) {
}
}
}
}
int32_t
rt_fs_rename (
const char *oldpath,
const char *newpath) {
}