diff --git a/ports/esp32/boards/GENERIC_C3/mpconfigboard.cmake b/ports/esp32/boards/GENERIC_C3/mpconfigboard.cmake new file mode 100644 index 0000000000..4f31884231 --- /dev/null +++ b/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() diff --git a/ports/esp32/boards/GENERIC_C3/mpconfigboard.h b/ports/esp32/boards/GENERIC_C3/mpconfigboard.h new file mode 100644 index 0000000000..d403e70e46 --- /dev/null +++ b/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)