File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ void filesystem_background(void) {
31
31
return ;
32
32
}
33
33
34
+ void filesystem_tick (void ) {
35
+ return ;
36
+ }
37
+
34
38
bool filesystem_init (bool create_allowed , bool force_create ) {
35
39
(void )create_allowed ;
36
40
(void )force_create ;
Original file line number Diff line number Diff line change 23
23
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
24
* THE SOFTWARE.
25
25
*/
26
- #include "supervisor/internal_flash .h"
26
+ #include "supervisor/flash .h"
27
27
28
28
#include <stdint.h>
29
29
#include <string.h>
@@ -46,21 +46,29 @@ uint32_t supervisor_flash_get_block_count(void) {
46
46
return 0 ;
47
47
}
48
48
49
- void port_internal_flash_flush ( void ) {
50
- return ;
49
+ mp_uint_t supervisor_flash_read_blocks ( uint8_t * dest , uint32_t block , uint32_t num_blocks ) {
50
+ return 0 ; // success
51
51
}
52
52
53
- mp_uint_t supervisor_flash_read_blocks ( uint8_t * dest , uint32_t block , uint32_t num_blocks ) {
53
+ mp_uint_t supervisor_flash_write_blocks ( const uint8_t * src , uint32_t block_num , uint32_t num_blocks ) {
54
54
return 0 ; // success
55
55
}
56
56
57
- bool supervisor_flash_write_block (const uint8_t * src , uint32_t block ) {
58
- return true;
57
+ #if (0 )
58
+ // See definition in supervisor/flash.c
59
+ void supervisor_flash_init_vfs (struct _fs_user_mount_t * vfs ) {
60
+ return ;
59
61
}
60
62
61
- mp_uint_t supervisor_flash_write_blocks (const uint8_t * src , uint32_t block_num , uint32_t num_blocks ) {
62
- return 0 ; // success
63
+ // See definition in supervisor/flash.c
64
+ void supervisor_flash_flush (void ) {
65
+ return ;
63
66
}
67
+ #endif
64
68
65
69
void supervisor_flash_release_cache (void ) {
66
70
}
71
+
72
+ void port_internal_flash_flush (void ) {
73
+ return ;
74
+ }
You can’t perform that action at this time.
0 commit comments