File tree Expand file tree Collapse file tree 8 files changed +20
-14
lines changed Expand file tree Collapse file tree 8 files changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ add_library(mbed-headers-base INTERFACE)
7
7
add_library (mbed-headers-platform INTERFACE )
8
8
add_library (mbed-headers-connectivity INTERFACE )
9
9
add_library (mbed-headers-storage INTERFACE )
10
- add_library (mbed-headers-hal INTERFACE )
11
10
add_library (mbed-headers-events INTERFACE )
12
11
13
12
target_link_libraries (mbed-headers
@@ -89,12 +88,6 @@ target_include_directories(mbed-headers-events
89
88
${mbed-os_SOURCE_DIR}/events/include/events/internal
90
89
)
91
90
92
- target_include_directories (mbed-headers-hal
93
- INTERFACE
94
- ${mbed-os_SOURCE_DIR}/hal
95
- ${mbed-os_SOURCE_DIR}/hal/include
96
- )
97
-
98
91
target_include_directories (mbed-headers
99
92
INTERFACE
100
93
${mbed-os_SOURCE_DIR}/features
@@ -109,7 +102,6 @@ target_include_directories(mbed-stubs-headers
109
102
110
103
add_subdirectory (connectivity )
111
104
add_subdirectory (events )
112
- add_subdirectory (hal )
113
105
add_subdirectory (platform )
114
106
add_subdirectory (storage )
115
107
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020-2021 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING )
5
+ add_subdirectory (tests/UNITTESTS )
6
+ endif ()
7
+
4
8
add_subdirectory (TARGET_FLASH_CMSIS_ALGO EXCLUDE_FROM_ALL )
5
9
6
10
add_subdirectory (usb )
Original file line number Diff line number Diff line change
1
+ UNITTESTS/*
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2021 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ add_subdirectory (doubles )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2021 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ add_library (mbed-headers-hal INTERFACE )
5
+
6
+ target_include_directories (mbed-headers-hal
7
+ INTERFACE
8
+ ${mbed-os_SOURCE_DIR}/hal
9
+ ${mbed-os_SOURCE_DIR}/hal/include
10
+ )
11
+
4
12
add_library (mbed-stubs-hal )
5
13
6
14
target_compile_definitions (mbed-stubs-hal
@@ -17,13 +25,10 @@ target_sources(mbed-stubs-hal
17
25
watchdog_api_stub.c
18
26
)
19
27
20
- target_link_options (mbed-stubs-hal
21
- PRIVATE
22
- --coverage
23
- )
24
-
25
28
target_link_libraries (mbed-stubs-hal
26
29
PRIVATE
27
- mbed-headers
30
+ mbed-headers-base
31
+ mbed-headers-hal
32
+ mbed-headers-platform
28
33
mbed-stubs-headers
29
34
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments