Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to disable WHD component for Cypress targets #15192

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion connectivity/drivers/wifi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ add_subdirectory(TARGET_WICED EXCLUDE_FROM_ALL)

add_subdirectory(TARGET_STM EXCLUDE_FROM_ALL)

add_subdirectory(COMPONENT_WHD EXCLUDE_FROM_ALL)
if("WHD" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(COMPONENT_WHD EXCLUDE_FROM_ALL)
endif()

add_subdirectory(esp8266-driver)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,17 @@ target_link_libraries(mbed-cy8ckit064b0s2-4343w
mbed-cy8ckit064b0s2-4343w-bsp-design-modus
mbed-cm0p-secure
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8ckit-064b0s2-4343w-whd
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cy8ckit064b0s2-4343w
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8ckit-064b0s2-4343w-whd
)
endif()

target_compile_definitions(mbed-cy8ckit064b0s2-4343w
INTERFACE
"CYB0644ABZI_S2D44"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,17 @@ target_link_libraries(mbed-cy8ckit-062s2-43012
mbed-cy8ckit-062s2-43012-bsp-design-modus
mbed-cm0p-sleep
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-43012
mbed-cy8ckit-062s2-43012-whd
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cy8ckit-062s2-43012
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-43012
mbed-cy8ckit-062s2-43012-whd
)
endif()

target_compile_definitions(mbed-cy8ckit-062s2-43012
INTERFACE
"CY8C624ABZI_D44"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,18 @@ target_link_libraries(mbed-cy8ckit-062-wifi-bt
mbed-cy8ckit-062-wifi-bt-bsp-design-modus
mbed-cm0p-sleep
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8ckit-062-wifi-bt-whd
mbed-udb-sdio-p12
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cy8ckit-062-wifi-bt
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8ckit-062-wifi-bt-whd
)
endif()

target_compile_definitions(mbed-cy8ckit-062-wifi-bt
INTERFACE
"CY8C6247BZI_D54"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,18 @@ target_link_libraries(mbed-cy8cproto-062s3-4343w
mbed-cy8cproto-062s3-4343w-bsp-design-modus
mbed-cm0p-sleep
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8cproto-062s3-4343w-whd
mbed-cy-external-wifi-fw
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cy8cproto-062s3-4343w
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8cproto-062s3-4343w-whd
)
endif()

target_compile_definitions(mbed-cy8cproto-062s3-4343w
INTERFACE
"CY8C6245LQI_S3D72"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,17 @@ target_link_libraries(mbed-cy8cproto-062-4343w
mbed-cy8cproto-062-4343w-bsp-design-modus
mbed-cm0p-sleep
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8cproto-062-4343w-whd
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cy8cproto-062-4343w
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cy8cproto-062-4343w-whd
)
endif()

target_compile_definitions(mbed-cy8cproto-062-4343w
INTERFACE
"CY8C624ABZI_D44"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,17 @@ target_link_libraries(mbed-cytfm-064b0s2-4343w
mbed-cytfm-064b0s2-4343w-cm4
mbed-cytfm-064b0s2-4343w-bsp-design-modus
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cytfm-064b0s2-4343w-whd
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cytfm-064b0s2-4343w
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-4343w
mbed-cytfm-064b0s2-4343w-whd
)
endif()

target_compile_definitions(mbed-cytfm-064b0s2-4343w
INTERFACE
"CYB0644ABZI_S2D44"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,18 @@ target_link_libraries(mbed-cyw9p62s1-43012evb-01
mbed-cyw9p62s1-43012evb-01-bsp-design-modus
mbed-cm0p-sleep
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-43012
mbed-cyw9p62s1-43012evb-01-whd
mbed-udb-sdio-p12
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cyw9p62s1-43012evb-01
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-43012
mbed-cyw9p62s1-43012evb-01-whd
)
endif()

target_compile_definitions(mbed-cyw9p62s1-43012evb-01
INTERFACE
"CY8C6247FDI_D52"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,18 @@ target_link_libraries(mbed-cyw9p62s1-43438evb-01
mbed-cyw9p62s1-43438evb-01-bsp-design-modus
mbed-cm0p-sleep
mbed-psoc6
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-43438
mbed-cyw9p62s1-43438evb-01-whd
mbed-udb-sdio-p2
)

if("WHD" IN_LIST MBED_TARGET_LABELS)
target_link_libraries(mbed-cyw9p62s1-43438evb-01
INTERFACE
mbed-cy-psoc6-whd
mbed-cy-psoc6-whd-43438
mbed-cyw9p62s1-43438evb-01-whd
)
endif()

target_compile_definitions(mbed-cyw9p62s1-43438evb-01
INTERFACE
"CY8C6247BZI_D54"
Expand Down