Commit Graph

12 Commits (d317dfccbbb54c5c0f6e5dbd0286d84eb336d223)

Author SHA1 Message Date
Vikas Katariya 8b70ae1d83 docs: Update to reflect Mbed CLI 2 changes
Due to the recent release of Mbed CLI 2, the command line options
have been renamed to ensure good usability and harmonize with the old
tools.

These are the following changes done:
* Minimum Cmake - 3.19.0 is required
* Minimum Mbed-tools - 4.0.0 is required
* mbed-tools cmd `init` to `new`
* mbed-tools cmd `build` to `compile`
* Removed whitespaces
2020-12-01 14:57:24 +00:00
Hugues Kamba e80fa8b715 CMake: Rename Mbed OS path variable for consistency
Rename the CMake variable expected from applications from MBED_ROOT to
MBED_PATH to be consistent with the naming used for the configuration file
(MBED_CONFIG_PATH) also expected from applications.
2020-11-06 17:25:23 +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
Rajkumar Kanagaraj 8016a53400 CMake: replace usage of the mbed_add_cmake_directory_if_labels() function (#13754)
Directories that start with special prefixes (TARGET_, FEATURE_, COMPONENT_)  are added to the build based on Mbed target configuration from targets.json instead of calling utility function mbed_add_cmake_directory_if_labels().
2020-11-06 17:25:21 +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 3b8aba1dce CMake: Add support for printf lib selection 2020-11-06 17:25:21 +00:00
Hugues Kamba 18345795cd CMake: Add support for C lib selection
Configure the selected toolchain for the selected C library
2020-11-06 17:25:21 +00:00
Martin Kojtal 4ec13d7bd5 CMake design: update to the latest version of feature-cmake branch (#13614)
We made changes like tools/cmake folder change, removed app.cmake.
2020-11-06 17:25:21 +00:00
Martin Kojtal f0072e7e56 CMake design doc: update to the latest mbed-tools updates
Refactor Mbed OS CMake scripts section - details about mbed-os/cmake scripts
Add mbed-tools - how mbed-tools built an application with CMake
2020-11-06 17:25:16 +00:00
Hugues Kamba 52dd933491 CMake: Add design document 2020-11-06 17:25:14 +00:00
Rajkumar Kanagaraj f79e2791bf Refactor storage docs 2020-09-17 16:07:22 +01:00
Senthil Ramakrishnan 196094defa Updated with review comments fixes 2018-08-08 15:40:51 -05:00