Hi!
I am currently trying to build the lwm2m_client. Currently I am using ncs v1.1.0-rc3.
I am using the devkit as hardware. The only thing I changed in the proj.conf is CONFIG_LWM2M_PEER_PORT and CONFIG_APP_LWM2M_SERVER.
Building with "west build -b nrf9160_pca10090 -d build_nrf9160_pca10090" leads to the following error:
../src/lwm2m/lwm2m_button.c: In function 'handle_button_events':
../src/lwm2m/lwm2m_button.c:32:23: error: operator '>' has no left operand
#if CONFIG_FLIP_INPUT > 0
^
../src/lwm2m/lwm2m_button.c: In function 'lwm2m_init_button':
../src/lwm2m/lwm2m_button.c:65:23: error: operator '!=' has no left operand
#if CONFIG_FLIP_INPUT != UI_BUTTON_1
^~
../src/lwm2m/lwm2m_button.c:76:23: error: operator '!=' has no left operand
#if CONFIG_FLIP_INPUT != UI_BUTTON_2
^~
../src/lwm2m/lwm2m_button.c:87:23: error: operator '!=' has no left operand
#if CONFIG_FLIP_INPUT != UI_SWITCH_1
^~
../src/lwm2m/lwm2m_button.c:98:23: error: operator '!=' has no left operand
#if CONFIG_FLIP_INPUT != UI_SWITCH_2
^~
At top level:
../src/lwm2m/lwm2m_button.c:20:14: warning: 'timestamp' defined but not used [-Wunused-variable]
static s32_t timestamp[4];
^~~~~~~~~
[33/443] Building C object CMakeFiles/app.dir/src/lwm2m/lwm2m_light_control.c.obj
ninja: build stopped: subcommand failed.
ERROR: command exited with status 1: 'c:\Program Files\CMake\bin\cmake.EXE' --build 'c:\nrf91\ncs\nrf\samples\nrf9160\lwm2m_client\build_nrf9160_pca10090'
Do I have to define the #define for CONFIG_FLIP_INPUT manually?