mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-07-13 06:32:51 +02:00
Improve SPI robustness (fix incompatibility with ESP32-S2)
This commit is contained in:
@ -32,8 +32,8 @@ const char *devEui = "????????????????";
|
||||
const char *appKey = "????????????????????????????????";
|
||||
|
||||
// Pins and other resources
|
||||
#define TTN_SPI_HOST HSPI_HOST
|
||||
#define TTN_SPI_DMA_CHAN 1
|
||||
#define TTN_SPI_HOST SPI2_HOST
|
||||
#define TTN_SPI_DMA_CHAN SPI_DMA_DISABLED
|
||||
#define TTN_PIN_SPI_SCLK 5
|
||||
#define TTN_PIN_SPI_MOSI 27
|
||||
#define TTN_PIN_SPI_MISO 19
|
||||
|
Reference in New Issue
Block a user