File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
TEST_APPS/device/nanostack_mac_tester
drivers/tests/TESTS/mbed_drivers Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
44
#endif
45
45
46
46
extern mac_api_s *mac_interface;
47
- UnbufferedSerial pc (USBTX, USBRX );
47
+ UnbufferedSerial pc (CONSOLE_TX, CONSOLE_RX );
48
48
osThreadId_t main_thread;
49
49
static CircularBuffer<uint8_t , RX_BUFFER_SIZE> rx_buffer;
50
50
static uint8_t ns_heap[HEAP_FOR_MAC_TESTER_SIZE];
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ using namespace utest::v1;
49
49
50
50
51
51
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
53
53
);
54
54
55
55
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ using namespace utest::v1;
47
47
48
48
49
49
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
51
51
);
52
52
53
53
static ssize_t unbuffered_serial_read (void *buffer, ssize_t length)
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ Some boards have pins which cannot be tested without causing problems elsewhere.
74
74
MBED_WEAK const PinList *pinmap_restricted_pins ()
75
75
{
76
76
static const PinName pins[] = {
77
- USBTX, USBRX
77
+ CONSOLE_TX, CONSOLE_RX
78
78
};
79
79
static const PinList pin_list = {
80
80
sizeof(pins) / sizeof(pins[0]),
You can’t perform that action at this time.
0 commit comments