Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e90a1a

Browse files
committed
fix(nucleo_G431KB): add missing analog pin
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parente283b8c commit4e90a1a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ const uint32_t analogInputPin[] = {
4949
18,// A4
5050
19,// A5
5151
20,// A6
52-
21// A7
52+
21,// A7
53+
3// A8
5354
};
5455

5556
// ----------------------------------------------------------------------------

‎variants/STM32G4xx/G431K(6-8-B)(T-U)_G441KB(T-U)/variant_NUCLEO_G431KB.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#definePA10 0
2020
#definePA9 1
2121
#definePA12 2
22-
#definePB03
22+
#definePB0PIN_A8
2323
#definePB7 4
2424
#definePA15 5
2525
#definePB6 6
@@ -78,7 +78,7 @@
7878
// This must be a literal
7979
#defineNUM_DIGITAL_PINS 25
8080
// This must be a literal with a value less than or equal to to MAX_ANALOG_INPUTS
81-
#defineNUM_ANALOG_INPUTS8
81+
#defineNUM_ANALOG_INPUTS9
8282

8383
// On-board LED pin number
8484
#ifndefLED_BUILTIN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp