Skip to content

Commit 31d4cad

Browse files
knielsenfpistm
authored andcommitted
DISCO_L072CZ_LRWAN1: enable more analog pins
Pins A1/A3/A4/A5 are no connect by default, but could be used by closing solder bridges. Signed-off-by: Kristian Nielsen <[email protected]>
1 parent d66dd23 commit 31d4cad

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

variants/DISCO_L072CZ_LRWAN1/variant.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ const PinName digitalPin[] = {
5454
PA_12, //D24
5555
PA_11, //D25
5656
PA_0, //D26/A0
57-
NC, //D27/A1
57+
PA_0, //D27/A1 - alias for A0 - requires closing solder bridge SB7
5858
PA_4, //D28/A2
59-
NC, //D29/A3
60-
NC, //D30/A4
61-
NC, //D31/A5
59+
PA_4, //D29/A3 - alias for A2 - requires closing solder bridge SB8
60+
PB_9, //D30/A4 - requires closing solder bridge SB11
61+
PB_8, //D31/A5 - requires closing solder bridge SB12
6262
PA_5, //D32/A6
6363
};
6464

variants/DISCO_L072CZ_LRWAN1/variant.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ enum {
6464
PA12, //D24
6565
PA11, //D25
6666
PA0, //D26/A0
67-
NC_2, //D27/A1
67+
PA0_2,//D27/A1 - alias for A0 - requires closing solder bridge SB7
6868
PA4, //D28/A2
69-
NC_3, //D29/A3
70-
NC_4, //D30/A4
71-
NC_5, //D31/A5
69+
PA4_2,//D29/A3 - alias for A2 - requires closing solder bridge SB8
70+
PB9_2,//D30/A4 - requires closing solder bridge SB11
71+
PB8_2,//D31/A5 - requires closing solder bridge SB12
7272
PA5, //D32/A6
7373
PEND
7474
};

0 commit comments

Comments
 (0)