Browse Source

esp32/boards: Add GENERIC_S2 board definition.

Signed-off-by: Damien George <damien@micropython.org>
pull/6925/head
Damien George 4 years ago
parent
commit
d97b8daf1a
  1. 8
      ports/esp32/boards/GENERIC_S2/mpconfigboard.cmake
  2. 5
      ports/esp32/boards/GENERIC_S2/mpconfigboard.h

8
ports/esp32/boards/GENERIC_S2/mpconfigboard.cmake

@ -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)

5
ports/esp32/boards/GENERIC_S2/mpconfigboard.h

@ -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)
Loading…
Cancel
Save