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>
10 lines
403 B
C
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);
|