Question
Error Building file: ../CubeMx/syscalls.c ; Invoking: MCU GCC Compiler
Dear all,
I recently tried to bump the CubeMX version on my project from 4.27.0 to 5.0.0.
I ran into compiler error on file syscalls.c while trying to build project with arm-none-eabi-gcc on OpenSTM32:
../CubeMx/syscalls.c:63:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'asm'The error occurs on following line 63:
register char * stack_ptr asm("sp");I tried to switch from C standard C11 to C99; it did not solve the problem.
Did anybody in the communitiy ran into the same problem ? Is there a workaround solution or is it scheduled to be fixed by ST ?
Thanks
R
