Skip to content

Commit 86bb84d

Browse files
committed
Change USBTX/RX to CONSOLE_TX/RX
1 parent 9fccaa8 commit 86bb84d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/porting/standard_pin_names/pin_names_dev_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ However, these names do not apply to all boards and hence should not be used in
6161

6262
Every Mbed board includes a serial interface to the host PC, which allows the console to print useful information about the application.
6363

64-
The pins for the main serial interface are defined as `USBTX` and `USBRX`.
64+
The pins for the main serial interface are defined as `CONSOLE_TX` and `CONSOLE_RX`.

docs/porting/standard_pin_names/pin_names_porting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ There is a set of generic guidelines that apply to all boards, and further sets
99
The generic guidelines currently define rules for the naming of LED pins, button pins and UART pins. In summary, the rules are:
1010
* LED pins are defined as `LEDx` (e.g. `LED0`, `LED1`)
1111
* Button pins are defined as `BUTTONx` (e.g. `BUTTON0`, `BUTTON1`)
12-
* UART pins for console communication with host are defined as `USBTX` and `USBRX`
12+
* UART pins for console communication with host are defined as `CONSOLE_TX` and `CONSOLE_RX`
1313
* Pin aliases are allowed (e.g. `#define RED_LED LED1`)
1414
* Pin definitions must be a `#define`, not an `enum`
1515
* A physical MCU pin can be assigned to no more than one LED, button or UART pin definition

0 commit comments

Comments
 (0)