⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 time.plg

📁 STM32定时器程序
💻 PLG
📖 第 1 页 / 共 2 页
字号:
..\Libraries\src\stm32f10x_rcc.c(233): error:  #65: expected a ";"
..\Libraries\src\stm32f10x_rcc.c(236): error:  #65: expected a ";"
..\Libraries\src\stm32f10x_rcc.c(270): error:  #20: identifier "uint32_t" is undefined
..\Libraries\src\stm32f10x_rcc.c(276): error:  #20: identifier "uint32_t" is undefined
..\Libraries\src\stm32f10x_rcc.c(276): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(278): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(284): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(289): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(289): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(306): error:  #20: identifier "__IO" is undefined
..\Libraries\src\stm32f10x_rcc.c(306): error:  #65: expected a ";"
..\Libraries\src\stm32f10x_rcc.c(314): error:  #20: identifier "StartUpCounter" is undefined
..\Libraries\src\stm32f10x_rcc.c(315): error:  #20: identifier "StartUpCounter" is undefined
..\Libraries\src\stm32f10x_rcc.c(315): error:  #20: identifier "HSE_STARTUP_TIMEOUT" is undefined
..\Libraries\src\stm32f10x_rcc.c(334): error:  #757: variable "uint8_t" is not a type name
..\Libraries\src\stm32f10x_rcc.c(336): error:  #20: identifier "uint32_t" is undefined
..\Libraries\src\stm32f10x_rcc.c(341): error:  #20: identifier "uint32_t" is undefined
..\Libraries\src\stm32f10x_rcc.c(341): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(343): error:  #65: expected a ";"
..\Libraries\src\stm32f10x_rcc.c(358): error:  #20: identifier "__IO" is undefined
..\Libraries\src\stm32f10x_rcc.c(358): error:  #18: expected a ")"
..\Libraries\src\stm32f10x_rcc.c(358): error:  #20: identifier "uint32_t" is undefined
compiling stm32f10x_it.c...
..\User\src\stm32f10x_it.c(135): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(36): error:  #1268-D: declaration aliased to undefined entity "SysTickHandler"
..\User\src\stm32f10x_it.c(126): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(35): error:  #1268-D: declaration aliased to undefined entity "PendSVC"
..\User\src\stm32f10x_it.c(108): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(34): error:  #1268-D: declaration aliased to undefined entity "SVCHandler"
..\User\src\stm32f10x_it.c(117): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(33): error:  #1268-D: declaration aliased to undefined entity "DebugMonitor"
..\User\src\stm32f10x_it.c(95): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(32): error:  #1268-D: declaration aliased to undefined entity "UsageFaultException"
..\User\src\stm32f10x_it.c(82): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(31): error:  #1268-D: declaration aliased to undefined entity "BusFaultException"
..\User\src\stm32f10x_it.c(69): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(30): error:  #1268-D: declaration aliased to undefined entity "MemManageException"
..\User\src\stm32f10x_it.c(56): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(29): error:  #1268-D: declaration aliased to undefined entity "HardFaultException"
..\User\src\stm32f10x_it.c(47): error:  #1270: entity declared as alias cannot have definition
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_it.h(28): error:  #1268-D: declaration aliased to undefined entity "NMIException"
compiling common.c...
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(23): error:  #256: invalid redeclaration of type name "s32" (declared at line 470 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(27): error:  #256: invalid redeclaration of type name "sc32" (declared at line 474 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(31): error:  #256: invalid redeclaration of type name "vs32" (declared at line 478 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(35): error:  #256: invalid redeclaration of type name "vsc32" (declared at line 482 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(39): error:  #256: invalid redeclaration of type name "u32" (declared at line 486 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(43): error:  #256: invalid redeclaration of type name "uc32" (declared at line 490 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(47): error:  #256: invalid redeclaration of type name "vu32" (declared at line 494 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(51): error:  #256: invalid redeclaration of type name "vuc32" (declared at line 498 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #101: "RESET" has already been declared in the current scope
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #101: "SET" has already been declared in the current scope
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #256: invalid redeclaration of type name "FlagStatus" (declared at line 502 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(57): error:  #256: invalid redeclaration of type name "ITStatus" (declared at line 502 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #101: "DISABLE" has already been declared in the current scope
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #101: "ENABLE" has already been declared in the current scope
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(59): error:  #256: invalid redeclaration of type name "FunctionalState" (declared at line 504 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #101: "ERROR" has already been declared in the current scope
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #101: "SUCCESS" has already been declared in the current scope
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_type.h(62): error:  #256: invalid redeclaration of type name "ErrorStatus" (declared at line 507 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x_conf.h(147): warning:  #47-D: incompatible redefinition of macro "HSE_Value" (declared at line 511 of "D:\Program Files\Keil\ARM\INC\ST\STM32F10x\stm32f10x.h")
..\User\src\common.c(37): warning:  #223-D: function "RCC_DeInit" declared implicitly
..\User\src\common.c(39): warning:  #223-D: function "RCC_HSEConfig" declared implicitly
..\User\src\common.c(39): error:  #20: identifier "RCC_HSE_ON" is undefined
..\User\src\common.c(43): warning:  #223-D: function "RCC_WaitForHSEStartUp" declared implicitly
..\User\src\common.c(43): warning:  #188-D: enumerated type mixed with another type
..\User\src\common.c(49): warning:  #223-D: function "RCC_HCLKConfig" declared implicitly
..\User\src\common.c(49): error:  #20: identifier "RCC_SYSCLK_Div1" is undefined
..\User\src\common.c(61): warning:  #223-D: function "RCC_PCLK1Config" declared implicitly
..\User\src\common.c(61): error:  #20: identifier "RCC_HCLK_Div2" is undefined
..\User\src\common.c(69): warning:  #223-D: function "RCC_PCLK2Config" declared implicitly
..\User\src\common.c(69): error:  #20: identifier "RCC_HCLK_Div1" is undefined
..\User\src\common.c(77): warning:  #223-D: function "FLASH_SetLatency" declared implicitly
..\User\src\common.c(77): error:  #20: identifier "FLASH_Latency_2" is undefined
..\User\src\common.c(83): warning:  #223-D: function "FLASH_PrefetchBufferCmd" declared implicitly
..\User\src\common.c(83): error:  #20: identifier "FLASH_PrefetchBuffer_Enable" is undefined
..\User\src\common.c(88): warning:  #223-D: function "RCC_PLLConfig" declared implicitly
..\User\src\common.c(88): error:  #20: identifier "RCC_PLLSource_HSE_Div1" is undefined
..\User\src\common.c(88): error:  #20: identifier "RCC_PLLMul_9" is undefined
..\User\src\common.c(111): warning:  #223-D: function "RCC_PLLCmd" declared implicitly
..\User\src\common.c(116): warning:  #223-D: function "RCC_GetFlagStatus" declared implicitly
..\User\src\common.c(116): error:  #20: identifier "RCC_FLAG_PLLRDY" is undefined
..\User\src\common.c(130): warning:  #223-D: function "RCC_SYSCLKConfig" declared implicitly
..\User\src\common.c(130): error:  #20: identifier "RCC_SYSCLKSource_PLLCLK" is undefined
..\User\src\common.c(136): warning:  #223-D: function "RCC_GetSYSCLKSource" declared implicitly
..\User\src\common.c(154): warning:  #223-D: function "SysTick_CLKSourceConfig" declared implicitly
..\User\src\common.c(154): error:  #20: identifier "SysTick_CLKSource_HCLK_Div8" is undefined
Target not created
Build target 'Timer'
assembling startup_stm32f10x_hd.s...
compiling core_cm3.c...
compiling system_stm32f10x.c...
compiling stm32f10x_tim.c...
compiling misc.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_it.c...
compiling common.c...
linking...
.\Obj\Time.axf: Error: L6218E: Undefined symbol main (referred from rtentry2.o).
Target not created
Build target 'Timer'
assembling startup_stm32f10x_hd.s...
compiling core_cm3.c...
compiling system_stm32f10x.c...
compiling stm32f10x_tim.c...
compiling misc.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_it.c...
compiling common.c...
compiling main.c...
..\User\src\main.c(7): warning:  #1-D: last line of file ends without a newline
linking...
Program Size: Code=872 RO-data=336 RW-data=20 ZI-data=1636  
FromELF: creating hex file...
".\Obj\Time.axf" - 0 Error(s), 1 Warning(s).
Build target 'Timer'
assembling startup_stm32f10x_hd.s...
compiling core_cm3.c...
compiling system_stm32f10x.c...
compiling stm32f10x_tim.c...
compiling misc.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_it.c...
compiling common.c...
compiling main.c...
linking...
Program Size: Code=872 RO-data=336 RW-data=20 ZI-data=1636  
FromELF: creating hex file...
".\Obj\Time.axf" - 0 Error(s), 0 Warning(s).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -