summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-22 00:57:55 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-22 00:57:55 +0300
commit40214b9e26408ceb0e4eb92a57f59302b38fa6f9 (patch)
tree3dcfa24a178a68bc8a7af96421bacb76ebf2bc4e /esp8266
parent918851e8365d0dac79eb2fa370c22f12379ff458 (diff)
downloadmicropython-40214b9e26408ceb0e4eb92a57f59302b38fa6f9.tar.gz
micropython-40214b9e26408ceb0e4eb92a57f59302b38fa6f9.zip
esp8266: Enable MICROPY_PY_STR_BYTES_CMP_WARN.
Diffstat (limited to 'esp8266')
-rw-r--r--esp8266/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/esp8266/mpconfigport.h b/esp8266/mpconfigport.h
index 90dbc00098..dd7092fe54 100644
--- a/esp8266/mpconfigport.h
+++ b/esp8266/mpconfigport.h
@@ -72,6 +72,8 @@
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_NORMAL)
+#define MICROPY_WARNINGS (1)
+#define MICROPY_PY_STR_BYTES_CMP_WARN (1)
#define MICROPY_STREAMS_NON_BLOCK (1)
#define MICROPY_MODULE_FROZEN_STR (1)
#define MICROPY_MODULE_FROZEN_MPY (1)