Flash Demo
Overview
Initialize flash
Get user region from partition table
Read and Write flash data by call driver API
Environmental Requirement
None
Building and Flashing
Code path:wm_iot_sdk/examples/peripheral/flash/internal_flash
For operations such as compiling and burning, please refer to: Quick Start Guide
Running Result
start example write and read internal flash
********start write without erase example*********
write data is: abcdefghijklmnopqrst
read data is: abcdefghijklmnopqrst
write without erase example pass
*************start write with erase example*************
write data is: zyxwvutsrqponmlkjihg
read data is: zyxwvutsrqponmlkjihg
write with erase example pass