diff options
| author | stijn | 2018-07-03 12:30:42 +0200 |
|---|---|---|
| committer | Damien George | 2018-07-05 19:44:18 +1000 |
| commit | 106e594580d4de2d680c7ceefc7a1c331b4de3dd (patch) | |
| tree | 6a2a000b06c389368e92d05db2c47ab138162037 /ports/windows/Makefile | |
| parent | 8ad30fa433ec917aee1780abfa5ddea7a86c9596 (diff) | |
windows: Make printing of debugging info work out of the box.
Printing debugging info by defining MICROPY_DEBUG_VERBOSE expects
a definition of the DEBUG_printf function which is readily available
in printf.c so include that file in the build. Before this patch
one would have to manually provide such definition which is tedious.
For the msvc port disable MICROPY_USE_INTERNAL_PRINTF though: the
linker provides no (easy) way to replace printf with the custom
version as defined in printf.c.
Diffstat (limited to 'ports/windows/Makefile')
| -rw-r--r-- | ports/windows/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/windows/Makefile b/ports/windows/Makefile index 725cb686e..61a6b2844 100644 --- a/ports/windows/Makefile +++ b/ports/windows/Makefile @@ -28,6 +28,7 @@ endif # source files SRC_C = \ + lib/utils/printf.c \ ports/unix/main.c \ ports/unix/file.c \ ports/unix/input.c \ |
