djjyi 发表于 2009-6-4 10:09:25

请问如何解决FSMC编译出现的问题

我想使用FSMC功能 在添加stm32f10x_fsmc.c和fsmc_sram.c文件后 编译出现以下错误
fsmc_sram.c(42): error:  #20: identifier "FSMC_NORSRAMInitTypeDef" is undefined
fsmc_sram.c(43): error:  #20: identifier "FSMC_NORSRAMTimingInitTypeDef" is undefined
fsmc_sram.c(46): error:  #20: identifier "RCC_APB2Periph_GPIOG" is undefined
fsmc_sram.c(47): error:  #20: identifier "RCC_APB2Periph_GPIOF" is undefined
fsmc_sram.c(66): error:  #20: identifier "GPIOF" is undefined
fsmc_sram.c(70): error:  #20: identifier "GPIOG" is undefined.......
请问如何解决?

shiny 发表于 2014-4-30 10:47:52

RE:请问如何解决FSMC编译出现的问题

在使用它们的地方要加上相应的头文件
页: [1]
查看完整版本: 请问如何解决FSMC编译出现的问题