Newer
Older
mbed-os / connectivity / FEATURE_BLE / source / cordio / CMakeLists.txt
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

if(MBED_ENABLE_OS_INTERNAL_TESTS)
    if(MBED_BUILD_GREENTEA_TESTS)
        add_subdirectory(TESTS)
    endif()
endif()

target_include_directories(mbed-ble-cordio
    PUBLIC
        .
        source
        stack_adaptation
)

target_sources(mbed-ble-cordio
    PRIVATE
        driver/CordioHCIDriver.cpp
        driver/CordioHCITransportDriver.cpp
        driver/H4TransportDriver.cpp

        source/BLEInstanceBaseImpl.cpp
        source/GattServerImpl.cpp
        source/PalAttClientImpl.cpp
        source/PalEventQueueImpl.cpp
        source/PalGapImpl.cpp
        source/PalGenericAccessServiceImpl.cpp
        source/PalPrivateAddressControllerImpl.cpp
        source/PalSecurityManagerImpl.cpp

        stack_adaptation/hci_tr.c
        stack_adaptation/hci_vs.c
        stack_adaptation/pal_mbed_os_adaptation.cpp
        stack_adaptation/wsf_cs.c
        stack_adaptation/wsf_mbed_os_adaptation.c
        stack_adaptation/wsf_os.c
        stack_adaptation/mbed_wsf_trace.c
)