Hello,
I'm trying to update from Mesh SDK 1.0.0 to 1.0.1, I've followed http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v1.0.1/md_doc_getting_started_how_to_nordicSDK.html?cp=4_1_0_3_6 and have a simple application based on examples/serial from Mesh SDK modified to compile with GCC which was working for 1.0.0 but stopped after updating.
The error I'm getting after the update is the following:
In file included from ../../../../../../..//components/libraries/button/app_button.c:46:0: ../../../../../../..//components/libraries/util/nrf_assert.h:104:0: error: "ASSERT" redefined [-Werror] #define ASSERT(expr) \ ^ In file included from ../../../../../../..//components/libraries/button/app_button.h:70:0, from ../../../../../../..//components/libraries/button/app_button.c:42: ../../../../../../..//components/drivers_nrf/hal/nrf_gpio.h:46:0: note: this is the location of the previous definition #define ASSERT(...) ^ cc1: all warnings being treated as errors ../../../../../../..//components/toolchain/gcc/Makefile.common:272: recipe for target '_build/my_project_nrf52832/app_button.c.o' failed make: *** [_build/my_project_nrf52832/app_button.c.o] Error 1
It seems that it's possible that the patch is causing this but I really haven't found the source. Without patching I'm getting even more errors
BTW. For non Windows users the patch command should be `patch --binary -p3 < ../nRF5_SDK_14.2.0_17b948a.patch`
Are there other things I need to consider when migrating 1.0.0 -> 1.0.1 ?