my fork of nrf51-sdk

Dependents:   nRF51822

Fork of nrf51-sdk by Nordic Semiconductor

Revision:
24:2aea0c1c57ee
Parent:
22:67a8d2c0bbbf
Child:
27:0fe148f1bca3
diff -r 77ae29072c57 -r 2aea0c1c57ee source/nordic_sdk/components/device/nrf.h
--- 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"