Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Use nfc_text_record in other examples

Hi, I'm working on a project based on the ble_uart_peripheral example. Now it can use NFC to wake up the MCU from SYSTEM OFF mode. I wanna add a new feature that when a smartphone touches the NFC, it can read something like a deviceID. So I tried to merge the nfc_text_record example to it.

I first add these files in the project panel  and include all different header files in the code. And then check the preprocessor include path and find that all the path are already included in the main project. Then I changed all the NFC related configurations in the sdk_config.h  , but got the following errors when building the project  (codes are same from the text-record examples)

      It doesn't look like a coding error. Am I missing any header files or configurations?

Thanks in advance.

Parents Reply
  • Hi,

    I solved the issue. In the sdk_config.h of nfc examples there are only nrfx_timer where nrfx_timer_enabled and nrfx_timer4_enabled are set. But the ble_uart example has both timer and nrfx_timer, so both timer4_enabled and nrfx_timer4_enabled should be set to get it work.

Children
No Data
Related