File tree Expand file tree Collapse file tree 8 files changed +59
-15
lines changed
targets/TARGET_Cypress/TARGET_PSOC6
TARGET_CY8CKIT_062S2_43012
TARGET_CY8CKIT_062_WIFI_BT
TARGET_CY8CPROTO_062S3_4343W
TARGET_CY8CPROTO_062_4343W
TARGET_CYW9P62S1_43012EVB_01
TARGET_CYW9P62S1_43438EVB_01 Expand file tree Collapse file tree 8 files changed +59
-15
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,16 @@ target_sources(mbed-cm0p-secure
46
46
psoc6cm0p/COMPONENT_CM0P_SECURE/psoc6_03_cm0p_secure.c
47
47
)
48
48
49
- add_library (mbed-cm0p-sleep INTERFACE )
50
- target_sources (mbed-cm0p-sleep
51
- INTERFACE
52
- psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_01_cm0p_sleep.c
53
- psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_02_cm0p_sleep.c
54
- psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_03_cm0p_sleep.c
55
- psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_04_cm0p_sleep.c
56
- )
49
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
50
+ add_library (mbed-cm0p-sleep INTERFACE )
51
+ target_sources (mbed-cm0p-sleep
52
+ INTERFACE
53
+ psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_01_cm0p_sleep.c
54
+ psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_02_cm0p_sleep.c
55
+ psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_03_cm0p_sleep.c
56
+ psoc6cm0p/COMPONENT_CM0P_SLEEP/psoc6_04_cm0p_sleep.c
57
+ )
58
+ endif ()
57
59
58
60
add_library (mbed-udb-sdio-p12 INTERFACE )
59
61
target_include_directories (mbed-udb-sdio-p12
Original file line number Diff line number Diff line change @@ -63,10 +63,16 @@ target_link_libraries(mbed-cy8ckit-062s2-43012
63
63
mbed-cat1a
64
64
mbed-cy8ckit-062s2-43012-cm4
65
65
mbed-cy8ckit-062s2-43012-bsp-design-modus
66
- mbed-cm0p-sleep
67
66
mbed-psoc6
68
67
)
69
68
69
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
70
+ target_link_libraries (mbed-cy8ckit-062s2-43012
71
+ INTERFACE
72
+ mbed-cm0p-sleep
73
+ )
74
+ endif ()
75
+
70
76
if ("WHD" IN_LIST MBED_TARGET_LABELS )
71
77
target_link_libraries (mbed-cy8ckit-062s2-43012
72
78
INTERFACE
Original file line number Diff line number Diff line change @@ -63,10 +63,16 @@ target_link_libraries(mbed-cy8ckit-062-ble
63
63
mbed-cat1a
64
64
mbed-cy8ckit-062-ble-cm4
65
65
mbed-cy8ckit-062-ble-bsp-design-modus
66
- mbed-cm0p-sleep
67
66
mbed-psoc6
68
67
)
69
68
69
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
70
+ target_link_libraries (mbed-cy8ckit-062-ble
71
+ INTERFACE
72
+ mbed-cm0p-sleep
73
+ )
74
+ endif ()
75
+
70
76
target_compile_definitions (mbed-cy8ckit-062-ble
71
77
INTERFACE
72
78
"CY8C6347BZI_BLD53"
Original file line number Diff line number Diff line change @@ -63,11 +63,17 @@ target_link_libraries(mbed-cy8ckit-062-wifi-bt
63
63
mbed-cat1a
64
64
mbed-cy8ckit-062-wifi-bt-cm4
65
65
mbed-cy8ckit-062-wifi-bt-bsp-design-modus
66
- mbed-cm0p-sleep
67
66
mbed-psoc6
68
67
mbed-udb-sdio-p12
69
68
)
70
69
70
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
71
+ target_link_libraries (mbed-cy8ckit-062-wifi-bt
72
+ INTERFACE
73
+ mbed-cm0p-sleep
74
+ )
75
+ endif ()
76
+
71
77
if ("WHD" IN_LIST MBED_TARGET_LABELS )
72
78
target_link_libraries (mbed-cy8ckit-062-wifi-bt
73
79
INTERFACE
Original file line number Diff line number Diff line change @@ -64,11 +64,17 @@ target_link_libraries(mbed-cy8cproto-062s3-4343w
64
64
mbed-cat1a
65
65
mbed-cy8cproto-062s3-4343w-cm4
66
66
mbed-cy8cproto-062s3-4343w-bsp-design-modus
67
- mbed-cm0p-sleep
68
67
mbed-psoc6
69
68
mbed-cy-external-wifi-fw
70
69
)
71
70
71
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
72
+ target_link_libraries (mbed-cy8cproto-062s3-4343w
73
+ INTERFACE
74
+ mbed-cm0p-sleep
75
+ )
76
+ endif ()
77
+
72
78
if ("WHD" IN_LIST MBED_TARGET_LABELS )
73
79
target_link_libraries (mbed-cy8cproto-062s3-4343w
74
80
INTERFACE
Original file line number Diff line number Diff line change @@ -64,10 +64,16 @@ target_link_libraries(mbed-cy8cproto-062-4343w
64
64
mbed-cat1a
65
65
mbed-cy8cproto-062-4343w-cm4
66
66
mbed-cy8cproto-062-4343w-bsp-design-modus
67
- mbed-cm0p-sleep
68
67
mbed-psoc6
69
68
)
70
69
70
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
71
+ target_link_libraries (mbed-cy8cproto-062-4343w
72
+ INTERFACE
73
+ mbed-cm0p-sleep
74
+ )
75
+ endif ()
76
+
71
77
if ("WHD" IN_LIST MBED_TARGET_LABELS )
72
78
target_link_libraries (mbed-cy8cproto-062-4343w
73
79
INTERFACE
Original file line number Diff line number Diff line change @@ -65,11 +65,17 @@ target_link_libraries(mbed-cyw9p62s1-43012evb-01
65
65
mbed-cat1a
66
66
mbed-cyw9p62s1-43012evb-01-cm4
67
67
mbed-cyw9p62s1-43012evb-01-bsp-design-modus
68
- mbed-cm0p-sleep
69
68
mbed-psoc6
70
69
mbed-udb-sdio-p12
71
70
)
72
71
72
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
73
+ target_link_libraries (mbed-cyw9p62s1-43012evb-01
74
+ INTERFACE
75
+ mbed-cm0p-sleep
76
+ )
77
+ endif ()
78
+
73
79
if ("WHD" IN_LIST MBED_TARGET_LABELS )
74
80
target_link_libraries (mbed-cyw9p62s1-43012evb-01
75
81
INTERFACE
Original file line number Diff line number Diff line change @@ -64,11 +64,17 @@ target_link_libraries(mbed-cyw9p62s1-43438evb-01
64
64
mbed-cat1a
65
65
mbed-cyw9p62s1-43438evb-01-cm4
66
66
mbed-cyw9p62s1-43438evb-01-bsp-design-modus
67
- mbed-cm0p-sleep
68
67
mbed-psoc6
69
68
mbed-udb-sdio-p2
70
69
)
71
70
71
+ if ("CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS )
72
+ target_link_libraries (mbed-cyw9p62s1-43438evb-01
73
+ INTERFACE
74
+ mbed-cm0p-sleep
75
+ )
76
+ endif ()
77
+
72
78
if ("WHD" IN_LIST MBED_TARGET_LABELS )
73
79
target_link_libraries (mbed-cyw9p62s1-43438evb-01
74
80
INTERFACE
You can’t perform that action at this time.
0 commit comments