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

Uart block_read_write

Overview

After the application starts, perform the following 2 operations:

  1. Initialize serial port 1

  2. Cyclically read data from serial port 1 blocking mode and write back to serial port 1

Requirements

  1. Note that the configuration of serial port 1 in the device table matches the board

Building and flashing

Sample location: examples/peripheral/uart/block_read_write For operations such as compiling and burning, please refer to: [Quick Start] (../../../../../get_started/index. html # build function)