Skip to content

Commit 4352b94

Browse files
committed
zephyr: Define MICROPY_PY_SYS_PLATFORM (to "zephyr").
1 parent e094200 commit 4352b94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

zephyr/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
#define MICROPY_COMP_CONST (0)
8181
#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (0)
8282

83+
#define MICROPY_PY_SYS_PLATFORM "zephyr"
84+
8385
#ifdef CONFIG_BOARD
8486
#define MICROPY_HW_BOARD_NAME "zephyr-" CONFIG_BOARD
8587
#else

0 commit comments

Comments
 (0)