soc: nordic: common: vpr: Update custom idle
VPR (FLPR) on nRF54L series has fixed issue with sleeping so custom CPU idle function does not need to be used there. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
a28a338024
commit
1dfe3cba99
2 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
zephyr_include_directories(.)
|
||||
|
||||
zephyr_library_sources(soc_context.S soc_idle.c soc_init.c)
|
||||
zephyr_library_sources(soc_context.S soc_init.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ARCH_HAS_CUSTOM_CPU_IDLE soc_idle.c)
|
||||
|
||||
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")
|
||||
|
|
|
@ -16,8 +16,8 @@ config RISCV_CORE_NORDIC_VPR
|
|||
select RISCV_HAS_CLIC
|
||||
select RISCV_SOC_CONTEXT_SAVE
|
||||
select HAS_FLASH_LOAD_OFFSET
|
||||
select ARCH_HAS_CUSTOM_CPU_IDLE
|
||||
select ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
|
||||
select ARCH_HAS_CUSTOM_CPU_IDLE if !SOC_SERIES_NRF54LX
|
||||
select ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE if !SOC_SERIES_NRF54LX
|
||||
select INCLUDE_RESET_VECTOR
|
||||
imply XIP
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue