zephyr: Define MICROPY_PY_SYS_PLATFORM (to "zephyr").

This commit is contained in:
Paul Sokolovsky 2017-06-08 17:58:13 +03:00
parent e094200750
commit 4352b944d2

View File

@ -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