esp32/boards: Add GENERIC_S2 board definition.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-04-13 11:13:08 +10:00
parent c81d048bb3
commit d97b8daf1a
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,8 @@
set(IDF_TARGET esp32s2)
set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.usb
)
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)

View File

@ -0,0 +1,5 @@
#define MICROPY_HW_BOARD_NAME "ESP32S2 module"
#define MICROPY_HW_MCU_NAME "ESP32S2"
#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_HW_ENABLE_SDCARD (0)