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

How do I solve error "Device family must be defined. See nrf.h."?

When creating my own project in Keil for the NRF51. I get this error when including files that include nrf.h. I do not have this problem in the example projects with the NRF51. When I try to find where the device is defined in these example projects I get the message: 'NRF51' - undefined Definition/Reference !

If possible I would like to know how do I solve this and what the reason for the error is.

Parents Reply Children
Related