Use MICROPY_PY_SYS_PLATFORM in mpconfigport.h only

This commit is contained in:
Dan Halbert 2019-10-28 10:40:10 -04:00
parent 1103490223
commit 358920db0e
3 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,6 @@
#define MICROPY_HW_BOARD_NAME "SPRESENSE"
#define MICROPY_HW_MCU_NAME "CXD5602"
#define MICROPY_PY_SYS_PLATFORM "SPRESENSE"
#define DEFAULT_I2C_BUS_SCL (&pin_I2C0_BCK)
#define DEFAULT_I2C_BUS_SDA (&pin_I2C0_BDT)

View File

@ -27,6 +27,8 @@
#ifndef __INCLUDED_MPCONFIGPORT_H
#define __INCLUDED_MPCONFIGPORT_H
#define MICROPY_PY_SYS_PLATFORM "SPRESENSE"
// 64kiB stack
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x10000

View File

@ -2,7 +2,6 @@
#define MICROPY_HW_BOARD_NAME "Adafruit ItsyBitsy nRF52840 Express"
#define MICROPY_HW_MCU_NAME "nRF52840"
#define MICROPY_PY_SYS_PLATFORM "ItsyBitsy52840Express"
#define FLASH_SIZE (0x100000)
#define FLASH_PAGE_SIZE (4096)