Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
84e77ef89c
@ -31,6 +31,10 @@ void filesystem_background(void) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void filesystem_tick(void) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
bool filesystem_init(bool create_allowed, bool force_create) {
|
bool filesystem_init(bool create_allowed, bool force_create) {
|
||||||
(void)create_allowed;
|
(void)create_allowed;
|
||||||
(void)force_create;
|
(void)force_create;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
#include "supervisor/internal_flash.h"
|
#include "supervisor/flash.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -46,21 +46,29 @@ uint32_t supervisor_flash_get_block_count(void) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void port_internal_flash_flush(void) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
mp_uint_t supervisor_flash_read_blocks(uint8_t *dest, uint32_t block, uint32_t num_blocks) {
|
mp_uint_t supervisor_flash_read_blocks(uint8_t *dest, uint32_t block, uint32_t num_blocks) {
|
||||||
return 0; // success
|
return 0; // success
|
||||||
}
|
}
|
||||||
|
|
||||||
bool supervisor_flash_write_block(const uint8_t *src, uint32_t block) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num, uint32_t num_blocks) {
|
mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num, uint32_t num_blocks) {
|
||||||
return 0; // success
|
return 0; // success
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (0)
|
||||||
|
// See definition in supervisor/flash.c
|
||||||
|
void supervisor_flash_init_vfs(struct _fs_user_mount_t *vfs) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// See definition in supervisor/flash.c
|
||||||
|
void supervisor_flash_flush(void) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void supervisor_flash_release_cache(void) {
|
void supervisor_flash_release_cache(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void port_internal_flash_flush(void) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user