mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #15195 from ATmobica/cypress_cm0p_sleep_disable
Add option to disable CM0P_SLEEP component for Cypress targetspull/15200/head
commit
149c5b12fa
|
@ -46,14 +46,16 @@ target_sources(mbed-cm0p-secure
|
|||
psoc6cm0p/COMPONENT_CM0P_SECURE/psoc6_03_cm0p_secure.c
|
||||
)
|
||||
|
||||
add_library(mbed-cm0p-sleep INTERFACE)
|
||||
target_sources(mbed-cm0p-sleep
|
||||
INTERFACE
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_01_cm0p_sleep.c
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_02_cm0p_sleep.c
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_03_cm0p_sleep.c
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_04_cm0p_sleep.c
|
||||
)
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
add_library(mbed-cm0p-sleep INTERFACE)
|
||||
target_sources(mbed-cm0p-sleep
|
||||
INTERFACE
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_01_cm0p_sleep.c
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_02_cm0p_sleep.c
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_03_cm0p_sleep.c
|
||||
psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_04_cm0p_sleep.c
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(mbed-udb-sdio-p12 INTERFACE)
|
||||
target_include_directories(mbed-udb-sdio-p12
|
||||
|
|
|
@ -63,10 +63,16 @@ target_link_libraries(mbed-cy8ckit-062s2-43012
|
|||
mbed-cat1a
|
||||
mbed-cy8ckit-062s2-43012-cm4
|
||||
mbed-cy8ckit-062s2-43012-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8ckit-062s2-43012
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
if("WHD" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8ckit-062s2-43012
|
||||
INTERFACE
|
||||
|
|
|
@ -63,10 +63,16 @@ target_link_libraries(mbed-cy8ckit-062-ble
|
|||
mbed-cat1a
|
||||
mbed-cy8ckit-062-ble-cm4
|
||||
mbed-cy8ckit-062-ble-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8ckit-062-ble
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(mbed-cy8ckit-062-ble
|
||||
INTERFACE
|
||||
"CY8C6347BZI_BLD53"
|
||||
|
|
|
@ -63,11 +63,17 @@ target_link_libraries(mbed-cy8ckit-062-wifi-bt
|
|||
mbed-cat1a
|
||||
mbed-cy8ckit-062-wifi-bt-cm4
|
||||
mbed-cy8ckit-062-wifi-bt-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
mbed-udb-sdio-p12
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8ckit-062-wifi-bt
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
if("WHD" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8ckit-062-wifi-bt
|
||||
INTERFACE
|
||||
|
|
|
@ -64,11 +64,17 @@ target_link_libraries(mbed-cy8cproto-062s3-4343w
|
|||
mbed-cat1a
|
||||
mbed-cy8cproto-062s3-4343w-cm4
|
||||
mbed-cy8cproto-062s3-4343w-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
mbed-cy-external-wifi-fw
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8cproto-062s3-4343w
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
if("WHD" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8cproto-062s3-4343w
|
||||
INTERFACE
|
||||
|
|
|
@ -64,10 +64,16 @@ target_link_libraries(mbed-cy8cproto-062-4343w
|
|||
mbed-cat1a
|
||||
mbed-cy8cproto-062-4343w-cm4
|
||||
mbed-cy8cproto-062-4343w-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8cproto-062-4343w
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
if("WHD" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cy8cproto-062-4343w
|
||||
INTERFACE
|
||||
|
|
|
@ -65,11 +65,17 @@ target_link_libraries(mbed-cyw9p62s1-43012evb-01
|
|||
mbed-cat1a
|
||||
mbed-cyw9p62s1-43012evb-01-cm4
|
||||
mbed-cyw9p62s1-43012evb-01-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
mbed-udb-sdio-p12
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cyw9p62s1-43012evb-01
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
if("WHD" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cyw9p62s1-43012evb-01
|
||||
INTERFACE
|
||||
|
|
|
@ -64,11 +64,17 @@ target_link_libraries(mbed-cyw9p62s1-43438evb-01
|
|||
mbed-cat1a
|
||||
mbed-cyw9p62s1-43438evb-01-cm4
|
||||
mbed-cyw9p62s1-43438evb-01-bsp-design-modus
|
||||
mbed-cm0p-sleep
|
||||
mbed-psoc6
|
||||
mbed-udb-sdio-p2
|
||||
)
|
||||
|
||||
if("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cyw9p62s1-43438evb-01
|
||||
INTERFACE
|
||||
mbed-cm0p-sleep
|
||||
)
|
||||
endif()
|
||||
|
||||
if("WHD" IN_LIST MBED_TARGET_LABELS)
|
||||
target_link_libraries(mbed-cyw9p62s1-43438evb-01
|
||||
INTERFACE
|
||||
|
|
Loading…
Reference in New Issue