patrick
3 years ago
committed by
Damien George
3 changed files with 38 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||
set(IDF_TARGET esp32s2) |
|||
|
|||
set(SDKCONFIG_DEFAULTS |
|||
boards/sdkconfig.base |
|||
boards/sdkconfig.spiram_sx |
|||
boards/sdkconfig.usb |
|||
boards/ESP32_S2_WROVER/sdkconfig.board |
|||
) |
|||
|
|||
if(NOT MICROPY_FROZEN_MANIFEST) |
|||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py) |
|||
endif() |
@ -0,0 +1,15 @@ |
|||
#define MICROPY_HW_BOARD_NAME "ESP32-S2-WROVER" |
|||
#define MICROPY_HW_MCU_NAME "ESP32-S2" |
|||
|
|||
#define MICROPY_PY_BLUETOOTH (0) |
|||
#define MICROPY_HW_ENABLE_SDCARD (0) |
|||
|
|||
#define MICROPY_HW_I2C0_SCL (7) |
|||
#define MICROPY_HW_I2C0_SDA (6) |
|||
|
|||
#define MICROPY_HW_SPI1_MOSI (35) |
|||
#define MICROPY_HW_SPI1_MISO (37) |
|||
#define MICROPY_HW_SPI1_SCK (36) |
|||
#define MICROPY_HW_SPI2_MOSI (11) |
|||
#define MICROPY_HW_SPI2_MISO (13) |
|||
#define MICROPY_HW_SPI2_SCK (12) |
@ -0,0 +1,11 @@ |
|||
CONFIG_FLASHMODE_QIO=y |
|||
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y |
|||
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y |
|||
CONFIG_ESPTOOLPY_AFTER_NORESET=y |
|||
|
|||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y |
|||
CONFIG_USB_AND_UART=y |
|||
|
|||
# LWIP |
|||
CONFIG_LWIP_LOCAL_HOSTNAME="ESP32-S2-WROVER" |
|||
# end of LWIP |
Loading…
Reference in new issue