FPU issue in function call (STM32F407 and STM32F429)
Hello,
i recognized a strange behavior between STM32F407 and STM32F429 librarys. I tried to convert a double to string with a simple function i wrote by myself.
void double2str( double value, char *str, uint8_t precision );
If i use a simple code just convert a single double and transmit this with USART the STM32F407 get stuck (Hardware fault). If i use the identical code at STM32F429 everything is fine.
I tried to use a pointer for the double value and it works at the STM32F407:
void double2str( double *value, char *str, uint8_t precision )
(
double val2 = *value;
...
So something ist worng with the function call and the double value.
Is there a way to fix this?
I can not change hard ABI to soft, or softfp. This causes many errors in the StandardPeripheralLibraries while building the project.
Thanks, Erik