Error of greyed out #error message

Discuss how to use the features of Atollic TrueSTUDIO, including the editor, assembler, C/C++ compiler, linker, debugger, static code analysis and team collaboration tools.

Moderators: Markus Girdland, Mattias Norlander

Posts: 1
Joined: Tue Apr 07, 2020 2:42 pm

Error of greyed out #error message

Postby ap1 » Tue Apr 07, 2020 2:55 pm

Hello dear forum,

This is my first time writing here. I am relatively new to atollic TrueStudio, I "inherited" some projects from a colleague...

At the moment I have a project where I want to include FFT calculations. Oh, maybe, first of all:
I am using TrueStudio 9.0.0 and STM32F439NI

So CMSIS is already visible in the Drivers folder.
__FPU_PRESENT ist defined as 1U in file stm32f439xx.h
And I uncommented the line #define STM32F439xx in file stm32f4xx.h

In file core_cm4.h (is this the right one for my smt32?) I get an error message in the FPU_USED definition "routine". Although this part, where the #error message stands, is greyed out.

I tried some approaches like uncommenting the #define line (as written above), clean debug, build again, closing and deleting project and reimporting it. But still this error remains.


Any ideas what the problem is and how i can fix this?

Best regards and thanks for any help!
You do not have the required permissions to view the files attached to this post.

Return to “Atollic TrueSTUDIO tool discussions”

Who is online

Users browsing this forum: No registered users and 3 guests