[nrf][clock] use nrfx lib clock driver

Using Nordic's nrfx driver for the clock control peripheral since
it address a handful of errata and abstracts some differences
in the nrf52 family of parts.
This commit is contained in:
Eric Holland
2020-10-06 10:08:33 -04:00
parent 7068fb63cb
commit d1bad2e683
10 changed files with 156 additions and 15 deletions

View File

@@ -3,11 +3,12 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_SRCS := \
$(LOCAL_DIR)/drivers/src/nrfx_clock.c \
$(LOCAL_DIR)/drivers/src/nrfx_twi.c \
$(LOCAL_DIR)/drivers/src/nrfx_twi_twim.c \
$(LOCAL_DIR)/drivers/src/nrfx_twim.c \
$(LOCAL_DIR)/drivers/src/nrfx_usbd.c \
$(LOCAL_DIR)/mdk/system_nrf52.c \
$(LOCAL_DIR)/mdk/system_nrf52840.c \
$(LOCAL_DIR)/soc/nrfx_atomic.c \
# The nrfx library doesn't follow the typical lk include directory layout