I have a problem with atollic trueSTUDIO for stm32

guys I have a problem with atollic trueSTUDIO for stm32
12 Replies
techielew
techielew8mo ago
What's the issue? @Umesh Lokhande is an STM32 guy.
boualleg sabrina
okay , I'm working on an intelligent walking stick
boualleg sabrina
it's New for me to program it
boualleg sabrina
but when I build the code
boualleg sabrina
I don't understand this error and what to do to solve it
boualleg sabrina
ps: I'm using ultrasonic sensor hc-sr04 and a buzzer
boualleg sabrina
for the microcontroller I'm using stm32f401RE
Umesh Lokhande
Umesh Lokhande8mo 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
thank you for your help
mad.maxii
mad.maxii8mo 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
I think I don't need the uart configuration because i'm using ultrsonic sensor
Want results from more Discord servers?
Add your server