File tree 5 files changed +10
-13
lines changed
5 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const PinName digital_arduino[] = {
45
45
PD10, // D17
46
46
PD12, // D18
47
47
PD14, // D19
48
- // P2 connector Left side
48
+ // P2 connector Left side
49
49
PH0, // D20
50
50
PC14, // D21
51
51
PE6, // D22
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ extern "C" {
23
23
#endif
24
24
25
25
// Pin number
26
- // Match Table 17. NUCLEO-F429ZI pin assignments
27
- // from UM1974 STM32 Nucleo-144 board
28
26
const PinName digital_arduino[] = {
29
27
PA3, // D0
30
28
PA2, // D1
@@ -108,8 +106,8 @@ void serialEvent2() { }
108
106
void serialEventRun (void )
109
107
{
110
108
if (Serial.available ()) serialEvent ();
111
- if (Serial1.available ()) serialEvent ();
112
- if (Serial2.available ()) serialEvent ();
109
+ if (Serial1.available ()) serialEvent1 ();
110
+ if (Serial2.available ()) serialEvent2 ();
113
111
}
114
112
115
113
// ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ extern "C" {
23
23
#endif
24
24
25
25
// Pin number
26
- // Match Table 17. NUCLEO-F429ZI pin assignments
27
- // from UM1974 STM32 Nucleo-144 board
28
26
const PinName digital_arduino[] = {
29
27
PA3, // D0
30
28
PA2, // D1
@@ -108,8 +106,8 @@ void serialEvent2() { }
108
106
void serialEventRun (void )
109
107
{
110
108
if (Serial.available ()) serialEvent ();
111
- if (Serial1.available ()) serialEvent ();
112
- if (Serial2.available ()) serialEvent ();
109
+ if (Serial1.available ()) serialEvent1 ();
110
+ if (Serial2.available ()) serialEvent2 ();
113
111
}
114
112
115
113
// ----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -117,9 +117,9 @@ const PinName digital_arduino[] = {
117
117
/*
118
118
* UART objects
119
119
*/
120
- HardwareSerial Serial (PD9, PD8); // available on PD8/PD9 - Connected to ST-Link
121
- HardwareSerial Serial1 (PG9, PG14); // available on PG14/PG9
122
- HardwareSerial Serial2 (PD6, PD5); // available on PD5/PD6
120
+ HardwareSerial Serial (PD9, PD8); // Connected to ST-Link
121
+ HardwareSerial Serial1 (PG9, PG14);
122
+ HardwareSerial Serial2 (PD6, PD5);
123
123
124
124
void serialEvent () __attribute__((weak));
125
125
void serialEvent () { }
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ const PinName digital_arduino[] = {
54
54
PC15, // D25
55
55
PH0, // D26
56
56
PH1, // D27
57
- PC2, // D28
57
+ PC2, // D28// Match Table 17. NUCLEO-F429ZI pin assignments
58
+ // from UM1974 STM32 Nucleo-144 board
58
59
PC3, // D29
59
60
// CN7 Right Side
60
61
PC11, // D30
You can’t perform that action at this time.
0 commit comments