summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-08 17:58:13 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-08 17:58:55 +0300
commit4352b944d2fe0919b34774bec1a6ea440649a1df (patch)
tree8c721bf0a9354317875296424d949f122a4d4d13
parente09420075017423f17073347eacad45ef4d3b860 (diff)
zephyr: Define MICROPY_PY_SYS_PLATFORM (to "zephyr").
-rw-r--r--zephyr/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/mpconfigport.h b/zephyr/mpconfigport.h
index 98a033be4..2f2526779 100644
--- a/zephyr/mpconfigport.h
+++ b/zephyr/mpconfigport.h
@@ -80,6 +80,8 @@
#define MICROPY_COMP_CONST (0)
#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (0)
+#define MICROPY_PY_SYS_PLATFORM "zephyr"
+
#ifdef CONFIG_BOARD
#define MICROPY_HW_BOARD_NAME "zephyr-" CONFIG_BOARD
#else