drivers: timer: nRF SoC Series RTC system clock implementation
The nRF5x series SoCs do not implement systick, hence we disable CORTEX_M_SYSTICK. Instead, use nRF SoC Series NRF_RTC1 for system clock interfaces. The kernel system clock interface is implemented using the low power real time counter NRF_RTC1. NRF_RTC0 is used by the BLE controller. In addition, cleanup nRF5x series defconfig to be consistent. Jira: ZEP-742 Jira: ZEP-1308 Jira: ZEP-1315 Change-id: I0f6cc1836fe0820a65f2cbb02cf5ae7e9eb92e1d Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no> Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
92c5f91413
commit
a100ada866
8 changed files with 150 additions and 10 deletions
|
@ -22,12 +22,23 @@ source "arch/arm/soc/nordic_nrf5/nrf52/Kconfig.defconfig.nrf52*"
|
|||
config SOC_SERIES
|
||||
default nrf52
|
||||
|
||||
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||
int
|
||||
default 32768
|
||||
|
||||
config SYS_POWER_MANAGEMENT
|
||||
default y
|
||||
|
||||
config SRAM_BASE_ADDRESS
|
||||
default 0x20000000
|
||||
|
||||
config FLASH_BASE_ADDRESS
|
||||
default 0x00000000
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 39
|
||||
|
||||
config NUM_IRQ_PRIO_BITS
|
||||
int
|
||||
default 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue