soc: Use nrf.h instead of nrf52.h and nrf52_bitfields.h
Since nrf.h abstracts the differences between the nRF51 and nRF52 architectures and chooses the right headers to include, it is safer to use that instead of directly including the soc-specific headers. Jira: ZEP-702 Change-Id: I0e1758ede48f3422a41d226b0eab008e4ba2c77c Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no> Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
28e47f60a4
commit
ad0e041e3d
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,7 @@
|
|||
#ifndef _ASMLANGUAGE
|
||||
|
||||
#include "soc_irq.h"
|
||||
#include <nrf52.h>
|
||||
#include <nrf52_bitfields.h>
|
||||
#include <nrf.h>
|
||||
#include <device.h>
|
||||
#include <misc/util.h>
|
||||
#include <drivers/rand32.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue