@ -105,4 +105,7 @@ extern const mp_obj_module_t mp_module_ussl;
extern const mp_obj_module_t mp_module_machine;
extern const mp_obj_module_t mp_module_lwip;
// extmod functions
MP_DECLARE_CONST_FUN_OBJ(pyb_mount_obj);
#endif // __MICROPY_INCLUDED_PY_BUILTIN_H__
@ -167,6 +167,7 @@ PY_O_BASENAME = \
../extmod/modubinascii.o \
../extmod/modmachine.o \
../extmod/modussl.o \
../extmod/fsusermount.o \
# prepend the build destination prefix to the py object files
PY_O = $(addprefix $(PY_BUILD)/, $(PY_O_BASENAME))
@ -153,7 +153,6 @@ SRC_C = \
storage.c \
file.c \
sdcard.c \
fsusermount.c \
diskio.c \
ffconf.c \
lcd.c \
@ -38,7 +38,7 @@
#include "rtc.h"
#include "storage.h"
#include "sdcard.h"
#include "fsusermount.h"
#include "extmod/fsusermount.h"
const PARTITION VolToPart[] = {
{0, 1}, // Logical drive 0 ==> Physical drive 0, 1st partition
@ -30,7 +30,7 @@
#include "lib/fatfs/ff.h"
#include "lib/fatfs/ffconf.h"
#include "lib/fatfs/diskio.h"
STATIC bool check_path(const TCHAR **path, const char *mount_point_str, mp_uint_t mount_point_len) {
if (strncmp(*path, mount_point_str, mount_point_len) == 0) {
@ -33,6 +33,7 @@
#include "py/nlr.h"
#include "py/obj.h"
#include "py/gc.h"
#include "py/builtin.h"
#include "lib/utils/pyexec.h"
@ -58,7 +59,6 @@
#include "dac.h"
#include "lcd.h"
#include "usb.h"
#include "portmodules.h"
#include "modmachine.h"
#include "uart.h"
#include "file.h"
/// \module os - basic "operating system" services