dragino / TrackerD

For Dragino TrackerD, which support GPS+WiFi+BLE+TEMP+HUM+ motion
22 stars 11 forks source link

Configure SPI early in the boot #7

Closed llange closed 2 years ago

llange commented 2 years ago

When using the standard, unmodified Arduino libraries for ESP32, the SPI library uses a default set of pins for SPI that are not the same that this board uses.

We thus configure SPI as soon as possible - the library will then "remember" these settings later on (especially in LMIC - LoRaWan where it is used)