modules: hal_nxp: Edit lists for mimxrt685s/hifi4
Exclude fsl_power.c from DSP domains, as it doesn't compile on those because of missing register definitions. Include fsl_dsp.c wherever it can be included, as it's required for initialisation of DSP domains. Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
This commit is contained in:
parent
e3edf462f0
commit
44ae59e589
1 changed files with 7 additions and 1 deletions
|
@ -40,13 +40,19 @@ set(CONFIG_MCUX_COMPONENT_device.system ON)
|
|||
set(CONFIG_MCUX_COMPONENT_device.CMSIS ON)
|
||||
set(CONFIG_MCUX_COMPONENT_driver.clock ON)
|
||||
|
||||
if((NOT CONFIG_SOC_MIMXRT798S_HIFI1) AND (NOT CONFIG_SOC_MIMXRT798S_HIFI4))
|
||||
# Exclude fsl_power.c for DSP domains
|
||||
if(CONFIG_ARM)
|
||||
set(CONFIG_MCUX_COMPONENT_driver.power ON)
|
||||
endif()
|
||||
|
||||
set(CONFIG_MCUX_COMPONENT_driver.reset ON)
|
||||
set(CONFIG_MCUX_COMPONENT_driver.memory ON)
|
||||
|
||||
# Include fsl_dsp.c for ARM domains (applicable to i.MX RTxxx devices)
|
||||
if(CONFIG_ARM)
|
||||
set(CONFIG_MCUX_COMPONENT_driver.dsp ON)
|
||||
endif()
|
||||
|
||||
# load device variables
|
||||
include(${mcux_device_folder}/variable.cmake)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue