Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.

Dependents:   nRF51822 nRF51822

Revision:
24:2aea0c1c57ee
Parent:
22:67a8d2c0bbbf
Child:
27:0fe148f1bca3
--- a/source/nordic_sdk/components/device/nrf.h	Thu Apr 07 17:37:48 2016 +0100
+++ b/source/nordic_sdk/components/device/nrf.h	Thu Apr 07 17:37:49 2016 +0100
@@ -46,9 +46,13 @@
         #include "nrf51.h"
         #include "nrf51_bitfields.h"
         #include "nrf51_deprecated.h"
+    #elif defined (NRF52)
+        #include "nrf52.h"
+        #include "nrf52_bitfields.h"
+        #include "nrf51_to_nrf52.h"
     #else
         #error "Device family must be defined. See nrf.h."
-    #endif /* NRF51 */
+    #endif /* NRF51, NRF52 */
 
     #include "compiler_abstraction.h"