-
这个要结合具体应该,使用环境不一样,差别很大,比如负载和周边模拟数字信号等都有影响
-
开始以为有什么特殊的好办法呢,看来也是这些正规的办法,怎么用都不会出问题,就是慢了点
-
顶起,想尝尝鲜看看
-
学习中,谢谢
-
学习一下,谢谢
-
回复学习,,,,
-
Build target 'MyFirstJob'
compiling stm32f10x_flash.c...
.\library\inc\stm32f10x_gpio.h(64): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
compiling stm32f10x_gpio.c...
.\library\inc\stm32f10x_rcc.h(27): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(28): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(29): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(30): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(31): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(254): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(255): error: #20: identifier "ErrorStatus" is undefined
.\library\inc\stm32f10x_rcc.h(256): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(257): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(258): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(258): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(259): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(260): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(261): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(262): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(263): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(264): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(265): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(265): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(266): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(267): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(268): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(269): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(270): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(271): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(273): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(273): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(274): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(274): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(275): error: #20: identifier "u32" is undefined
compiling stm32f10x_lib.c...
.\library\inc\stm32f10x_gpio.h(64): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
compiling stm32f10x_rcc.c...
.\library\inc\stm32f10x_gpio.h(64): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
compiling main.c...
src\main.c(5): warning: #1-D: last line of file ends without a newline
compiling stm32f10x_it.c...
.\library\inc\stm32f10x_gpio.h(64): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error: #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error: #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error: #20: identifier "u8" is undefined
Target not created
-
Build target 'MyFirstJob'
compiling stm32f10x_flash.c...
library\src\stm32f10x_flash.c(17): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory
compiling stm32f10x_gpio.c...
library\src\stm32f10x_gpio.c(17): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory
compiling stm32f10x_lib.c...
library\src\stm32f10x_lib.c(19): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
compiling stm32f10x_rcc.c...
library\src\stm32f10x_rcc.c(17): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory
compiling main.c...
src\main.c(5): warning: #1-D: last line of file ends without a newline
compiling stm32f10x_it.c...
interrupt\stm32f10x_it.h(21): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
Target not created