File tree Expand file tree Collapse file tree 2 files changed +16
-13
lines changed
variants/STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U Expand file tree Collapse file tree 2 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 6262
6363// SPI definitions
6464#ifndef PIN_SPI_SS
65- #define PIN_SPI_SS PA4
65+ #define PIN_SPI_SS PA15
6666#endif
6767#ifndef PIN_SPI_SS1
68- #define PIN_SPI_SS1 PB2
68+ #define PIN_SPI_SS1 PNUM_NOT_DEFINED
6969#endif
7070#ifndef PIN_SPI_SS2
7171 #define PIN_SPI_SS2 PNUM_NOT_DEFINED
7474 #define PIN_SPI_SS3 PNUM_NOT_DEFINED
7575#endif
7676#ifndef PIN_SPI_MOSI
77- #define PIN_SPI_MOSI PA7
77+ #define PIN_SPI_MOSI PB5
7878#endif
79- #ifndef PIN_SPI_MISOSPI1_SCK
80- #define PIN_SPI_MISO PA6
79+ #ifndef PIN_SPI_MISO
80+ #define PIN_SPI_MISO PB4
8181#endif
8282#ifndef PIN_SPI_SCK
83- #define PIN_SPI_SCK PA5
83+ #define PIN_SPI_SCK PB3
8484#endif
8585
8686// I2C definitions
8787#ifndef PIN_WIRE_SDA
88- #define PIN_WIRE_SDA PA11
88+ #define PIN_WIRE_SDA PB7
8989#endif
9090#ifndef PIN_WIRE_SCL
91- #define PIN_WIRE_SCL PA12
91+ #define PIN_WIRE_SCL PB8
9292#endif
9393
9494// Timer Definitions
Original file line number Diff line number Diff line change 1414
1515#include "variant_WE_OCEANUS1.h"
1616
17- // On-board LED pin number
18- #define LED_BUILTIN PA7
19-
20- // On-board user button
21- #define USER_BTN PA0
17+ #ifndef LED_BUILTIN
18+ // On-board LED pin number
19+ #define LED_BUILTIN PA7
20+ #endif
2221
22+ #ifndef USER_BTN
23+ // On-board user button
24+ #define USER_BTN PA0
25+ #endif
You can’t perform that action at this time.
0 commit comments