"softFP" setting generates compile error
Compile target is a STM32F446RET6, latest CrossWork version (4.8.0) and latest STM32 support package (3.35).
Setting "softFP" generates an error message of
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
out of core_cm4.h
When "__FPU_PRESENT" is set in the common preprocessor definitions the error vanishes but still a warning appears
"__FPU_PRESENT" redefined
If a statement of " #define __FPU_PRESENT 1U " in e.g. main.h is set, the error is fixed.
Older project versions compiled OK without any modifications.
Please sign in to leave a comment.
Comments
0 comments