@@ -74,57 +74,54 @@ extern "C" {
74
74
/* HTS221 (HUM + TEMP) */
75
75
#define PD13 28 // INT_HTS
76
76
77
- /* NU (TEMPERATURE) */
78
- #define PE0 29 // EVENT_STTS
79
-
80
77
/* I2C3: STTS751-0DP3F */
81
- #define PG7 30 // I2C3_SCL
82
- #define PG8 31 // I2C3_SDA
78
+ #define PG7 29 // I2C3_SCL
79
+ #define PG8 30 // I2C3_SDA
83
80
84
81
/* STTS751-0DP3F (TEMPERATURE) */
85
- #define PG5 32 // INT_STT
86
- #define PG6 33 // EVENT_STT
87
- #define PE1 34 // INT_STT
82
+ #define PG5 31 // INT_STT
83
+ #define PG6 32 // EVENT_STT
84
+ #define PE1 33 // INT_STT
88
85
89
86
/* STBB3JR (BUCK-BOOST) */
90
- #define PE4 35 // SD_EN
91
- #define PF0 36 // BB_MODE
87
+ #define PE4 34 // SD_EN
88
+ #define PF0 35 // BB_MODE
92
89
93
90
/* STBC02AJR (CHG+PP+LDO) */
94
- #define PG4 37 // SW_SEL
95
- #define PG2 38 // BTN_PWR
96
- #define PG3 39 // CHG_LED
97
- #define PG10 40 // CHG_LED2
98
- #define PC4 41 // AN_VBAT (A0)
91
+ #define PG4 36 // SW_SEL
92
+ #define PG2 37 // BTN_PWR
93
+ #define PG3 38 // CHG_LED
94
+ #define PG10 39 // CHG_LED2
95
+ #define PC4 40 // AN_VBAT (A0)
99
96
100
97
/* MP23ABS1TR (MIC) */
101
98
/* TS922EIJT (OPAMP) */
102
- #define PA3 42 // M1P (A1)
103
- #define PB0 43 // MREF (A2)
104
- #define PA4 44 // DAC_OUT1
99
+ #define PA3 41 // M1P (A1)
100
+ #define PB0 42 // MREF (A2)
101
+ #define PA4 43 // DAC_OUT1
105
102
106
103
/* LDK130PU-R */
107
- #define PF7 45 // 2V7_EN
104
+ #define PF7 44 // 2V7_EN
108
105
109
106
/* ST6G3244MEBJR (SD) */
110
- #define PB12 46 // SD_DETECT
111
- #define PE5 47 // SD_SEL
112
- #define PB8 48 // SDMMC1_CLK_F
113
- #define PB9 49 // SDMMC1_CMDDIR
114
- #define PC6 50 // SDMMC1_DAT0DIR
115
- #define PC7 51 // SDMMC1_DAT123DIR
116
- #define PC8 52 // SDMMC1_D0
117
- #define PC9 53 // SDMMC1_D1
118
- #define PC10 54 // SDMMC1_D2
119
- #define PC11 55 // SDMMC1_D3
120
- #define PC12 56 // SDMMC1_CK
121
- #define PD2 57 // SDMMC1_CMD
107
+ #define PB12 45 // SD_DETECT
108
+ #define PE5 46 // SD_SEL
109
+ #define PB8 47 // SDMMC1_CLK_F
110
+ #define PB9 48 // SDMMC1_CMDDIR
111
+ #define PC6 49 // SDMMC1_DAT0DIR
112
+ #define PC7 50 // SDMMC1_DAT123DIR
113
+ #define PC8 51 // SDMMC1_D0
114
+ #define PC9 52 // SDMMC1_D1
115
+ #define PC10 53 // SDMMC1_D2
116
+ #define PC11 54 // SDMMC1_D3
117
+ #define PC12 55 // SDMMC1_CK
118
+ #define PD2 56 // SDMMC1_CMD
122
119
123
120
/* Other*/
124
- #define PG1 58 // USER_PB1
125
- #define PH3 59 // BOOT0
126
- #define PB15 60 // CPU_LED
127
- #define PF2 61 // CPU_LED2
121
+ #define PG1 57 // USER_PB1
122
+ #define PH3 58 // BOOT0
123
+ #define PB15 59 // CPU_LED
124
+ #define PF2 60 // CPU_LED2
128
125
129
126
/* USB */
130
127
/*#define PA11 62 // USB_DM*/
@@ -135,10 +132,10 @@ extern "C" {
135
132
/*#define PA14 65 // SWCLK*/
136
133
137
134
// This must be a literal
138
- #define NUM_DIGITAL_PINS 62
135
+ #define NUM_DIGITAL_PINS 61
139
136
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
140
137
#define NUM_ANALOG_INPUTS 3
141
- #define NUM_ANALOG_FIRST 41
138
+ #define NUM_ANALOG_FIRST 40
142
139
143
140
/* On-board LED pin number */
144
141
#define LED_BUILTIN PF2 // CPU_LED2
0 commit comments