mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #16453 from IchiroKuroki/arduino_nano_33_iot_sercom_conflict
boards/arduino-nano-33-iot: resolved SPI and I2C configuration conflict
This commit is contained in:
commit
60ac4de5b0
@ -229,13 +229,13 @@ static const i2c_conf_t i2c_config[] = {
|
||||
*/
|
||||
static const spi_conf_t spi_config[] = {
|
||||
{ /* Connected to NINA W102 */
|
||||
.dev = &SERCOM4->SPI,
|
||||
.dev = &SERCOM2->SPI,
|
||||
.miso_pin = GPIO_PIN(PA, 13),
|
||||
.mosi_pin = GPIO_PIN(PA, 12),
|
||||
.clk_pin = GPIO_PIN(PA, 15),
|
||||
.miso_mux = GPIO_MUX_D,
|
||||
.mosi_mux = GPIO_MUX_D,
|
||||
.clk_mux = GPIO_MUX_D,
|
||||
.miso_mux = GPIO_MUX_C,
|
||||
.mosi_mux = GPIO_MUX_C,
|
||||
.clk_mux = GPIO_MUX_C,
|
||||
.miso_pad = SPI_PAD_MISO_1,
|
||||
.mosi_pad = SPI_PAD_MOSI_0_SCK_3,
|
||||
.gclk_src = SAM0_GCLK_MAIN,
|
||||
|
Loading…
Reference in New Issue
Block a user