Skip to content

Commit 855de94

Browse files
authored
Merge pull request #2249 from dhalbert/micropy_py_sys_platform
Use MICROPY_PY_SYS_PLATFORM in mpconfigport.h only
2 parents 1103490 + 1d7d904 commit 855de94

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

ports/cxd56/boards/spresense/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
#define MICROPY_HW_BOARD_NAME "SPRESENSE"
2828
#define MICROPY_HW_MCU_NAME "CXD5602"
29-
#define MICROPY_PY_SYS_PLATFORM "SPRESENSE"
3029

3130
#define DEFAULT_I2C_BUS_SCL (&pin_I2C0_BCK)
3231
#define DEFAULT_I2C_BUS_SDA (&pin_I2C0_BDT)

ports/cxd56/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#ifndef __INCLUDED_MPCONFIGPORT_H
2828
#define __INCLUDED_MPCONFIGPORT_H
2929

30+
#define MICROPY_PY_SYS_PLATFORM "CXD56"
31+
3032
// 64kiB stack
3133
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x10000
3234

ports/nrf/boards/itsybitsy_nrf52840_express/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#define MICROPY_HW_BOARD_NAME "Adafruit ItsyBitsy nRF52840 Express"
44
#define MICROPY_HW_MCU_NAME "nRF52840"
5-
#define MICROPY_PY_SYS_PLATFORM "ItsyBitsy52840Express"
65

76
#define FLASH_SIZE (0x100000)
87
#define FLASH_PAGE_SIZE (4096)

0 commit comments

Comments
 (0)