Skip to content

boards/seeedstudio-xiao-esp32c3: fix pin conflict #21462

@dpproto

Description

@dpproto

Description

The board button is connected to the pin that serves as the MISO line when the SPI module is beeing used. When SPI is enabled, a pin conflict prevents the board to boot.

Steps to reproduce the issue

  1. Enable the SPI module in the makefile or through some driver module that depends on SPI
  2. Compile: CFLAGS=-DDEBUG_ASSERT_VERBOSE USEMODULE+=stdio_usb_serial_jtag make clean all
  3. Flash: CFLAGS=-DDEBUG_ASSERT_VERBOSE USEMODULE+=stdio_usb_serial_jtag make flash
  4. Reset the board: make reset and check the messages on the serial console.

Expected results

There should be no conflicts between SPI and BUTTON0.

Actual results

When SPI is selected, the board can't boot.

Versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions