Hi,
I'm having difficulty getting the ble_app_blinky_c example in nRF5_SDK_15.0.0_a53641a to compile for the the nRF52840 (pca10056). I'm getting the following errors
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc>make mkdir _build cd _build && mkdir nrf52840_xxaa Assembling file: gcc_startup_nrf52840.S Compiling file: nrf_log_backend_rtt.c Compiling file: nrf_log_backend_serial.c Compiling file: nrf_log_backend_uart.c Compiling file: nrf_log_default_backends.c Compiling file: nrf_log_frontend.c Compiling file: nrf_log_str_formatter.c Compiling file: app_button.c Compiling file: app_error.c Compiling file: app_error_handler_gcc.c Compiling file: app_error_weak.c Compiling file: app_scheduler.c Compiling file: app_timer.c Compiling file: app_util_platform.c Compiling file: hardfault_implementation.c Compiling file: nrf_assert.c Compiling file: nrf_atfifo.c Compiling file: nrf_atflags.c Compiling file: nrf_atomic.c Compiling file: nrf_balloc.c Compiling file: nrf_fprintf.c Compiling file: nrf_fprintf_format.c Compiling file: nrf_fstorage.c Compiling file: nrf_fstorage_sd.c Compiling file: nrf_memobj.c Compiling file: nrf_pwr_mgmt.c Compiling file: nrf_section_iter.c Compiling file: nrf_strerror.c Compiling file: system_nrf52840.c Compiling file: boards.c Compiling file: nrf_drv_clock.c Compiling file: nrf_drv_uart.c Compiling file: nrfx_clock.c Compiling file: nrfx_gpiote.c Compiling file: nrfx_power_clock.c Compiling file: nrfx_prs.c Compiling file: nrfx_uart.c Compiling file: nrfx_uarte.c Compiling file: bsp.c Compiling file: bsp_btn_ble.c Compiling file: main.c Compiling file: SEGGER_RTT.c Compiling file: SEGGER_RTT_Syscalls_GCC.c Compiling file: SEGGER_RTT_printf.c Compiling file: ble_advdata.c Compiling file: ble_advertising.c Compiling file: ble_conn_state.c Compiling file: ble_db_discovery.c Compiling file: ble_srv_common.c Compiling file: nrf_ble_gatt.c Compiling file: ble_lbs_c.c Compiling file: nrf_sdh.c Compiling file: nrf_sdh_ble.c Compiling file: nrf_sdh_soc.c Linking target: _build/nrf52840_xxaa.out _build/nrf52840_xxaa/main.c.o: In function `db_disc_handler': C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:438: undefined refe rence to `ble_lbs_on_db_disc_evt' _build/nrf52840_xxaa/main.c.o: In function `button_event_handler': C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:390: undefined refe rence to `ble_lbs_led_status_send' _build/nrf52840_xxaa/main.c.o: In function `lbs_c_evt_handler': C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:181: undefined refe rence to `ble_lbs_c_handles_assign' C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:190: undefined refe rence to `ble_lbs_c_button_notif_enable' _build/nrf52840_xxaa/main.c.o: In function `ble_evt_handler': C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:259: undefined refe rence to `ble_lbs_c_handles_assign' C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:262: undefined refe rence to `ble_db_discovery_start' _build/nrf52840_xxaa/main.c.o: In function `db_discovery_init': C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:446: undefined refe rence to `ble_db_discovery_init' _build/nrf52840_xxaa/main.c.o: In function `lbs_c_init': C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc/../../../main.c:347: undefined refe rence to `ble_lbs_c_init' _build/nrf52840_xxaa/main.c.o:(.sdh_ble_observers1+0x0): undefined reference to `ble_db_discovery_on_ble_evt' _build/nrf52840_xxaa/main.c.o:(.sdh_ble_observers2+0x0): undefined reference to `ble_lbs_c_on_ble_evt' collect2.exe: error: ld returned 1 exit status ../../../../../../components/toolchain/gcc/Makefile.common:292: recipe for targe t '_build/nrf52840_xxaa.out' failed make: *** [_build/nrf52840_xxaa.out] Error 1 C:\NRF Files\nrf52840-mdk-master\nrf_sdks\nRF5_SDK_15.0.0_a53641a\examples\ble_c entral\ble_app_blinky_c\pca10056\s140\armgcc>
The nRF 52832 (pca10040) compiles without issue. Can anyone suggest where I'm going wrong?
Thanks