summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-07-05 17:26:49 +1000
committerDamien George <damien.p.george@gmail.com>2019-07-05 17:26:49 +1000
commit6053e450b8e3600b96a3e99174ea3385cec9c2dd (patch)
tree16fcfd444abc25bd32a41e0f9b7911c0edd970e9
parent9c096c190c68e527d617d596037f6f0d497da85a (diff)
stm32/mpconfigport.h: Make "framebuf" module configurable by a board.
-rw-r--r--ports/stm32/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 5095dde52..3e615c343 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -165,7 +165,9 @@
#define MICROPY_HW_SOFTSPI_MAX_BAUDRATE (HAL_RCC_GetSysClockFreq() / 48)
#define MICROPY_PY_UWEBSOCKET (MICROPY_PY_LWIP)
#define MICROPY_PY_WEBREPL (MICROPY_PY_LWIP)
+#ifndef MICROPY_PY_FRAMEBUF
#define MICROPY_PY_FRAMEBUF (1)
+#endif
#ifndef MICROPY_PY_USOCKET
#define MICROPY_PY_USOCKET (1)
#endif