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 4444#endif
4545
4646extern mac_api_s *mac_interface;
47- UnbufferedSerial pc (USBTX, USBRX );
47+ UnbufferedSerial pc (CONSOLE_TX, CONSOLE_RX );
4848osThreadId_t main_thread;
4949static CircularBuffer<uint8_t , RX_BUFFER_SIZE> rx_buffer;
5050static 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;
4949
5050
5151static 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
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ using namespace utest::v1;
4747
4848
4949static 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
5353static 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.
7474MBED_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]),
You can’t perform that action at this time.
0 commit comments