You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the MCUBoot example requires the use of mbed-cli to build the bootloader and primary application. However, mbed-tools is the new, future command-line tool for MbedOS. The Mock example has already been updated to use this.
Note: mbed-tools is also known as Mbed CLI 2. This new tool makes use of "Ninja as a build system, and CMake to generate the build environment and manage the build process in a compiler-independent manner." More information can be found here.
A CMakeLists.txt file "contains a set of directives and instructions describing the project's source files and targets (executable, library, or both)" as mentioned here.
The aim is to update the MCUBoot example with CMakeLists.txt files for use with mbed-tools. Please refer to CMake file in the Mock example as well as other BLE examples as a point of reference; the requirements and relevant resources are listed below.
Requirements:
Setup a CMakeLists.txt for the bootloader
Setup a CMakeLists.txt file for the primary application
Run the example and verify that it builds without errors
Development work associated with this issue has been currently put on hold until the 17th of August, 2021. The reason for this decision is because the MCUboot port for Mbed OS was built with the old cli in mind; as a result, writing a CMakeLists.txt isn't entirely trivial without understanding how the port actually works. This would involve discussions with the original contributors (AGlassOfMilk and LDong-ARM) among others.
Note: This issue would see modifications to the MCUboot Mbed OS port and would require a pull request to the MCUBoot repository to add support for CMake.
For the time-being, #1 would use both cli tools and #2 would contain a note referencing this issue and further details on why it isn't trivial to solve.
Currently, the MCUBoot example requires the use of
mbed-cli
to build the bootloader and primary application. However,mbed-tools
is the new, future command-line tool for MbedOS. The Mock example has already been updated to use this.The aim is to update the MCUBoot example with
CMakeLists.txt
files for use withmbed-tools
. Please refer to CMake file in the Mock example as well as other BLE examples as a point of reference; the requirements and relevant resources are listed below.Requirements:
Resources:
Associated branch:
cmake-support
The text was updated successfully, but these errors were encountered: