Commit Graph

19 Commits (73526603dc469e68b2ceb5a060e7cc92fe644760)

Author SHA1 Message Date
Lingkai Dong 58f83597b4 CMake: greentea: Migrate the NFC EEPROM test to CTest 2021-09-20 17:14:06 +01:00
Hari Limaye f95052cf6f CMake: Require TEST_SOURCES in greentea CMake file
Assumption that greentea test file is always named main.cpp is
incorrect. Updated mbed_greentea_add_test() macro to make TEST_SOURCES
parameter compulsory, which is used to specify greentea test
file(s). This allows tests to use C, or have a different name.
Therefore also updated all pre-existing greentea test CMake files to
explicity add main.cpp to TEST_SOURCES.
2021-06-29 13:33:42 +01:00
Sebastian Stockhammer 3bee4917bb Early test skip
Adding mbed-os subdirectories that are not required for a specific project to .mbedignore is a good way to reduce compilation time. Sometimes it happens that tests depend on ignored files, which causes the test-build to fail even though the corresponding feature/component
is not configured. The reason is that the conditional that skips the test is placed after the includes.
2021-06-14 10:46:14 +02:00
plan-do-break-fix 915b45af23 fix(docs): corrects various typos in project documentation 2021-04-23 23:31:11 -05:00
Rajkumar Kanagaraj 6824b14e48 CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
Hugues Kamba edab3140e2 CMake: Add support for NFC Greentea test
The NFC Greentea test can now be built with CMake
2021-01-12 10:57:27 +00:00
Hugues Kamba 794e32df74 CMake: Use relative paths to list source files and directories
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Hugues Kamba fa98689639 CMake: Componentize Mbed OS into multiple CMake targets (#13732)
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.

Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba 67a20580cf CMake: Fix build failure due to lora, cryptocell, and nfc dirs move 2020-11-06 17:25:19 +00:00
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Rajkumar Kanagaraj 8a15506d0d Refactor nfc and connectivity docs 2020-09-17 16:05:54 +01:00
Lingkai Dong e81e897e50 Move NFC Greentea tests into connectivity/nfc/tests/TESTS 2020-08-11 16:24:37 +01:00
Lingkai Dong c734221c31 Update NFC libraries paths 2020-08-11 16:12:47 +01:00
Lingkai Dong 8b151da71b Drop redundant nfc/ directory from source/ 2020-08-11 16:12:47 +01:00
Lingkai Dong bed5fd33e8 nfc: turn PN512 driver into a standalone driver library 2020-08-11 15:22:38 +01:00
Lingkai Dong 4b0cede96e Move acore and stack into connectivity/nfc/libraries 2020-08-11 15:22:16 +01:00
Lingkai Dong d9dc30f85a nfc: move headers into include 2020-08-11 15:22:07 +01:00
Lingkai Dong de3a54182a Move nfc into connectivity 2020-08-11 14:55:25 +01:00