Skip to content

Commit 3695cef

Browse files
committed
CMake: Update readme for greentea test build procedure
- No longer need to create mbed_os.lib and soft link to mbed-os as new --mbed-os-path command-line removes such dependency and creates mbed_build.cmake when passing mbed-os path with that command line argument.
1 parent 76b2902 commit 3695cef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tools/cmake/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,9 @@ Install prerequisites suggested in the previous section and follow the below ste
9494
9595
For example:
9696
kvstore greentea test is dependent on `mbed-storage` and `mbed-storage-filesystemstore` library however you don't need to pass it via `MBED_TEST_LINK_LIBRARIES` as it is already target linked in greentea test CMakeLists.txt, at the same time some libraries and test cases are private to the application and if you want to use it with kvstore test then pass it with `MBED_TEST_LINK_LIBRARIES` command-line argument.
97-
* Run the following command for the test suite to be recognised as a valid Mbed application
98-
```
99-
touch mbed-os.lib && ln -s /path/to/mbed-os mbed-os
100-
```
10197
* Run the following command for the configuration CMake module to be generated
10298
```
103-
mbedtools configure -t <TOOLCHAIN> -m <MBED_TARGET>
99+
mbedtools configure -t <TOOLCHAIN> -m <MBED_TARGET> --mbed-os-path /path/to/mbed-os
104100
```
105101
* Build the test binary with the full profile
106102
```

0 commit comments

Comments
 (0)