The latest development version of this page may be more current than this released 4.2.0 version.

Echo ULP

Browse source code on GitHub

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...