Skip to content

Commit b66e558

Browse files
Merge branch 'master' of https://github.com/ARMmbed/mbed-os
2 parents 7fe6f96 + 2e96400 commit b66e558

26 files changed

+3151
-17
lines changed

UNITTESTS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Mbed CLI supports unit tests through the `mbed test --unittests` command. For in
8585

8686
A unit tests suite consists of one or more test cases. The test cases should cover all the functions in a class under test. All the external dependencies are stubbed including the other classes in the same module. Avoid stubbing header files. Finally, analyze code coverage to ensure all code is tested, and no dead code is found.
8787

88-
Unit tests are written using [Google Test v1.8.1](https://github.com/google/googletest/releases/tag/release-1.8.1).
88+
Unit tests are written using [Google Test v1.10.0](https://github.com/google/googletest/releases/tag/release-1.10.0).
8989

9090
Please see the [documentation for Google Test](https://github.com/google/googletest/blob/master/googletest/docs/primer.md) to learn how to write unit tests using its framework. See the [documentation for Google Mock](https://github.com/google/googletest/blob/master/googlemock/docs/Documentation.md) if you want to write and use C++ mock classes instead of stubs.
9191

UNITTESTS/googletest-CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project(googletest-download NONE)
55
include(ExternalProject)
66
ExternalProject_Add(googletest
77
GIT_REPOSITORY https://github.com/google/googletest.git
8-
GIT_TAG release-1.8.1
8+
GIT_TAG release-1.10.0
99
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
1010
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
1111
CONFIGURE_COMMAND ""

connectivity/drivers/nfc/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
if("PN512" IN_LIST MBED_TARGET_LABELS)
55
add_subdirectory(PN512)
66
endif()
7+
8+
if("M24SR" IN_LIST MBED_TARGET_LABELS)
9+
add_subdirectory(TARGET_M24SR)
10+
endif()
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2020 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
target_include_directories(mbed-nfc
5+
INTERFACE
6+
include
7+
include/nfc
8+
)
9+
10+
target_sources(mbed-nfc
11+
INTERFACE
12+
source/m24sr_driver.cpp
13+
)

0 commit comments

Comments
 (0)