3、stm32F103 Keil配置

配置魔术棒选项卡

很多人串口用不了 printf 函数,编译有问题,下载有问题,都是这个步骤的配置出了错。
3、stm32F103 Keil配置

Create HEX File

Output 选项卡中把输出文件夹定位到我们工程目录下的 output 文件夹(可选),如果想在编译的过程中生成 hex 文件,那么那 Create HEX File 选项勾上。
3、stm32F103 Keil配置

Configuration

在工具栏选择“Edit”->“Configuration”。
3、stm32F103 Keil配置
3、stm32F103 Keil配置
3、stm32F103 Keil配置