In the end it outputs “Error starting process C:\Users\robin\ncs\v1.5.0\toolchain\opt/bin/arm-none-eabi-ar”
I´ve tried building other sample projects provided by Nordic Semi, and those builds.
I´ve tried same procedure on both nRF Connect SDK 1.5.0 and 1.4.99-dev1.
Do you have any idea how to work around?
Was unsure whether I should report this on bug or something else, but I can´t build the project after following the tutorial step by step, so I thought it might suit here anyway.
The issue is that SES (Segger Embedded Studio) stripped out most of the header files for C++ from GCC. hence does not compile C++ code. So currently the only way to build for Nordic chips with Zephyr is to use the west tool.
There is probably a way to provide SES with another compiler that would support C++, but I would not recommend that.
Thank you for the answer. That makes sense.
But that also means that I can´t debug the fw, so it would really be benefitial if this issue could be fixed in the future.
I still have to document it, but here is my project, which runs Edge Impulse SDK on an nrf52840 with mbed OS. Particularly, here is the folder with the deployment code. Hope it helps.