25 lines
579 B
CMake
25 lines
579 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_include_directories(${ZEPHYR_BASE}/drivers)
|
|
zephyr_sources(
|
|
soc.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_PM
|
|
power.c
|
|
)
|
|
|
|
if(CONFIG_BT_STM32WBA)
|
|
zephyr_include_directories(hci_if)
|
|
|
|
zephyr_sources(hci_if/linklayer_plat_adapt.c)
|
|
zephyr_sources(hci_if/bleplat.c)
|
|
zephyr_sources(hci_if/host_stack_if.c)
|
|
zephyr_sources(hci_if/ll_sys_if_adapt.c)
|
|
zephyr_sources(hci_if/stm32_timer.c)
|
|
endif()
|
|
|
|
zephyr_include_directories(.)
|
|
|
|
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
|