cancel
Showing results for 
Search instead for 
Did you mean: 

Generated CMake projects use deprecated CMakeForceCompiler

drewhanshaw
Associate II

Hello,

I've noticed that the generated CMake projects (specifically, in the toolchain gcc-arm-none-eabi.cmake file), a now-deprecated (since version 3.6!) macro is used https://cmake.org/cmake/help/latest/module/CMakeForceCompiler.html

I have to remove/comment out the use of these macros in my code due to it causing issues with other CMake libraries that I use in my project, which somewhat defeats the purpose of the CubeMX generated code to begin with.

Hopefully this is seen by the right person and this issue is addressed.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

Hello @drewhanshaw 

Thank you for bringing this issue to our attention, 

 Issue escalated internally (Internal ticket number 191267). I will get back to you for any feedback. 

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @drewhanshaw 

Thank you for bringing this issue to our attention, 

 Issue escalated internally (Internal ticket number 191267). I will get back to you for any feedback. 

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Do you have an update on this ticket?