Echo ULP
Overview
This sample application demonstrates how to use poll-based APIs from the Zephyr
UART driver subsystem. It reads characters from the LP UART using
uart_poll_in()
and echoes them back using uart_poll_out()
.
Building and Flashing
Build the sample code as follows:
west build -b esp32c6_devkitc/esp32c6/hpcore --sysbuild samples/boards/espressif/ulp/lp_core/echo_ulp
Flash it to the device with the command:
west build -b esp32c6_devkitc/esp32c6/hpcore --sysbuild samples/boards/espressif/ulp/lp_core/echo_ulp
west flash
Sample Output
UART echo example started. Type something...