Home > other >  Keil5 compiler error
Keil5 compiler error

Time:09-21

, ladies and gentlemen, I am. H file defines:
 # define BASIC_TIM_IRQ TIM6_IRQn 

In the file. C:
 NVIC_InitStructure. NVIC_IRQChannel=BASIC_TIM_IRQ; 

But after compile error:../User/TimBase \ bsp_Timbase c (10) : error: # 20: identifier "TIM6_IRQn" is undefined
NVIC_InitStructure. NVIC_IRQChannel=ASIC_TIM_IRQ;

Mystery, your bosses, solve!

CodePudding user response:

Stm32f10x. H this header file?

CodePudding user response:

reference 1st floor xuyaqi029 response:
stm32f10x. H this header file?

I add, but there is incorrect.

CodePudding user response:

refer to the second floor small white love learning response:
Quote: refer to 1st floor xuyaqi029 response:
stm32f10x. H this header file?

I add, but there are errors,


It is better for complete engineering, or poor judgment,
  • Related