soc: nxp_rw6xx: Update SYS_CLOCK_TICKS_PER_SEC for PM mode 3
Since the clock source when running in PM mode 3 is the slower 1KHx clock, we adjust the SYS_CLOCK_TICKS_PER_SEC value to get better accuracy. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
8fde2b75d7
commit
15d8fd2ad3
1 changed files with 8 additions and 0 deletions
|
@ -57,4 +57,12 @@ if WIFI
|
|||
orsource "Kconfig.defconfig.wifi"
|
||||
endif # WIFI
|
||||
|
||||
if PM
|
||||
# For PM mode 3 we change this config to get better accuracy
|
||||
# when using the iKHz RTC clock as system clock.
|
||||
config SYS_CLOCK_TICKS_PER_SEC
|
||||
default 1000
|
||||
depends on $(dt_nodelabel_enabled,standby)
|
||||
endif
|
||||
|
||||
endif # SOC_SERIES_RW6XX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue