I have a problem with atollic trueSTUDIO for stm32

guys I have a problem with atollic trueSTUDIO for stm32
12 Replies
techielew
techielew11mo ago
What's the issue? @Umesh Lokhande is an STM32 guy.
boualleg sabrina
boualleg sabrina11mo ago
okay , I'm working on an intelligent walking stick
boualleg sabrina
boualleg sabrina11mo ago
it's New for me to program it
boualleg sabrina
boualleg sabrina11mo ago
but when I build the code
boualleg sabrina
boualleg sabrina11mo ago
attachment 0
boualleg sabrina
boualleg sabrina11mo ago
I don't understand this error and what to do to solve it
boualleg sabrina
boualleg sabrina11mo ago
ps: I'm using ultrasonic sensor hc-sr04 and a buzzer
boualleg sabrina
boualleg sabrina11mo ago
for the microcontroller I'm using stm32f401RE
Umesh Lokhande
Umesh Lokhande11mo ago
Hi, @boualleg sabrina It seems your project won't be able to locate stm32f4xx_hal_uart.h header file so you're getting fatal error: stm32f4xx_hal_uart.h: No such file or directory I'd suggest avoiding the use of TrueStudio instead create a project under STM32CubeIDE, configure UART properly, and port existing code. Hopefully, in a newly created project, all drivers will link properly and compile success. Keep us updated
boualleg sabrina
boualleg sabrina11mo ago
thank you for your help
mad.maxii
mad.maxii11mo ago
Did you generated code using stm32 cube mx gui based gpio configurator? Your header file is missing compiler can't locate it. Did you able to resolve this issue? If not feel free to ping , will be happy to help. Thanks
boualleg sabrina
boualleg sabrina11mo ago
I think I don't need the uart configuration because i'm using ultrsonic sensor

Did you find this page helpful?