This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cmake 3.19 breaks Zephyr RTOS - Getting: Assertion Failed: The toolchain is unable to build a dummy C file. in Segger Embedded Studio nRF-Nordic

Hi,

I have filed an issue over at cmake regarding this issue:

https://gitlab.kitware.com/cmake/cmake/-/issues/21512

As someone else has already posted on stack overflow:

https://stackoverflow.com/questions/64985685/assertion-failed-the-toolchain-is-unable-to-build-a-dummy-c-file

I've been experiencing the same issue with SES after by brew updated Cmake to 3.19-branch ... having rolled it back to 3.17.2 ... everything work again as it did before (I'm on macOS 10.15). I am also right now using/testing 3.18.4 ... and it too seems to work ...

Maybe nRF + Zephyr + Segger + Cmake can have a joint look into this issue?

Cheers,

Daniel.

Related