Move the SPI interrupt alloc to the second core

We're a bit close to the line on core0 allocs, so this helps balance things out a bit.
custom
jacqueline 10 months ago
parent 11bddb1b1d
commit b63e897268
  1. 2
      src/drivers/spi.cpp

@ -41,7 +41,7 @@ esp_err_t init_spi(void) {
// manages its own use of DMA-capable memory.
.max_transfer_sz = 4096,
.flags = SPICOMMON_BUSFLAG_MASTER | SPICOMMON_BUSFLAG_IOMUX_PINS,
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_0,
.isr_cpu_id = ESP_INTR_CPU_AFFINITY_1,
.intr_flags = ESP_INTR_FLAG_LOWMED | ESP_INTR_FLAG_IRAM,
};

Loading…
Cancel
Save