Hello, I've tried a few a few combinations of nrfconnect/sdk-nrf branches, but I can't seem to get `CONFIG_CHIP=y` builds to work.
I'm using the following `prj.conf`:
CONFIG_BOOTLOADER_MCUBOOT=y
# CPP 17 or greater required
CONFIG_CHIP=y
CONFIG_STD_CPP17=y
I'm using ZEPHYR_TOOLCHAIN_VARIANT="gnuarmemb" and running `west build -b particle_xenon`. The build command that is failing (with spaces converted to newlines) is:
/nix/store/4rnf1zlpv24jwgk1hd3m9l2pffjdd3an-gcc-arm-embedded-10.3.1/bin/arm-none-eabi-g++ -MMD -MF obj/src/crypto/libChipCrypto.CHIPCryptoPALmbedTLS.cpp.o.d -Wconversion -mthumb -Os -g2 -fno-common -ffunction-sections -fdata-sections -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wall -Werror -Wstack-usage=8192 -Wextra -Wshadow -Wunreachable-code -Wvla -Wformat -Wformat-nonliteral -Wformat-security -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused -Wno-psabi -Wno-cast-function-type -fdiagnostics-color -fno-strict-aliasing -D_SYS__PTHREADTYPES_H_ -isystem/home/kenny/src/ncs/zephyr/include/posix -std=gnu++14 -fno-rtti -Wnon-virtual-dtor -isystem/home/kenny/src/ncs/zephyr/include -isystem/home/kenny/src/ble/matter/build/zephyr/include/generated -isystem/home/kenny/src/ncs/zephyr/soc/arm/nordic_nrf/nrf52 -isystem/home/kenny/src/ncs/zephyr/lib/libc/newlib/include -isystem/home/kenny/src/ncs/zephyr/soc/arm/nordic_nrf/common/. -isystem/home/kenny/src/ncs/nrf/include -isystem/home/kenny/src/ncs/modules/hal/cmsis/CMSIS/Core/Include -isystem/home/kenny/src/ncs/modules/hal/nordic/nrfx -isystem/home/kenny/src/ncs/modules/hal/nordic/nrfx/drivers/include -isystem/home/kenny/src/ncs/modules/hal/nordic/nrfx/mdk -isystem/home/kenny/src/ncs/zephyr/modules/hal_nordic/nrfx/. -DKERNEL -D__ZEPHYR__=1 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -DNRF52840_XXAA -fcheck-new -std=c++17 -fno-exceptions -fno-rtti -imacros /home/kenny/src/ble/matter/build/zephyr/include/generated/autoconf.h -ffreestanding -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee -imacros /home/kenny/src/ncs/zephyr/include/toolchain/zephyr_stdint.h -fno-pie -fno-pic -fmacro-prefix-map=/home/kenny/src/ble/matter=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/kenny/src/ncs/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/kenny/src/ncs=WEST_TOPDIR -specs=nano.specs -std=gnu++17 -DNDEBUG -DCHIP_HAVE_CONFIG_H=1 -I../../../../../ncs/modules/lib/matter/src/include -I../../../../../ncs/modules/lib/matter/src -Igen/include -I../../../../../ncs/modules/lib/matter/zzz_generated/app-common -I../../../../../ncs/modules/lib/matter/third_party/nlassert/repo/include -I../../../../../ncs/modules/lib/matter/third_party/nlio/repo/include -c ../../../../../ncs/modules/lib/matter/src/crypto/CHIPCryptoPALmbedTLS.cpp -o obj/src/crypto/libChipCrypto.CHIPCryptoPALmbedTLS.cpp.o
Any idea why this isn't working?