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 62
62
63
63
// SPI definitions
64
64
#ifndef PIN_SPI_SS
65
- #define PIN_SPI_SS PA4
65
+ #define PIN_SPI_SS PA15
66
66
#endif
67
67
#ifndef PIN_SPI_SS1
68
- #define PIN_SPI_SS1 PB2
68
+ #define PIN_SPI_SS1 PNUM_NOT_DEFINED
69
69
#endif
70
70
#ifndef PIN_SPI_SS2
71
71
#define PIN_SPI_SS2 PNUM_NOT_DEFINED
74
74
#define PIN_SPI_SS3 PNUM_NOT_DEFINED
75
75
#endif
76
76
#ifndef PIN_SPI_MOSI
77
- #define PIN_SPI_MOSI PA7
77
+ #define PIN_SPI_MOSI PB5
78
78
#endif
79
- #ifndef PIN_SPI_MISOSPI1_SCK
80
- #define PIN_SPI_MISO PA6
79
+ #ifndef PIN_SPI_MISO
80
+ #define PIN_SPI_MISO PB4
81
81
#endif
82
82
#ifndef PIN_SPI_SCK
83
- #define PIN_SPI_SCK PA5
83
+ #define PIN_SPI_SCK PB3
84
84
#endif
85
85
86
86
// I2C definitions
87
87
#ifndef PIN_WIRE_SDA
88
- #define PIN_WIRE_SDA PA11
88
+ #define PIN_WIRE_SDA PB7
89
89
#endif
90
90
#ifndef PIN_WIRE_SCL
91
- #define PIN_WIRE_SCL PA12
91
+ #define PIN_WIRE_SCL PB8
92
92
#endif
93
93
94
94
// Timer Definitions
Original file line number Diff line number Diff line change 14
14
15
15
#include "variant_WE_OCEANUS1.h"
16
16
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
22
21
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