Move the CMakeLists.txt and Kconfig files from the hal_silabs tree under modules/hal_silabs in the main tree. This also includes all Zephyr shim code from the hal_silabs tree. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
14 lines
534 B
CMake
14 lines
534 B
CMake
set(SI32_HAL_DIR ${ZEPHYR_HAL_SILABS_MODULE_DIR}/si32/si32Hal)
|
|
|
|
zephyr_include_directories(
|
|
${SI32_HAL_DIR}/sim3u1xx
|
|
${SI32_HAL_DIR}/SI32_Modules
|
|
)
|
|
|
|
if(CONFIG_SOC_SERIES_SIM3U)
|
|
zephyr_library_sources(${SI32_HAL_DIR}/sim3u1xx/SI32_PBCFG_A_Type.c)
|
|
zephyr_library_sources_ifdef(CONFIG_DMA ${SI32_HAL_DIR}/sim3u1xx/SI32_DMAXBAR_A_Type.c)
|
|
zephyr_library_sources_ifdef(CONFIG_DMA ${SI32_HAL_DIR}/SI32_Modules/SI32_DMADESC_A_Type.c)
|
|
zephyr_library_sources_ifdef(CONFIG_SPI ${SI32_HAL_DIR}/SI32_Modules/SI32_SPI_A_Type.c)
|
|
endif()
|