屏蔽编译错误,屏蔽 TIMx_IRQn_DEF(8, TIM8_UP_TIM13_IRQn); TIMx_IRQn_DEF(12, TIM8_BRK_TIM12_IRQn);
TIMx_IRQn_DEF(13, TIM8_UP_TIM13_IRQn); TIMx_IRQn_DEF(14, TIM8_TRG_COM_TIM14_IRQn);
9.测试使用的是空应用:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
int main(void)
{
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
Delay_Init();
//ADCx_Init(ADC1);
setup();
for(;;)loop();
}
修改为F401RC的改动: