As stated in the title, when I set CONFIG_CHIP_FACTORY_DATA_BUILD
to n
, the following compilation error occurs.
However, if I keep it as y
, the MCU fails to function and gets stuck in the following code.
FUNC_NORETURN __weak void arch_system_halt(unsigned int reason) { ARG_UNUSED(reason); /* TODO: What's the best way to totally halt the system if SMP * is enabled? */ (void)arch_irq_lock(); for (;;) { /* Spin endlessly */ } }
These issues do not occur in prj.conf
.
Please note that I am using a clean NCS 2.9.0 Matter Lock project.
The attachment below contains the modifications I made