Skip to content

Commit afc276d

Browse files
committed
drivers: dma: siwx91x: Sort CMakeLists.txt items
sort library sources and compile time definitions in wiseconnect CMakeLists.txt Signed-off-by: Sai Santhosh Malae <[email protected]>
1 parent 86eaede commit afc276d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

modules/hal_silabs/wiseconnect/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,29 +77,29 @@ zephyr_library_sources(
7777
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/core/chip/src/iPMU_prog/iPMU_dotc/rsi_system_config_917.c
7878
)
7979

80-
zephyr_library_sources_ifdef(CONFIG_ENTROPY_SILABS_SIWX91X
81-
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/rsi_rng.c
82-
)
83-
8480
zephyr_library_sources_ifdef(CONFIG_ADC_SILABS_SIWX91X
8581
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/aux_reference_volt_config.c
8682
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/systemlevel/src/rsi_bod.c
8783
)
8884

89-
zephyr_compile_definitions_ifdef(CONFIG_DMA_SILABS_SIWX91X
90-
UDMA_ROMDRIVER_PRESENT
91-
)
92-
9385
zephyr_compile_definitions_ifdef(CONFIG_ADC_SILABS_SIWX91X
9486
ADC_CONTEXT_USES_KERNEL_TIMER
9587
)
9688

89+
zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_SIWX91X
90+
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/rom_driver/src/rsi_rom_table_si91x.c
91+
)
92+
93+
zephyr_compile_definitions_ifdef(CONFIG_DMA_SILABS_SIWX91X
94+
UDMA_ROMDRIVER_PRESENT
95+
)
96+
9797
zephyr_compile_definitions_ifdef(CONFIG_DMA_SILABS_SIWX91X_GPDMA
9898
GPDMA_ROMDRIVER_PRESENT
9999
)
100100

101-
zephyr_library_sources_ifdef(CONFIG_DMA_SILABS_SIWX91X
102-
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/rom_driver/src/rsi_rom_table_si91x.c
101+
zephyr_library_sources_ifdef(CONFIG_ENTROPY_SILABS_SIWX91X
102+
${WISECONNECT_DIR}/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/src/rsi_rng.c
103103
)
104104

105105
zephyr_library_sources_ifdef(CONFIG_MEMC_SILABS_SIWX91X_QSPI

0 commit comments

Comments
 (0)