Skip to content

Commit 4011e2e

Browse files
committed
Unit tests: Move platform target_h stubs
Stubs previously in UNITTESTS/target_h/ have the same names as regular Mbed OS headers, intending to override the latter directly. We move platform target_h stubs into platform/tests/UNITTESTS/doubles/platform/. Note: nvic_wrapper.h is normally implemented and used by Mbed targets as needed. But as unit tests do not have a real target, we treat it as a stub for the platform.
1 parent 7e3565b commit 4011e2e

19 files changed

+3
-0
lines changed

platform/tests/UNITTESTS/doubles/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
add_library(mbed-headers-platform INTERFACE)
55
target_include_directories(mbed-headers-platform
66
INTERFACE
7+
.
8+
platform
9+
platform/cxxsupport
710
${mbed-os_SOURCE_DIR}/platform/include
811
${mbed-os_SOURCE_DIR}/platform/include/platform
912
${mbed-os_SOURCE_DIR}/platform/randlib/include/mbed-client-randlib/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)