================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述：
该样例演示了FLASH的擦除、写入、读出功能，先擦除flash最后一页，读取数据判断是否擦除成功
，然后写入数据，读取数据判断是否写入成功，串口输出日志，如果有错则快闪LED2，LED1每隔1s
翻转一次。


Function descriptions:
This example demonstrates the erase, write, and read functions of FLASH. First,
erase the last page of the flash and read the data to determine whether the erase 
is successful Then write the data, read the data to determine if the writing is 
successful, output a log through the serial port, and if there is an error, flash 
LED2, LED1 every 1 second Flip once.
================================================================================
测试环境：
测试用板：DPM32M08X_EVB V1.0
MDK版本： 5.38


Test environment:
Test board: DPM32M08X_EVB V1.0
MDK Version: 5.38

================================================================================
使用步骤：
1. 接上P10上的跳线帽，将串口接到USB。
2. 编译下载程序到MCU，并运行。
3. 串口打印日志。
4. 如果出现错误，LED2快闪。
5. 可观察到开发板上的LED1每隔1s翻转一次。

Example execution steps:
1. Connect the jumper cap on P10 and connect the serial port to USB.
2. Compile and download the program to MCU, and run it.
3. Serial port printing logs.
If an error occurs, LED2 flash.
5. It can be observed that LED1 on the development board flips every 1 second.
================================================================================
注意事项：
LED引脚如下：
LED1       -> PC10
LED2       -> PC11

UART引脚如下：
UART_Tx    -> PA9
UART_Rx    -> PA10

Notes:
The LED pins are as follows:
LED1       -> PC10
LED2       -> PC11

The UART pins are as follows:
UART_Tx    -> PA9
UART_Rx    -> PA10
================================================================================