Symbols
loading...
Files
loading...

uart_repl sample sample

uart_repl sample is a sample project defining the following symbols:

Most used functions

Name
Location
Summary
Configure and install the default UART, then, connect it to the console UART.
Function called when command `consoletest` will be invoked. It will simply print `test_message` defined above.
Function executed in another task then main one (as the one main executes REPL console). It will send "consoletest" command to the console UART and then read back the response on RX. The response shall contain the test_message string.
This function connects default UART TX to console UART RX and default UART RX to console UART TX. The purpose is to send commands to the console and get the reply directly by reading RX FIFO.
Disconnect default UART from the console UART, this is used once testing is finished, it will let us print messages on the UART without sending them back to the console UART. Else, we would get an infinite loop.

Other commonly used symbols

Name
Location
Summary

Dependencies

uart_repl sample depends on the following libraries: