Skip to main content
Associate
April 1, 2024
Solved

Cannot compile STM32U5G9J-DK2 project when created with CubeMX

  • April 1, 2024
  • 3 replies
  • 1151 views

I have generated code for STm32U5G9J-DK2 via cubeMX, included FreeRTOS and touchGFX designer middleware. Once I compile I get error "sorry, unimplemented: Thumb-1 hard-float VFP ABI" from multiple locations (total 29 errors). I ma not sure what I am missing or the root cause of these errors.

Screenshot 2024-04-01 145608.png

Need help with it. Thank you.

This topic has been closed for replies.
Best answer by f_rehman

Somehow updating the cubeIDE to 1.15 fixed the issue. I did checked the compiler options and microcontroller settings, everything looked good. Anyways, IDE update fixed my issue.

3 replies

GaetanGodart
Technical Moderator
April 3, 2024

Hello @f_rehman ,

 

When I googled your error message, I found multiple people having solved it by modifying their build options :
 - https://github.com/frida/frida/issues/311
 - https://www.openstm32.org/forumthread660
 - https://www.openstm32.org/forumthread3099
You might want to check your compiling options.

Furthermore, you could compare your project with one of our TBS.

I would also like to add that, since you use U5G5 discovery, you could just create a project directly from Designer and them open the ioc file to modify whatever you want.

 

Tell me if that helped you.
If this post answers your question, make sure to set it as "Best answer" so I can close the ticket.

 

Regards,

GaetanGodart
Technical Moderator
April 16, 2024

Hello @f_rehman ,

 

Have you been able to find a solution to your problem?

If you have found a solution, could you provide it here so that other people google the same issue as you had would be able to fin da quick solution? ☺

 

Regards,

f_rehmanAuthorBest answer
Associate
April 16, 2024

Somehow updating the cubeIDE to 1.15 fixed the issue. I did checked the compiler options and microcontroller settings, everything looked good. Anyways, IDE update fixed my issue.

GaetanGodart
Technical Moderator
April 16, 2024

Hello @f_rehman ,

 

That is great to hear!

I invite you to select your last comment as "best answer" to help other people with the same issue find the answer quickly!

 

Regards,