mirror of https://github.com/ARMmbed/mbed-os.git
Add <"WHD" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and wifi driver cmake files
parent
810662bd77
commit
78a7859fa8
|
@ -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)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue