Merge pull request #2249 from dhalbert/micropy_py_sys_platform
Use MICROPY_PY_SYS_PLATFORM in mpconfigport.h only
This commit is contained in:
commit
855de943a7
@ -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)
|
||||
|
@ -27,6 +27,8 @@
|
||||
#ifndef __INCLUDED_MPCONFIGPORT_H
|
||||
#define __INCLUDED_MPCONFIGPORT_H
|
||||
|
||||
#define MICROPY_PY_SYS_PLATFORM "CXD56"
|
||||
|
||||
// 64kiB stack
|
||||
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x10000
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user