Browse Source

esp32/boards/GENERIC_C3: Add generic C3-based board.

Signed-off-by: Damien George <damien@micropython.org>
pull/7438/head
Damien George 3 years ago
parent
commit
c77225ae5b
  1. 10
      ports/esp32/boards/GENERIC_C3/mpconfigboard.cmake
  2. 8
      ports/esp32/boards/GENERIC_C3/mpconfigboard.h

10
ports/esp32/boards/GENERIC_C3/mpconfigboard.cmake

@ -0,0 +1,10 @@
set(IDF_TARGET esp32c3)
set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.ble
)
if(NOT MICROPY_FROZEN_MANIFEST)
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)
endif()

8
ports/esp32/boards/GENERIC_C3/mpconfigboard.h

@ -0,0 +1,8 @@
// This configuration is for a generic ESP32C3 board with 4MiB (or more) of flash.
#define MICROPY_HW_BOARD_NAME "ESP32C3 module"
#define MICROPY_HW_MCU_NAME "ESP32C3"
#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_DAC (0)
#define MICROPY_PY_MACHINE_I2S (0)
Loading…
Cancel
Save