Hello,
I want to test the Thingy Mesh Provisioning Demo v0.7 with the codes provided on the GitHub:
https://github.com/NordicPlayground/thingy52-mesh-provisioning-demo
I have encountered an error while compiling the codes of "thingy_provisioning_demo.emProject" in the folder <thingy_provisioning_demo> using SEGGER Embedded Studio for ARM.
1. Firstly I used the "Nordic nRF5 SDK for Mesh v3.2.0" provided on Github
Encountered Following Errors:
Building ‘Thingy52-mesh-provisioning-demo-v0.6’ from solution ‘Thingy52-mesh-provisioning’ in configuration ‘Debug’
Compiling ‘main.c’
implicit declaration of function 'support_func_configure_io_startup' [-Wimplicit-function-declaration]
'BUTTON_PULL' undeclared (first use in this function); did you mean 'BUTTON_BOARD'?
in expansion of macro 'BUTTON_PIN_CONFIG'
each undeclared identifier is reported only once for each function it appears in
in expansion of macro 'BUTTON_PIN_CONFIG'
Compiling ‘app_onoff.c’
Compiling ‘rtt_input.c’
Compiling ‘mesh_app_utils.c’
Build failed
2. Then I also tried using the latest version "nRF5 SDK for Mesh v4.1.0"
Encountered Following Error:
Building ‘Thingy52-mesh-provisioning-demo-v0.6’ from solution ‘Thingy52-mesh-provisioning’ in configuration ‘Debug’
Compiling ‘main.c’
main.c
"STATIC_AUTH_DATA" redefined
main.c
this is the location of the previous definition
macro "APP_ONOFF_SERVER_DEF" requires 6 arguments, but only 5 given
expected ';' before 'static'
main.c
'm_onoff_server_0' undeclared (first use in this function); did you mean 'app_onoff_server_t'?
in definition of macro 'ERROR_CHECK'
each undeclared identifier is reported only once for each function it appears in
in definition of macro 'ERROR_CHECK'
implicit declaration of function 'support_func_configure_io_startup' [-Wimplicit-function-declaration]
'BUTTON_PULL' undeclared (first use in this function); did you mean 'BUTTON_BOARD'?
in expansion of macro 'BUTTON_PIN_CONFIG'
Compiling ‘app_onoff.c’
Compiling ‘rtt_input.c’
Compiling ‘mesh_app_utils.c’
Build failed
I have followed the steps shown in the Demo-page. However when hitting "Build & Run", the error message is triggered.
I sincerely appreciate your effort and time for looking into this matter. I am looking forward to your reply.
Thank you.
Best regards