MDK5编译报错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MDK5编译报错相关的知识,希望对你有一定的参考价值。
Rebuild target 'Target 1'
compiling main.c...
main.c(92): warning: #223-D: function "timer_init" declared implicitly
timer_init(99,3599);//中断设定计数值,预分频值 20ms
main.c(73): warning: #177-D: variable "fontcnt" was declared but never referenced
u32 fontcnt;
main.c(74): warning: #177-D: variable "i" was declared but never referenced
u8 i,j;
main.c(74): warning: #177-D: variable "j" was declared but never referenced
u8 i,j;
#ifndef __TIMER_H
#define __TIMER_H
#include "stm32f10x.h"
#include "stm32f10x_tim.h"
void timer_init(uint16_t arr,uint16_t psc);//t=£¨£¨arr+1£©*£¨psc+1£©/tclk£© tclk=72mhz
//arr=4999,psc=7200£¬ÖÜÆÚΪ500ms
//void TIM3_IRQHandler(void); //TIM3ÖжÏ
#endif
都已经申明了还是报错 搞了一晚上没有搞明白
以上是关于MDK5编译报错的主要内容,如果未能解决你的问题,请参考以下文章