Skip to content

Commit c33dbfd

Browse files
committed
Enable STDIO messages used by the test firmwares
1 parent c47bc17 commit c33dbfd

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/PinNames.h

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,10 @@ typedef enum {
122122
PE_14 = 0x4E,
123123
PE_15 = 0x4F,
124124

125-
// mbed namings
126-
LED1 = PA_5,
127-
LED4 = PA_5,
128-
LED_RED = PA_5,
129-
130-
// STM32NUCLEO/64 (MB1136) board
125+
//--------------------
126+
// NUCLEO_F103RB board
127+
//--------------------
128+
131129
// Arduino connectors
132130
A0 = PA_0,
133131
A1 = PA_1,
@@ -151,11 +149,16 @@ typedef enum {
151149
D13 = PA_5,
152150
D14 = PB_9,
153151
D15 = PB_8,
154-
// Button
152+
155153
USER_BUTTON = PC_13,
156-
// UART
157154
UART_TX = PA_2,
158155
UART_RX = PA_3,
156+
157+
// mbed mandatory namings
158+
LED1 = PA_5,
159+
LED2 = PA_5,
160+
LED3 = PA_5,
161+
LED4 = PA_5,
159162

160163
// Not connected
161164
NC = (int)0xFFFFFFFF

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747

4848
#define DEVICE_DEBUG_AWARENESS 0
4949

50-
#define DEVICE_STDIO_MESSAGES 0
50+
#define DEVICE_STDIO_MESSAGES 1
5151

52-
#define DEVICE_ERROR_RED 0
52+
//#define DEVICE_ERROR_RED 0
5353

5454
#include "objects.h"
5555

0 commit comments

Comments
 (0)