Skip to content

soc/da1469x: Fix CONFIG_SYS_CLOCK_*_PER_SEC defines #73336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions soc/renesas/smartbond/da1469x/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ config CORTEX_M_SYSTICK
config NUM_IRQS
default 40

DT_LPCLK_PATH := $(dt_nodelabel_path,lp_clk)
DT_CLOCK_SRC_PATH := $(dt_node_ph_prop_path,$(DT_LPCLK_PATH),clock-src)

config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) if CORTEX_M_SYSTICK
default 32768 if SMARTBOND_TIMER
default $(dt_node_int_prop_int,$(DT_CLOCK_SRC_PATH),clock-frequency) if SMARTBOND_TIMER

config SYS_CLOCK_TICKS_PER_SEC
default 32768 if SMARTBOND_TIMER
default $(dt_node_int_prop_int,$(DT_CLOCK_SRC_PATH),clock-frequency) if SMARTBOND_TIMER

config SRAM_VECTOR_TABLE
default y
Expand Down
Loading