Skip to content

Commit daef6e4

Browse files
jsbatchcfriedt
authored andcommitted
modules: hal_infineon: Remove board reference from module cmake
*Removes a reference to kit_pse84_eval from modules cmake file. These includes aren't board specific. *Removes reference to non-secure M33, which aren't currently supported. Signed-off-by: John Batch <[email protected]>
1 parent d67ab6d commit daef6e4

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

modules/hal_infineon/mtb-template-cat1/CMakeLists.txt

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,10 @@ if(CONFIG_SOC_FAMILY_INFINEON_EDGE)
4747
zephyr_include_directories(${edge_dir}/devices/include)
4848

4949
zephyr_library_sources(${edge_dir}/system_edge.c)
50-
if(CONFIG_BOARD_KIT_PSE84_EVAL_PSE846GPS2DBZC4A_M33)
51-
zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M33
52-
${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE/s_system_pse84.c)
53-
zephyr_include_directories(${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE)
54-
else()
55-
zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M33
56-
${edge_dir}/COMPONENT_CM33/COMPONENT_NON_SECURE_DEVICE/ns_system_pse84.c)
57-
endif()
58-
zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M55
59-
${edge_dir}/COMPONENT_CM55/COMPONENT_NON_SECURE_DEVICE/ns_system_pse84.c)
50+
zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M33
51+
${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE/s_system_pse84.c)
52+
zephyr_include_directories_ifdef(CONFIG_CPU_CORTEX_M33
53+
${edge_dir}/COMPONENT_CM33/COMPONENT_SECURE_DEVICE)
54+
zephyr_library_sources_ifdef(CONFIG_CPU_CORTEX_M55
55+
${edge_dir}/COMPONENT_CM55/COMPONENT_NON_SECURE_DEVICE/ns_system_pse84.c)
6056
endif()

0 commit comments

Comments
 (0)