From 0c64c634ca15627b93c0f029835c9725d617fd77 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 10 Aug 2014 17:49:52 +0100 Subject: [PATCH] stmhal: Add sys.platform string to PYBv1.0 (it's "pyboard"). --- stmhal/boards/PYBV10/mpconfigboard.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stmhal/boards/PYBV10/mpconfigboard.h b/stmhal/boards/PYBV10/mpconfigboard.h index 4ae6954a7d..c52d61b667 100644 --- a/stmhal/boards/PYBV10/mpconfigboard.h +++ b/stmhal/boards/PYBV10/mpconfigboard.h @@ -2,6 +2,7 @@ #define MICROPY_HW_BOARD_NAME "PYBv1.0" #define MICROPY_HW_MCU_NAME "STM32F405RG" +#define MICROPY_PY_SYS_PLATFORM "pyboard" #define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SDCARD (1)