Page 1 of 1
Call Stack _unhalted_exception
Posted: Fri Apr 05, 2019 2:10 pm
by dblokhin
Hello, I'm trying to use Cortex Debug in VS Code, but i have the following problem, it's only can be fixed by adding -lc -spec=nosys.specs in Makefile. But it's not a solution for me, because in that case "memset" function works incorrect.

Have you any idea what it could be? Thank you.
Re: Call Stack _unhalted_exception
Posted: Fri Apr 05, 2019 2:28 pm
by Giovanni
Hi,
Which compiler are you using?
Giovanni
Re: Call Stack _unhalted_exception
Posted: Fri Apr 05, 2019 2:48 pm
by dblokhin
arm-none-eabi-gcc
Re: Call Stack _unhalted_exception
Posted: Fri Apr 05, 2019 3:25 pm
by Giovanni
dblokhin wrote:arm-none-eabi-gcc
Is it the one from ARM or some other source?
You may try to compile ChibiOS demos using Makefiles and see if everything is fine. Take note of all settings and options printed by the make process because you need to replicate those in the VS build system.
Giovanni
Re: Call Stack _unhalted_exception
Posted: Sun Jun 30, 2019 8:40 am
by Giovanni
Moving in generic support.
Giovanni