Skip to content

Commit 2644fba

Browse files
besergefpistm
authored andcommitted
Add pin PD3 to Daisy Seed Variant
This pin is used as a version check for the seed 1.1
1 parent 9afe0bb commit 2644fba

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

variants/STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)/variant_DAISY_SEED.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const PinName digitalPin[] = {
5757
// NC, 3v3D Out
5858
// NC, VIN
5959
// NC, DGND
60-
PC_7 // LED_BUILTIN
60+
PC_7, // LED_BUILTIN
61+
PD_3 // Version 1.1
6162
};
6263

6364
const uint32_t analogInputPin[] = {

variants/STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)/variant_DAISY_SEED.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#define PB14 29
4848
#define PB15 30
4949
#define PC7 31 // LED_BUILTIN
50+
#define PD3 32
5051

5152
// Alternate pins number
5253
#define PA0_ALT1 (PA0 | ALT1)
@@ -92,7 +93,7 @@
9293
#define PC10_ALT1 (PC10 | ALT1)
9394
#define PC11_ALT1 (PC11 | ALT1)
9495

95-
#define NUM_DIGITAL_PINS 32
96+
#define NUM_DIGITAL_PINS 33
9697
#define NUM_ANALOG_INPUTS 12
9798

9899
// On-board LED pin number

0 commit comments

Comments
 (0)