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

Combining BLE and NFC in nRF52832

Hello all,

I got the nRF52832 dev kit and have been playing around with it. I am using Segger Embedded Studio V4.12. I tried out the ble_app_uart and the writable_ndef_msg examples separately and both work fine. I have been trying to combine them into one project now and am not able to compile. I checked out the difference in the sd_config.h files of the two projects and added the differences. I also added files in the nRF drivers folder in the solution.

The error I am getting is:

nrf_error.h: No such file or directory

It points to sdk_error.h file when showing this error.

But in "Options" in the solution, I checked out the included directories and "../../../../../../components/softdevice/s132/headers " is present and this directory has the header nrf_error.h. The entire list of includes is

../../../config
../../../../../../components
../../../../../../components/ble/ble_advertising
../../../../../../components/ble/ble_dtm
../../../../../../components/ble/ble_link_ctx_manager
../../../../../../components/ble/ble_racp
../../../../../../components/ble/ble_services/ble_ancs_c
../../../../../../components/ble/ble_services/ble_ans_c
../../../../../../components/ble/ble_services/ble_bas
../../../../../../components/ble/ble_services/ble_bas_c
../../../../../../components/ble/ble_services/ble_cscs
../../../../../../components/ble/ble_services/ble_cts_c
../../../../../../components/ble/ble_services/ble_dfu
../../../../../../components/ble/ble_services/ble_dis
../../../../../../components/ble/ble_services/ble_gls
../../../../../../components/ble/ble_services/ble_hids
../../../../../../components/ble/ble_services/ble_hrs
../../../../../../components/ble/ble_services/ble_hrs_c
../../../../../../components/ble/ble_services/ble_hts
../../../../../../components/ble/ble_services/ble_ias
../../../../../../components/ble/ble_services/ble_ias_c
../../../../../../components/ble/ble_services/ble_lbs
../../../../../../components/ble/ble_services/ble_lbs_c
../../../../../../components/ble/ble_services/ble_lls
../../../../../../components/ble/ble_services/ble_nus
../../../../../../components/ble/ble_services/ble_nus_c
../../../../../../components/ble/ble_services/ble_rscs
../../../../../../components/ble/ble_services/ble_rscs_c
../../../../../../components/ble/ble_services/ble_tps
../../../../../../components/ble/common
../../../../../../components/ble/nrf_ble_gatt
../../../../../../components/ble/nrf_ble_qwr
../../../../../../components/ble/peer_manager
../../../../../../components/boards
../../../../../../components/drivers_nrf/usbd
../../../../../../components/libraries/atomic
../../../../../../components/libraries/atomic_fifo
../../../../../../components/libraries/atomic_flags
../../../../../../components/libraries/balloc
../../../../../../components/libraries/bootloader/ble_dfu
../../../../../../components/libraries/bsp
../../../../../../components/libraries/button
../../../../../../components/libraries/cli
../../../../../../components/libraries/crc16
../../../../../../components/libraries/crc32
../../../../../../components/libraries/crypto
../../../../../../components/libraries/csense
../../../../../../components/libraries/csense_drv
../../../../../../components/libraries/delay
../../../../../../components/libraries/ecc
../../../../../../components/libraries/experimental_section_vars
../../../../../../components/libraries/experimental_task_manager
../../../../../../components/libraries/fds
../../../../../../components/libraries/fifo
../../../../../../components/libraries/fstorage
../../../../../../components/libraries/gfx
../../../../../../components/libraries/gpiote
../../../../../../components/libraries/hardfault
../../../../../../components/libraries/hci
../../../../../../components/libraries/led_softblink
../../../../../../components/libraries/log
../../../../../../components/libraries/log/src
../../../../../../components/libraries/low_power_pwm
../../../../../../components/libraries/mem_manager
../../../../../../components/libraries/memobj
../../../../../../components/libraries/mpu
../../../../../../components/libraries/mutex
../../../../../../components/libraries/pwm
../../../../../../components/libraries/pwr_mgmt
../../../../../../components/libraries/queue
../../../../../../components/libraries/ringbuf
../../../../../../components/libraries/scheduler
../../../../../../components/libraries/sdcard
../../../../../../components/libraries/slip
../../../../../../components/libraries/sortlist
../../../../../../components/libraries/spi_mngr
../../../../../../components/libraries/stack_guard
../../../../../../components/libraries/strerror
../../../../../../components/libraries/svc
../../../../../../components/libraries/timer
../../../../../../components/libraries/twi_mngr
../../../../../../components/libraries/twi_sensor
../../../../../../components/libraries/uart
../../../../../../components/libraries/usbd
../../../../../../components/libraries/usbd/class/audio
../../../../../../components/libraries/usbd/class/cdc
../../../../../../components/libraries/usbd/class/cdc/acm
../../../../../../components/libraries/usbd/class/hid
../../../../../../components/libraries/usbd/class/hid/generic
../../../../../../components/libraries/usbd/class/hid/kbd
../../../../../../components/libraries/usbd/class/hid/mouse
../../../../../../components/libraries/usbd/class/msc
../../../../../../components/libraries/util
../../../../../../components/nfc/ndef/conn_hand_parser
../../../../../../components/nfc/ndef/conn_hand_parser/ac_rec_parser
../../../../../../components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser
../../../../../../components/nfc/ndef/conn_hand_parser/le_oob_rec_parser
../../../../../../components/nfc/ndef/connection_handover/ac_rec
../../../../../../components/nfc/ndef/connection_handover/ble_oob_advdata
../../../../../../components/nfc/ndef/connection_handover/ble_pair_lib
../../../../../../components/nfc/ndef/connection_handover/ble_pair_msg
../../../../../../components/nfc/ndef/connection_handover/common
../../../../../../components/nfc/ndef/connection_handover/ep_oob_rec
../../../../../../components/nfc/ndef/connection_handover/hs_rec
../../../../../../components/nfc/ndef/connection_handover/le_oob_rec
../../../../../../components/nfc/ndef/generic/message
../../../../../../components/nfc/ndef/generic/record
../../../../../../components/nfc/ndef/launchapp
../../../../../../components/nfc/ndef/parser/message
../../../../../../components/nfc/ndef/parser/record
../../../../../../components/nfc/ndef/text
../../../../../../components/nfc/ndef/uri
../../../../../../components/nfc/t2t_lib
../../../../../../components/nfc/t2t_lib/hal_t2t
../../../../../../components/nfc/t2t_parser
../../../../../../components/nfc/t4t_lib
../../../../../../components/nfc/t4t_lib/hal_t4t
../../../../../../components/nfc/t4t_parser/apdu
../../../../../../components/nfc/t4t_parser/cc_file
../../../../../../components/nfc/t4t_parser/hl_detection_procedure
../../../../../../components/nfc/t4t_parser/tlv
../../../../../../components/softdevice/common 
../../../../../../components/softdevice/s132/headers 
../../../../../../components/softdevice/s132/headers/nrf52 
../../../../../../components/toolchain/cmsis/include
../../../../../../external/fprintf
../../../../../../external/segger_rtt
../../../../../../external/utf_converter
../../../../../../integration/nrfx
../../../../../../integration/nrfx/legacy
../../../../../../modules/nrfx
../../../../../../modules/nrfx/drivers/include
../../../../../../modules/nrfx/hal
../../../../../../modules/nrfx/mdk
../config

Will be happy to provide any other information.

Thanks in advance.

Related