cancel
Showing results for 
Search instead for 
Did you mean: 

Why won't this project build?

Hrishikesh
Senior
Posted on June 17, 2018 at 16:54

I'm very new to STM32 MCU programming and I started an SPI project on TrueStudio. I needed an LCD library as well and hence I adapted an existing library to be used with mine and added those files under Inc and Src. When I try to compile, I get an error saying that a previously undeclared define is being used for the first time in the function whereas they've been defined in the respective header file and that header file has been included in the project. Why is this happening? What am I missing? All my errors seem to be in the 'HD44780.c' file. I should also mention that I used the CubeMX software to generate the pin definition source code. I've attached a zip of my project here.

#stm32f103 #truestudio-9.0 #build-error #atollic-turestudio
0 REPLIES 0