File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 65
65
#endif
66
66
67
67
struct spi_struct_t {
68
- spi_dev_t * dev ;
68
+ volatile spi_dev_t * dev ;
69
69
#if !CONFIG_DISABLE_HAL_LOCKS
70
70
SemaphoreHandle_t lock ;
71
71
#endif
Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ static const uint8_t RX = 38;
22
22
static const uint8_t SDA = 7 ;
23
23
static const uint8_t SCL = 8 ;
24
24
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 ;
29
30
30
31
static const uint8_t A0 = 16 ;
31
32
static const uint8_t A1 = 17 ;
You can’t perform that action at this time.
0 commit comments