The title says it all.
STM32CubeMx Version Version 4.22.1
Oh, and assert_failed needs to be fixed, too. Anyone at ST compiling stuff with warnings turned on?
Hello Morty Morty,
can you share with us the warning and problems you are facing?
Well.... The generated code also creates the line
From the C-Standard:
__FILE__ The presumed name of the current source ﬁle (a character string literal).
For reasons discussed here: c - Are string literals const? - Stack Overflow gcc legitimately puts them into the const data section, considers string literals "const char *", and consequently emits a warning.
Retrieving data ...