I'm trying to add the unity test integration to our project, but failing to build, since the project has a dependency on nrf_oberon
For the sake of completeness, the project is based on latest nRF_Connect_SDK and build with VS code on macOS Big Sur, which should not be relevant for this issue.
Running a test build native_posix as recommended here failed!
$ west build -b native_posix -t run --pristine -- The C compiler identification is AppleClang 12.0.5.12050022 -- The CXX compiler identification is AppleClang 12.0.5.12050022 -- The ASM compiler identification is Clang -- Found assembler: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc CMake Error at /opt/nordic/ncs/v1.6.0/zephyr/cmake/extensions.cmake:1746 (message): Assertion failed: GCC_M_CPU must be set to find correct lib. Call Stack (most recent call first): /opt/nordic/ncs/v1.6.0/nrfxlib/common.cmake:21 (assert) /opt/nordic/ncs/v1.6.0/nrfxlib/crypto/CMakeLists.txt:9 (nrfxlib_calculate_lib_path)