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

nrf51-ble-app-lbs in SDK 9.0

Hi Noridic, I follow the Application note Nan_36 and download the nrf51-ble-app-lbs project as a practice, but the compiling is not smoothly with SDK 9.0. I finally fix the compile error but met the link error. Please kindly give some helpful suggestion. Thanks. Below is the build log:

*** Using Compiler 'V5.06 (build 20)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'nrf51822_xxaa_s110 (256K)'
assembling arm_startup_nrf51.s...
compiling ble_srv_common.c...
compiling ble_lbs.c...
compiling ble_debug_assert_handler.c...
compiling ble_conn_params.c...
compiling ble_error_log.c...
compiling system_nrf51.c...
compiling crc16.c...
compiling ble_advdata.c...
compiling softdevice_handler.c...
compiling app_button.c...
compiling main.c...
..\main.c(342): warning:  #550-D: variable "m_auth_status" was set but never used
      static ble_gap_evt_auth_status_t m_auth_status;
..\main.c: 1 warning, 0 errors
compiling app_scheduler.c...
compiling app_timer_appsh.c...
compiling app_gpiote.c...
compiling app_timer.c...
compiling pstorage.c...
linking...
.\_build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_event_disable (referred from app_button.o).
.\_build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_event_enable (referred from app_button.o).
.\_build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_init (referred from app_button.o).
.\_build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_in_is_set (referred from app_button.o).
.\_build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_init (referred from app_button.o).
.\_build\ble_app_lbs.axf: Error: L6218E: Undefined symbol nrf_drv_gpiote_is_init (referred from app_button.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 6 error messages.
".\_build\ble_app_lbs.axf" - 6 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
Related