File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6565#endif
6666
6767struct spi_struct_t {
68- spi_dev_t * dev ;
68+ volatile spi_dev_t * dev ;
6969#if !CONFIG_DISABLE_HAL_LOCKS
7070 SemaphoreHandle_t lock ;
7171#endif
Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ static const uint8_t RX = 38;
2222static const uint8_t SDA = 7 ;
2323static const uint8_t SCL = 8 ;
2424
25- static const uint8_t SS = 27 ;
26- static const uint8_t MOSI = 46 ;
27- static const uint8_t MISO = 47 ;
28- static const uint8_t SCK = 48 ;
25+ // Use GPIOs 36 or lower on the P4 DevKit to avoid LDO power issues with high numbered GPIOs.
26+ static const uint8_t SS = 26 ;
27+ static const uint8_t MOSI = 32 ;
28+ static const uint8_t MISO = 33 ;
29+ static const uint8_t SCK = 36 ;
2930
3031static const uint8_t A0 = 16 ;
3132static const uint8_t A1 = 17 ;
You can’t perform that action at this time.
0 commit comments