micropython/windows
stijn 861670ba2a py: Implement mp_format_float for doubles and use where appropriate
This allows using (almost) the same code for printing floats everywhere,
removes the dependency on sprintf and uses just snprintf and
applies an msvc-specific fix for snprintf in a single place so
nan/inf are now printed correctly.
2015-05-17 21:47:11 +01:00
..
msvc py: Implement mp_format_float for doubles and use where appropriate 2015-05-17 21:47:11 +01:00
.gitignore Windows MSVC port 2014-05-08 10:06:43 +02:00
Makefile Remove obsolete bss-related code/build features 2015-01-08 15:29:44 +01:00
README Windows MSVC port 2014-05-08 10:06:43 +02:00
init.c Remove obsolete bss-related code/build features 2015-01-08 15:29:44 +01:00
init.h windows: Add modtime implementation 2014-05-09 13:58:15 +02:00
micropython.vcxproj msvc: Allow overriding of build options with custom file 2015-04-30 10:14:59 +02:00
mpconfigport.h py: Implement mp_format_float for doubles and use where appropriate 2015-05-17 21:47:11 +01:00
mpconfigport.mk Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
realpath.c Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
realpath.h Add license header to (almost) all files. 2014-05-03 23:27:38 +01:00
sleep.c mingw: Fix compilation issues 2014-05-10 10:42:40 +02:00

README

This is experimental, community-supported Windows port of MicroPython.
It is based on Unix port, and expected to remain so.
The port requires additional testing, debugging, and patches. Please
consider to contribute.


To cross-compile under Debian/Ubuntu Linux system:

sudo apt-get install mingw32 mingw32-binutils mingw32-runtime
make CROSS_COMPILE=i586-mingw32msvc-


To compile under Cygwin:

Install following packages using cygwin's setup.exe: mingw-gcc-g++ make
make CROSS_COMPILE=i686-pc-mingw32-


To compile using Visual Studio 2013:

Open micropython.vcxproj and build


To compile using Visual Studio 2013 commandline:

msbuild micropython.vcxproj