# Board-specific overrides for the Seeed XIAO ESP32-C6, layered on top # of sdkconfig.defaults (which targets the 8MB ESP32-C6-DevKitC-1 dev # board) via SDKCONFIG_DEFAULTS -- see build_for_board.sh, which is the # supported way to build with this file. Don't set this via a plain # `idf.py menuconfig` on the default build; that writes straight into # the shared sdkconfig, not this file. CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_xiao.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions_xiao.csv" # Powers the XIAO's RF switch and selects its onboard antenna -- without # this the softAP/STA radio doesn't reliably reach the antenna at all. # See the Kconfig help text (FRAME_XIAO_ANTENNA_INIT) for why. CONFIG_FRAME_XIAO_ANTENNA_INIT=y # EPD wiring: the dev-board defaults (DC=9, RST=10, BUSY=11) aren't # physically exposed on the XIAO -- only GPIO 0,1,2,16,17,18,19,20,21, # 22,23 are broken out, and 18/19/20 are already the panel's SPI pins # (CS/MOSI/CLK) while 0/1/2 are the buttons. Remapped to three of the # remaining free pins; see docs/hardware.md for the full XIAO wiring # table. CONFIG_EPD_PIN_DC=16 CONFIG_EPD_PIN_RST=17 CONFIG_EPD_PIN_BUSY=21