小学生
最后登录1970-1-1
在线时间 小时
注册时间2021-1-19
|
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\HUGE\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Template-REG'
assembling startup_stm32f10x_hd.s...
compiling main.c...
main.c(50): warning: #177-D: variable "GPIO_InitStructure" was declared but never referenced
GPIO_InitTypeDef GPIO_InitStructure;
main.c: 1 warning, 0 errors
compiling stm32f10x_gpio.c...
stm32f10x_gpio.c(25): error: #136: struct "<unnamed>" has no field "GPIO_Mode"
currentmode = (((uint32)GPIO_InitStruct->GPIO_Mode) & ((uint32)0x0F));
stm32f10x_gpio.c(29): error: #136: struct "<unnamed>" has no field "GPIO_Mode"
if ((((uint32)GPIO_InitStruct->GPIO_Mode) & ((uint32)0x10)) != 0x00)
stm32f10x_gpio.c(32): error: #136: struct "<unnamed>" has no field "GPIO_Speed"
currentmode |= (uint32)GPIO_InitStruct->GPIO_Speed;
stm32f10x_gpio.c(36): error: #136: struct "<unnamed>" has no field "GPIO_Pin"
if (((uint32)GPIO_InitStruct->GPIO_Pin & ((uint32)0x00FF)) != 0x00)
stm32f10x_gpio.c(48): error: #136: struct "<unnamed>" has no field "GPIO_Pin"
currentpin = (GPIO_InitStruct->GPIO_Pin) & pos;
stm32f10x_gpio.c(63): error: #136: struct "<unnamed>" has no field "GPIO_Mode"
if (GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPD)
stm32f10x_gpio.c(71): error: #136: struct "<unnamed>" has no field "GPIO_Mode"
if (GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
stm32f10x_gpio.c(84): error: #136: struct "<unnamed>" has no field "GPIO_Pin"
if (GPIO_InitStruct->GPIO_Pin > 0x00FF)
stm32f10x_gpio.c(95): error: #136: struct "<unnamed>" has no field "GPIO_Pin"
currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos);
stm32f10x_gpio.c(111): error: #136: struct "<unnamed>" has no field "GPIO_Mode"
if (GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPD)
stm32f10x_gpio.c(117): error: #136: struct "<unnamed>" has no field "GPIO_Mode"
if (GPIO_InitStruct->GPIO_Mode == GPIO_Mode_IPU)
stm32f10x_gpio.c: 0 warnings, 11 errors
".\Objects\Template-REG.axf" - 11 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed: 00:00:02
|
|