ext: hal: nordic: Add nrfx_config for nRF9160 SoC
Add the header file with the nrfx drivers configuration suitable for the nRF9160 SoC. This file contains also definitions of CMSIS symbols (like NRF_CLOCK or NRF_SPIM0) for structures of peripheral registers. These symbols are used in nrfx HALs and drivers, and for other nRF SoCs they come from MDK files. For nRF9160 they need to be mapped to proper addresses in Secure or Non-Secure domain, so we use the information coming from DT to get it done automatically. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
2210e2235d
commit
99bab3f478
2 changed files with 2172 additions and 0 deletions
|
@ -41,6 +41,8 @@
|
|||
#include <nrfx_config_nrf52832.h>
|
||||
#elif defined(NRF52840_XXAA)
|
||||
#include <nrfx_config_nrf52840.h>
|
||||
#elif defined(NRF9160_XXAA)
|
||||
#include <nrfx_config_nrf9160.h>
|
||||
#else
|
||||
#error "Unknown device."
|
||||
#endif
|
||||
|
|
2170
ext/hal/nordic/nrfx_config_nrf9160.h
Normal file
2170
ext/hal/nordic/nrfx_config_nrf9160.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue