]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Change SPI alias mapping to SPI1
authorMathijsNL <mathijsvandervegt@gmail.com>
Wed, 1 Mar 2023 20:49:34 +0000 (21:49 +0100)
committerMathijsNL <mathijsvandervegt@gmail.com>
Wed, 1 Mar 2023 20:49:34 +0000 (21:49 +0100)
Not sure what this alias mapping should be, but using SPI1 sounds more logical than using SPI2

src/adafruit_blinka/board/radxa/rockpi4cplus.py

index 47fef371d9d5a301d62cd09ab88fbefb715e940b..67635fc1b1521cb8c788f7a1b8cd4dc12837161c 100644 (file)
@@ -46,10 +46,10 @@ SCL7 = D5
 SDA = SDA2
 SCL = SCL2
 
 SDA = SDA2
 SCL = SCL2
 
-SCLK = D7
-MOSI = D29
-MISO = D31
-CS = D33
+SCLK = D19
+MOSI = D21
+MISO = D23
+CS = D24
 SCK = SCLK
 
 UART2_TX = D8
 SCK = SCLK
 
 UART2_TX = D8