File tree Expand file tree Collapse file tree 5 files changed +26
-8
lines changed Expand file tree Collapse file tree 5 files changed +26
-8
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ config USE_INFINEON_HPPASS_ANALOG
2424 help
2525 Enable Infineon HPPASS Analog PDL library support
2626
27+ config USE_INFINEON_AUTANALOG_SAR_ADC
28+ bool
29+ help
30+ Enable AutAnalog SAR ADC HAL module driver for Infineon devices
31+
2732config USE_INFINEON_DMA
2833 bool
2934 help
Original file line number Diff line number Diff line change 1515
1616#if defined(CONFIG_SOC_PSE846GPS2DBZC4A )
1717
18+ #ifndef PSE846GPS2DBZC4A
1819#define PSE846GPS2DBZC4A
20+ #endif /* PSE846GPS2DBZC4A */
1921
2022#if defined(CONFIG_CPU_CORTEX_M33 )
2123
2224#if defined(CONFIG_TRUSTED_EXECUTION_SECURE )
2325#define COMPONENT_SECURE_DEVICE
24- #endif /* CONFIG_TRUSTED_EXECUTION_SECURE */
26+ #endif /* CONFIG_TRUSTED_EXECUTION_SECURE* */
2527
28+ #ifndef COMPONENT_CM33
2629#define COMPONENT_CM33
30+ #endif /* COMPONENT_CM33 */
31+ #ifndef CORE_NAME_CM33_0
2732#define CORE_NAME_CM33_0
33+ #endif /* CORE_NAME_CM33_0 */
2834
2935#elif defined(CONFIG_CPU_CORTEX_M55 )
3036
37+ #ifndef COMPONENT_CM55
3138#define COMPONENT_CM55
39+ #endif /* COMPONENT_CM55 */
40+ #ifndef CORE_NAME_CM55_0
3241#define CORE_NAME_CM55_0
42+ #endif /* CORE_NAME_CM55_0 */
3343
34- #endif /* CONFIG_CPU_CORTEXT_M33*/
35- #endif /* CONFIG_SOC_PSE846GPS2DBZC4A*/
44+ #endif /* CONFIG_CPU_CORTEXT_M33* * /
45+ #endif /* CONFIG_SOC_PSE846GPS2DBZC4A* * /
3646
37- #endif /* INFINEON_KCONFIG_H__*/
47+ #endif /* INFINEON_KCONFIG_H__ */
Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_TIMER ${pdl_drv_dir}/source/cy_
3838zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_UART ${pdl_drv_dir} /source /cy_scb_uart.c)
3939zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_WDT ${pdl_drv_dir} /source /cy_wdt.c)
4040
41- zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_ADC ${pdl_drv_dir} /source /cy_systrimm.c)
42- zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_ADC ${pdl_drv_dir} /source /cy_rram.c)
41+ zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_AUTANALOG_SAR_ADC ${pdl_drv_dir} /source /cy_systrimm.c)
42+ zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_AUTANALOG_SAR_ADC ${pdl_drv_dir} /source /cy_rram.c)
4343
4444if (CONFIG_USE_INFINEON_TRNG)
4545 zephyr_library_sources(${pdl_drv_dir} /source /cy_crypto.c)
@@ -51,7 +51,7 @@ if(CONFIG_USE_INFINEON_UART OR CONFIG_USE_INFINEON_I2C OR CONFIG_USE_INFINEON_SP
5151 zephyr_library_sources(${pdl_drv_dir} /source /cy_scb_common.c)
5252endif ()
5353
54- if (CONFIG_USE_INFINEON_DMA OR CONFIG_USE_INFINEON_ADC OR CONFIG_USE_INFINEON_SMIF)
54+ if (CONFIG_USE_INFINEON_DMA OR CONFIG_USE_INFINEON_SMIF)
5555 zephyr_library_sources(${pdl_drv_dir} /source /cy_dma.c)
5656 zephyr_library_sources(${pdl_drv_dir} /source /cy_dmac.c)
5757endif ()
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ if(CONFIG_SOC_FAMILY_INFINEON_EDGE)
88
99 zephyr_include_directories(${zephyr_ifx_cycfg_dir} )
1010 zephyr_library_sources(${zephyr_ifx_cycfg_dir} /cycfg_qspi_memslot.c)
11+ zephyr_library_sources(${zephyr_ifx_cycfg_dir} /ifx_cycfg_init.c)
12+ zephyr_library_sources_ifdef(CONFIG_USE_INFINEON_AUTANALOG_SAR_ADC
13+ ${zephyr_ifx_cycfg_dir} /ifx_autanalog.c)
1114endif ()
1215
1316if (CONFIG_SOC_SERIES_PSC3)
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ manifest:
185185 groups :
186186 - hal
187187 - name : hal_infineon
188- revision : 58ce131beba8ad94e58837b7d0f5e31a7894790a
188+ revision : pull/33/head
189189 path : modules/hal/infineon
190190 groups :
191191 - hal
You can’t perform that action at this time.
0 commit comments