21ic问答首页 - 配置STM32F030R8T6库函数环境错误
配置STM32F030R8T6库函数环境错误
Urim12482022-04-17
本人初次接触STM32,小白一个,求大佬告知原因
```*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
compiling stm32f0xx_misc.c...
Library\stm32f0xx_misc.c(88): error: #136: struct "<unnamed>" has no field "IP"
tmppriority = NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel >> 0x02];
Library\stm32f0xx_misc.c(92): error: #136: struct "<unnamed>" has no field "IP"
NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel >> 0x02] = tmppriority;
Library\stm32f0xx_misc.c: 0 warnings, 2 errors
"Library\stm32f0xx_misc.c" - 2 Error(s), 0 Warning(s).
```
求大佬告知原因
```*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
compiling stm32f0xx_misc.c...
Library\stm32f0xx_misc.c(88): error: #136: struct "<unnamed>" has no field "IP"
tmppriority = NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel >> 0x02];
Library\stm32f0xx_misc.c(92): error: #136: struct "<unnamed>" has no field "IP"
NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel >> 0x02] = tmppriority;
Library\stm32f0xx_misc.c: 0 warnings, 2 errors
"Library\stm32f0xx_misc.c" - 2 Error(s), 0 Warning(s).
```
求大佬告知原因
您需要登录后才可以回复 登录 | 注册