2017-09-14 02:19 AM
The title says it all.
STM32CubeMx Version Version 4.22.1
Library: STM32Cube_FW_F3_V1.9.0
#bug2017-09-14 02:20 AM
Oh, and assert_failed needs to be fixed, too. Anyone at ST compiling stuff with warnings turned on?
2017-09-14 06:25 AM
Hello
moritz.struebe
,can you share with us the warning and problems you are facing?
2017-09-14 08:59 AM
Well.... The generated code also creates the line
_Error_Handler(__FILE__, __LINE__);
From the C-Standard:
__FILE__ The presumed name of the current source �le (a character string literal).
For reasons discussed here:
gcc legitimately puts them into the const data section, considers string literals 'const char *', and consequently emits a warning.