Skip to content

Commit cd5330e

Browse files
committed
Replace USBTX/RX everywhere else
1 parent 8a4b88c commit cd5330e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

TEST_APPS/device/nanostack_mac_tester/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#endif
4545

4646
extern mac_api_s *mac_interface;
47-
UnbufferedSerial pc(USBTX, USBRX);
47+
UnbufferedSerial pc(CONSOLE_TX, CONSOLE_RX);
4848
osThreadId_t main_thread;
4949
static CircularBuffer<uint8_t, RX_BUFFER_SIZE> rx_buffer;
5050
static uint8_t ns_heap[HEAP_FOR_MAC_TESTER_SIZE];

drivers/tests/TESTS/mbed_drivers/buffered_serial/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ using namespace utest::v1;
4949

5050

5151
static BufferedSerial buffered_serial_obj(
52-
USBTX, USBRX, MBED_CONF_PLATFORM_STDIO_BAUD_RATE
52+
CONSOLE_TX, CONSOLE_RX, MBED_CONF_PLATFORM_STDIO_BAUD_RATE
5353
);
5454

5555

drivers/tests/TESTS/mbed_drivers/unbuffered_serial/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ using namespace utest::v1;
4747

4848

4949
static UnbufferedSerial unbuffered_serial_obj(
50-
USBTX, USBRX, MBED_CONF_PLATFORM_STDIO_BAUD_RATE
50+
CONSOLE_TX, CONSOLE_RX, MBED_CONF_PLATFORM_STDIO_BAUD_RATE
5151
);
5252

5353
static ssize_t unbuffered_serial_read(void *buffer, ssize_t length)

hal/docs/0002-pinmap-extension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Some boards have pins which cannot be tested without causing problems elsewhere.
7474
MBED_WEAK const PinList *pinmap_restricted_pins()
7575
{
7676
static const PinName pins[] = {
77-
USBTX, USBRX
77+
CONSOLE_TX, CONSOLE_RX
7878
};
7979
static const PinList pin_list = {
8080
sizeof(pins) / sizeof(pins[0]),

0 commit comments

Comments
 (0)