CMSIS_5
CMSIS_5 copied to clipboard
Error: invalid literal constant: pool needs to be closer
This error message from linker stage of gcc point to this line of code:
Ths fuction - inline body of __FPU_Enable, located in
core_A/Include/cmsis_gcc.h
.
In my project with -Ofast -flto optimization options. Method for solve this error - explicit disable inlining of outer function..
Or, __FPU_Enable can be rewritten for use imm constants and left shift R2 content.
Proposed fix patch.zip