diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-05-12 18:26:14 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-05-12 18:26:14 -0700 |
| commit | 790c38e18c2b6417a05155ed7697a5bf29f1d31e (patch) | |
| tree | f728f26f25e4687c6881252b1aee22025cb27f1d /atmel-samd/flash_api.h | |
| parent | 7672bf773637b008f4e5a334bcbd0a91c5ac95b2 (diff) | |
atmel-samd: Rework boot, main and REPL order.
Boot will only run once now before USB is started. Its output goes to
boot_out.txt. After main and REPL will run with VM and hardware resets
between each.
Diffstat (limited to 'atmel-samd/flash_api.h')
| -rw-r--r-- | atmel-samd/flash_api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/atmel-samd/flash_api.h b/atmel-samd/flash_api.h index 2847023d6..e40f1932b 100644 --- a/atmel-samd/flash_api.h +++ b/atmel-samd/flash_api.h @@ -26,7 +26,11 @@ #ifndef __MICROPY_INCLUDED_ATMEL_SAMD_FLASH_API_H__ #define __MICROPY_INCLUDED_ATMEL_SAMD_FLASH_API_H__ +#include "extmod/fsusermount.h" + extern void flash_init_vfs(fs_user_mount_t *vfs); extern void flash_flush(void); +void flash_set_usb_writeable(bool usb_writeable); + #endif // __MICROPY_INCLUDED_ATMEL_SAMD_FLASH_API_H__ |
