Hi
Now I am using NCS1.7.1 for development the nRF52840 chip.I need to use the C standard library(math.h).I set up as follows:
/****************prj.conf****************/ CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_NANO=y CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE=2048There is no problem when the above macro definitions are not added to "nrf\samples\bluetooth\mesh\light_ctrl" project.If adding and enable to project it will error.The reason is that this segment in my code reports error!
/*****************vendor_setting.c*********************/
static int handle_set(const char *name, size_t len, settings_read_cb read_cb,void *cb_arg)
{
return 0;
}
static int handle_commit(void)
{
return;
}
static int handle_export(int (*cb)(const char *name, const void *value, size_t val_len))
{
return 0;
}
SETTINGS_STATIC_HANDLER_DEFINE(vendor, "vendor", NULL, handle_set, handle_commit, handle_export);
The error message is as follows:

Now I don't know what to do!