新聞中心

        EEPW首頁 > 嵌入式系統 > 設計應用 > 基于正點原子建立STM32F10x庫函數版本的工程自己例程

        基于正點原子建立STM32F10x庫函數版本的工程自己例程

        作者: 時間:2016-11-28 來源:網絡 收藏

        7、build建立目標代碼

        本文引用地址:http://www.104case.com/article/201611/322877.htmbuild過程中錯誤修改:

        問題及修改:

        1)..SYSTEMdelaydelay.c(27): error:#20: identifier "SysTick_CLKSource_HCLK_Div8" is undefined

        解決方法:在delay.c中添加“#include"misc.h"”

        2)..SYSTEMsyssys.c(18): error:#20: identifier "NVIC_PriorityGroup_2" is undefined

        解決方法:在sys.c中添加“#include"misc.h"”

        3). ..SYSTEMusartusart.c(75): error:#20: identifier "GPIO_InitTypeDef" is undefined

        解決方法:在usart.c中添加“#include”stm32f10x_gpio.h””

        4)..SYSTEMusartusart.c(77): error:#20: identifier "USART_InitTypeDef" is undefined

        解決方法:在usart.c中添加“#include"stm32f10x_usart.h"”

        5)..SYSTEMusartusart.c(80): error:#20: identifier "NVIC_InitTypeDef" is undefined

        解決方法:在usart.c中添加“#include"misc.h"”

        6)..SYSTEMusartusart.c(82): warning:#223-D: function "RCC_APB2PeriphClockCmd" declared implicitly

        解決方法:在usart.c中添加“#include"stm32f10x_rcc.h"”

        7)..HARDWARELEDled.c(22): error:#20: identifier "GPIO_InitTypeDef" is undefined

        解決方法:在led.c中添加“#include"stm32f10x_gpio.h"”

        8)..HARDWARELEDled.c(25): error:#20: identifier "RCC_APB2Periph_GPIOA" is undefined

        解決方法:在led.c中添加“#include"stm32f10x_rcc.h"”

        8、build target結果




        上一頁 1 2 下一頁

        關鍵詞: 正點原子STM32F10x庫函

        評論


        相關推薦

        技術專區

        關閉
        主站蜘蛛池模板: 新丰县| 高尔夫| 泾源县| 当雄县| 姚安县| 青冈县| 青河县| 富源县| 平利县| 青州市| 乃东县| 若羌县| 武乡县| 定襄县| 诸暨市| 上高县| 峡江县| 东丽区| 洪洞县| 马鞍山市| 夏邑县| 修水县| 北辰区| 平南县| 东乡县| 右玉县| 江津市| 满洲里市| 凤山市| 旅游| 潜山县| 奈曼旗| 黄石市| 张家川| 珠海市| 正宁县| 顺昌县| 保康县| 云梦县| 鹤山市| 浦县|