Hi all, In Primer2_mouse project, I am getting error "GPIOD undeclared". I tried including all the necessary files and tried declaring as given in 'STM32 Firmware Library' pdf also but didn't work. What could be the reason?
I have made sure that stm32f103x_map.h, stm32f103x_conf.h and all the related header files are included in the application.c. But still I am getting the error: 'GPIOD' undeclared (first use in this function) in application.c and I have not yet to found out the reason.
I guess you have to edith this file: stm32f10x_conf.h
Check the the line is not commented out: #define _GPIO #define _GPIOA #define _GPIOB #define _GPIOC #define _GPIOD #define _GPIOE //#define _GPIOF //#define _GPIOG