zephyr/modules/hal_infineon/CMakeLists.txt
Nazar Palamar 4fd732a738 drivers: wifi: added Infineon AIROC WIFI driver
Added initial version of Infineon AIROC WIFI  driver

Added initial version of binding file for Infineon AIROC WIFI
driver

Rename CONFIG_ABSTRACTION_RTOS_COMPONENT_ZEPHYR to
CONFIG_USE_INFINEON_ABSTRACTION_RTOS

Exclude cy8cproto_062_4343w platform from
drivers.modem.esp_at.build test

Change revision hal_infineon to
69c883d3bd9fac8a18dd8384624b8c472a68d06f

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-11-08 15:07:37 +00:00

52 lines
1.3 KiB
CMake

# Copyright (c) 2020 Linumiz
# Copyright (c) 2022 Cypress Semiconductor Corporation.
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_HAS_XMCLIB OR CONFIG_SOC_FAMILY_PSOC6 OR CONFIG_SOC_FAMILY_INFINEON_CAT1)
zephyr_library_named(modules_hal_infineon)
zephyr_library_compile_options(-Wno-array-bounds)
endif()
## Add PDL sources for XMC devices
if (CONFIG_HAS_XMCLIB)
add_subdirectory(${ZEPHYR_HAL_INFINEON_MODULE_DIR}/XMCLib XMCLib)
endif()
if (CONFIG_SOC_FAMILY_INFINEON_CAT1A OR CONFIG_SOC_FAMILY_PSOC6)
## Add core-lib sources for CAT1 devices
add_subdirectory(core-lib)
## Add mtb-pdl-cat1 sources for CAT1 devices
add_subdirectory(mtb-pdl-cat1)
## Add mtb-templates-cat1 sources for CAT1 devices
add_subdirectory(mtb-template-cat1)
endif()
if (CONFIG_SOC_FAMILY_INFINEON_CAT1A)
## Add mtb-hal-cat1 sources for CAT1 devices
add_subdirectory(mtb-hal-cat1)
## Add catcm0p sleep images for CM0 Devices
if(CONFIG_SOC_PSOC6_CM0P_IMAGE_SLEEP)
add_subdirectory(cat1cm0p)
endif()
## Add abstraction-rtos sources
add_subdirectory(abstraction-rtos)
endif()
## Add Wi-Fi assets for AIROC devices
if (CONFIG_WIFI_AIROC)
add_subdirectory(wifi-host-driver)
endif()
## Add BT assets for AIROC devices
if (CONFIG_BT_AIROC)
add_subdirectory(btstack-integration)
endif()
if (CONFIG_BT_PSOC6_BLESS)
add_subdirectory(bless)
endif()