Keil 错误的总结

 stm32 是怎么与FWLIB联系在一起的?

 

 

1.main中#include "stm32f10x.h"
2.stm32f10x.h中
#ifdef USE_STDPERIPH_DRIVER
  #include "stm32f10x_conf.h"
#endif
3.stm32f10x_conf.h中
#include "stm32f10x_adc.h"
#include "stm32f10x_bkp.h"
#include "stm32f10x_can.h"
#include "stm32f10x_cec.h"
#include "stm32f10x_crc.h"
#include "stm32f10x_dac.h"
#include "stm32f10x_dbgmcu.h"
#include "stm32f10x_dma.h"
#include "stm32f10x_exti.h"
#include "stm32f10x_flash.h"
#include "stm32f10x_fsmc.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_i2c.h"
#include "stm32f10x_iwdg.h"
#include "stm32f10x_pwr.h"
#include "stm32f10x_rcc.h"
#include "stm32f10x_rtc.h"
#include "stm32f10x_sdio.h"
#include "stm32f10x_spi.h"
#include "stm32f10x_tim.h"
#include "stm32f10x_usart.h"
#include "stm32f10x_wwdg.h"




不同芯片有不同头文件 、i/o口配置、寄存器、内存容量 。

这些在新建工程中选择芯片时会自动配置好,根据MDK的扩展可以支持不同公司的芯片

 

 

错误Source Browser: 'xxx' - undefined Definition/Reference


由于keil不同,你的例程在不同版本下会失效,主要是一些配置的失效,你需要根据错误类型来处理问题,一般问题都会和错误描述相同

 

 

这一次是FWlib文件夹的一些库没有被添加,不知是野火官方故意没添加(节约空间?)还是因为库的更替而失效的\

 

 

 

 

错误时FWlib文件夹是空的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值