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

Unknown device compilation error

I downloaded SDK V17.0.0.9 and opened BLE_APP_UART example from /ble_peripheral folder on IAR EWARM. I choosed ble_app_uart_pca10040e_s112 and compiled without problems.

But I want to test the NRF52805, so I changed "NRF52810_XXAA" in preprocesor tab for "NRF52805_XXAA". The result is:

Fatal Error[Pe035]: #error directive: "Unknown device." C:\Code\Nordic\nRF5SDK17\modules\nrfx\soc\nrfx_irqs.h 61

I checked nrfx_irqs.h and there is no option for NRF52805:

#if defined(NRF51)
#include <soc/nrfx_irqs_nrf51.h>
#elif defined(NRF52810_XXAA)
#include <soc/nrfx_irqs_nrf52810.h>
#elif defined(NRF52811_XXAA)
#include <soc/nrfx_irqs_nrf52811.h>
#elif defined(NRF52820_XXAA)
#include <soc/nrfx_irqs_nrf52820.h>
#elif defined(NRF52832_XXAA) || defined (NRF52832_XXAB)
#include <soc/nrfx_irqs_nrf52832.h>
#elif defined(NRF52833_XXAA)
#include <soc/nrfx_irqs_nrf52833.h>
#elif defined(NRF52840_XXAA)
#include <soc/nrfx_irqs_nrf52840.h>
#elif defined(NRF9160_XXAA)
#include <soc/nrfx_irqs_nrf9160.h>
#else
#error "Unknown device."
#endif

How Should I solve this issue?

Parents Reply Children
Related