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

Duplicate nrf_nvic.h file

Hi,

I am working on the nRF52840 Development Kit and I want to merge between ble_app_uart to usbd_cdc_acm examples. I opened the usbd_cdc_acm example and added all .c files of ble_app_uart. In addition, I change the preprocessor information (user include directories and preprocessor definition). When I build the new project I received error: "Unknown type name nrf_nvic_state_t" in app_util_platform.c file. I checked in ble_app_uart, where nrf_nvic_state_t argument is declared and I saw that it declaration in nrf_nvic.h file.

The problem:

  • in ble_app_uart - nrf_nvic.h located in path: components/softdevice/s140/headers
  • in usbd_cdc_acm - nrf_nvic.h located in path: components/drivers_nrf/nrf_soc_nosd Because of it, the new project doesn't know nrf_nvic_state_t argument.

Any ideas what to do?

Thanks in advance Orit

Related