Merge pull request #15192 from ATmobica/master

Add option to disable WHD component for Cypress targets
pull/15196/head
Martin Kojtal 2021-12-15 11:59:33 +00:00 committed by GitHub
commit fe5e648147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 75 additions and 25 deletions

View File

@ -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)

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"