加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

stm32 flash 零星领悟

发布时间:2020-12-15 06:50:52 所属栏目:百科 来源:网络整理
导读:Q1:看上该包含的头文件都有了,就是编译通不过去,提示许多flash错误,如:function "FLASH_Unlock" declared implicitly A1:?注意这个很重要的配置文件 stm32f10x_conf.h,它里面有这个: /************************************* FLASH and Option Bytes

Q1:看上该包含的头文件都有了,就是编译通不过去,提示许多flash错误,如:function "FLASH_Unlock" declared implicitly

A1:?注意这个很重要的配置文件 stm32f10x_conf.h,它里面有这个:

/************************************* FLASH and Option Bytes *****************/
#define _FLASH
/* Uncomment the line below to enable FLASH program/erase/protections functions,
?? otherwise only FLASH configuration (latency,prefetch,half cycle) functions
?? are enabled */
?/*? #define _FLASH_PROG?? */

打开 这个配置就OK了。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读