fix compiling error: multiple definition of `_sbrk' (CubeIDE 6.2.1)
the project is created from CubeMX, STM32F091CCT
the project is created from CubeMX, STM32F091CCT
There is no other instance of _sbrk (in syscalls.c. or sysmem.c). Any away, I don't want to change sysmem.c and syscalls.c, since they are standard files created by CubeMX. I never had to mess with these files in the past projects. Somehow, sysmem.c and syscalls.c were corrupted. The fix is to prevent sysmem.c and syscalls.c getting corrupted.
I don't have a fix, just a work around. The work around is (as posted in my case in ST support site):
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.