Browse Source

stmhal: Add sys.platform string to PYBv1.0 (it's "pyboard").

pull/796/head
Damien George 10 years ago
parent
commit
0c64c634ca
  1. 1
      stmhal/boards/PYBV10/mpconfigboard.h

1
stmhal/boards/PYBV10/mpconfigboard.h

@ -2,6 +2,7 @@
#define MICROPY_HW_BOARD_NAME "PYBv1.0" #define MICROPY_HW_BOARD_NAME "PYBv1.0"
#define MICROPY_HW_MCU_NAME "STM32F405RG" #define MICROPY_HW_MCU_NAME "STM32F405RG"
#define MICROPY_PY_SYS_PLATFORM "pyboard"
#define MICROPY_HW_HAS_SWITCH (1) #define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_SDCARD (1) #define MICROPY_HW_HAS_SDCARD (1)

Loading…
Cancel
Save