Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions variants/windows/pydevices/mpconfigvariant.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
// -X heapsize= still overrides it. Needs patch 0012.
#include "variants/dev/mpconfigvariant.h"
#define MICROPY_UNIX_DEFAULT_HEAP_SIZE (8 * 1024 * 1024)
// Run a built-in module's __init__ on import, as unix does. The windows port
// sits at the core ROM level, where this is off, so `import jpegio` after
// lv.init() never registered displayif's LVGL decoder (displayif#41).
#define MICROPY_MODULE_BUILTIN_INIT (1)