This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Undeclared Variable in Thingy 52 Mesh Provisioning Demo

Hello,

I want to test the mesh provisioning demo 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 "light_switch_proxy_server_nrf52832_xxAA_s132_6_0_0.emProject"  in the folder <thingy_provisioning_demo_generic_OnOff_BLINK> using Embedded Studio for ARM.

The error is as shown below:

Building ‘thingy52-mesh-provisioning-demo’ from solution ‘thingy52-mesh-provisioning-demo’ in configuration ‘Debug’
  Compiling ‘main.c’
    m_ble.h
    m_ui.h
    main.c
    "SLAVE_LATENCY" redefined
    main.c
    this is the location of the previous definition
    m_ble.h
    m_ui.h
    main.c
    "FIRST_CONN_PARAMS_UPDATE_DELAY" redefined
    main.c
    this is the location of the previous definition
    m_ble.h
    m_ui.h
    main.c
    "NEXT_CONN_PARAMS_UPDATE_DELAY" redefined
    main.c
    this is the location of the previous definition
    "MIN_CONN_INTERVAL" redefined
    main.c
    this is the location of the previous definition
    "MAX_CONN_INTERVAL" redefined
    main.c
    this is the location of the previous definition
    "SLAVE_LATENCY" redefined
    m_ble.h
    m_ui.h
    main.c
    this is the location of the previous definition
    'DEV_BOARD_LF_CLK_CFG' undeclared (first use in this function); did you mean 'NRF_RADIO_HFCLK_CFG'?
    each undeclared identifier is reported only once for each function it appears in
    implicit declaration of function 'execution_start' [-Wimplicit-function-declaration]
  Compiling ‘rtt_input.c’
  Compiling ‘mesh_app_utils.c’
  Compiling ‘nrf_mesh_weak.c’
Build failed

Completed

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

Related