summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-07-27 23:52:56 +0100
committerDamien George <damien.p.george@gmail.com>2015-07-27 23:52:56 +0100
commitf5d04750dbd13bfc10498e20428b1a285ec417af (patch)
tree819b5723bff4db7cb9f5f147f403430b7c40fa55 /stmhal/mpconfigport.h
parent92e9a5e0a7f2634c670ffe8056430b94d210a4c0 (diff)
downloadmicropython-f5d04750dbd13bfc10498e20428b1a285ec417af.tar.gz
micropython-f5d04750dbd13bfc10498e20428b1a285ec417af.zip
stmhal: Put fs_user_mount pointer in root ptr section of global state.
Should fix issue #1393.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r--stmhal/mpconfigport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h
index a6dba431f3..67efd091bf 100644
--- a/stmhal/mpconfigport.h
+++ b/stmhal/mpconfigport.h
@@ -166,6 +166,9 @@ extern const struct _mp_obj_module_t mp_module_network;
/* pointers to all CAN objects (if they have been created) */ \
struct _pyb_can_obj_t *pyb_can_obj_all[2]; \
\
+ /* for user-mountable block device */ \
+ struct _fs_user_mount_t *fs_user_mount; \
+ \
/* list of registered NICs */ \
mp_obj_list_t mod_network_nic_list; \