Anybody out there with experience of STM32H743I-EVAL + TrueSTUDIO?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-29 11:37 PM
I'm trying to compile and run my first simple test program, but I got stuck with error:
'Compiler generates FPU instructions for a device without an FPU'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 1:30 AM
Hi
Backvid.Folke
,Have you checked __FPU_PRESENT to see if it's set or not?
Are you including
the stm32h743xx.h file?
-Nesrine-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 2:07 AM
Yes, I found out that after posting the question.
__FPU_PRESENT was not set, so I 'hacked in' a #define in the .h file.
But now I'm stuck on 'bad instruction' from the assembler.
I thought I had fixed that by selecting Thumb instead of Thumb2.
Folke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 4:20 AM
,
,
Yes, I found out that after posting the question.
__FPU_PRESENT was not set, so I 'hacked in' a ♯ define in the .h file.
That is not a very good way.
Better add the define to your project settings.
But now I'm stuck on 'bad instruction' from the assembler.
I thought I had fixed that by selecting Thumb instead of Thumb2.
The H7xx definitely implements Thumb-2.
I think your project settings are messed up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-05-30 5:12 AM
But now I'm stuck on 'bad instruction' from the assembler.
Perhaps the project is for a 'Generic ARM processor', not for a STM32 / Cortex M at all. This usually produces ARM assembler instructions (not Thumb).
Or you have a library linked in that contains ARM code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-02 3:59 AM
I tried to build the example LTDC_Display_1Layer and here I also get a lot of 'bad instruction' when it
tries to assemble the startup_stm32h743xx.s file.
