circuitpython/ports/esp32/boards/ESP32_GENERIC_C2/mpconfigboard.h
Angus Gratton d4399b3230 esp32: Fix first line ESP32-C2 serial output after reset or deepsleep.
ESP32-C2 ROM prints at 74880bps (same as ESP8266), so need a newline
before first MicroPython output to avoid it being appended on end of
a line of noise.

This work was funded through GitHub Sponsors.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2025-07-30 10:51:29 +10:00

10 lines
403 B
C

// This configuration is for a generic ESP32C2 board with 4MiB (or more) of flash.
#define MICROPY_HW_BOARD_NAME "ESP32C2 module"
#define MICROPY_HW_MCU_NAME "ESP32C2"
#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_I2S (0)
#define MICROPY_BOARD_STARTUP GENERIC_C2_board_startup
void GENERIC_C2_board_startup(void);