diff options
author | stijn <stijn@ignitron.net> | 2016-06-23 09:55:28 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-06-25 21:49:45 +0100 |
commit | 4b9046328dd9cc5905bc7c971eaa03248f0f0396 (patch) | |
tree | d9bc359dda6dbf6b657a86c1300eedc45fda4a92 | |
parent | 0fb7a7a7ce8e2cde57d5c9c8b59ba414467fc18d (diff) | |
download | micropython-4b9046328dd9cc5905bc7c971eaa03248f0f0396.tar.gz micropython-4b9046328dd9cc5905bc7c971eaa03248f0f0396.zip |
windows/msvc: Include machine_pinbase.c in build and enable umachine module
Fixes linker errors since [ad229477] and adds the umachine module so tests pass.
-rw-r--r-- | windows/mpconfigport.h | 1 | ||||
-rw-r--r-- | windows/msvc/sources.props | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 3289c7b7c9..a860c2e322 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -158,6 +158,7 @@ extern const struct _mp_obj_module_t mp_module_os; extern const struct _mp_obj_module_t mp_module_time; #define MICROPY_PORT_BUILTIN_MODULES \ { MP_OBJ_NEW_QSTR(MP_QSTR_utime), (mp_obj_t)&mp_module_time }, \ + { MP_OBJ_NEW_QSTR(MP_QSTR_umachine), (mp_obj_t)&mp_module_machine }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_uos), (mp_obj_t)&mp_module_os }, \ #if MICROPY_USE_READLINE == 1 diff --git a/windows/msvc/sources.props b/windows/msvc/sources.props index b1065bdfe4..569f24c76b 100644 --- a/windows/msvc/sources.props +++ b/windows/msvc/sources.props @@ -14,6 +14,7 @@ <ClCompile Include="$(PyBaseDir)unix\modtime.c"/> <ClCompile Include="$(PyBaseDir)unix\modmachine.c" /> <ClCompile Include="$(PyBaseDir)extmod\machine_mem.c" /> + <ClCompile Include="$(PyBaseDir)extmod\machine_pinbase.c" /> <ClCompile Include="$(PyBaseDir)extmod\modubinascii.c" /> <ClCompile Include="$(PyBaseDir)extmod\moductypes.c" /> <ClCompile Include="$(PyBaseDir)extmod\moduhashlib.c" /> |