Skip to main content
anil.achoora
Visitor II
August 6, 2018
Question

I was trying to run demo "NUCLEO-4R5ZI\Applications\FreeRTOS\FreeRTOS_LowPower\SW4STM32" . I am getting this error fatal error: deprecated_definitions.h: No such file or directory STM32L4R5ZI_NUCLEO line 87 C/C++ Problem"

  • August 6, 2018
  • 1 reply
  • 926 views

When I looked forthe file I found it at "en.stm32cubel4\STM32Cube_FW_L4_V1.12.0\Middlewares\Third_Party\FreeRTOS\Source\include" . So since the file is existing why Atolic is throwing an error.I used Atollic True Studio version 9.1. Is there specific compiler options to be provided to solve this?

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
August 6, 2018

Atollic != SW4STM32

Make sure the project has all required "Include Paths" enumerated within the settings, so the compiler can find where you have put things.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
December 2, 2018

"Atollic != SW4STM32"

They are surely not equal, but what is the difference in respect to Include paths requirements? Don't both of them require the same?

Tesla DeLorean
Guru
December 2, 2018

And if you have the settings wrong, it won't find the file(s). The error is indicative you need to address something. Most likely the paths, but perhaps the invocation, and paths specified there.

Keil use a path relative to the project file, not the root of the project. For the OP's issue you'd have to push up into a third party directory, and things like eclipse workspaces are notorious for having issues with relative vs absolute paths.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..