circuitpython/windows
stijn 8dec62a1a4 msvc: Define main build/include directories in a single location
- Use a single file env.props for defining the main directories used when building.
  env.props resolves the base directory and defines overridable output directories,
  and is used by all other build files.
- Fix the build currently failing, basically because the preprocessing command for generating
  qstrdefs uses different include directories than the build itself does.
  (specifically, qstrdefs.h uses #include "py/mpconfig.h" since the fixes for #1022
  in 51dfcb4, so we need to use the base directory as include directory, not the py dir itself).
  So define a single variable containing the include directories instead and use it where needed.
2015-01-02 16:52:07 +01:00
..
msvc msvc: Define main build/include directories in a single location 2015-01-02 16:52:07 +01:00
.gitignore Windows MSVC port 2014-05-08 10:06:43 +02:00
bss.c windows: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:21:46 +00:00
init.c windows: Enable GC and implement bss start and end symbols 2014-06-22 11:31:16 +02:00
init.h windows: Add modtime implementation 2014-05-09 13:58:15 +02:00
Makefile windows: Prefix includes with py/; remove need for -I../py. 2015-01-01 21:21:46 +00:00
micropython.vcxproj Windows MSVC port 2014-05-08 10:06:43 +02:00
mpconfigport.h windows: Correctly interpret skipped tests, enable uhashlib and ubinascii 2014-12-20 16:52:22 +02:00
mpconfigport.mk Rename configuration variables controling Python features. 2014-05-24 23:03:12 +01:00
README Windows MSVC port 2014-05-08 10:06:43 +02: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

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