-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate build process #1
Comments
There are slight kludges with how the MCUboot and Mock examples are built. The former is a direct result of dependency conflicts between mbed-tools, pyocd, and mbed-os. The latter is a result of issues with flashing the target binary to the connected board. The details of both are addressed below:
Also, please refer to the important update in issue #3 for more information on why both the old mbed-cli and the newer mbed-tools are used simultaneously. |
The base functionality of the script has been achieved, as indicated by the ticked requirement boxes. Though, the script as of 789a886 is quite long and inconsistent. The next phase involves a refactoring effort to make the cli tool easy to use and maintain. This would also involve adapting the script to work without a provided mount point - this is required for the CI workflow where the script is run without a connected board. |
As of 67d89c5, development work related to this issue has been completed. The FOTA tool, its usage, and additional notes will be documented through #2 in the documentation branch. The CI workflow has been setup in #4 and will be merged into master soon. Issue resolved ✅ |
Currently, to setup the two examples (MCUBoot and Mock) for demonstration, the build instructions in their associated documentation has to be followed step-by-step. This process can be quite cumbersome and isn't entirely ideal for testing.
Instead, this build process can be automated through a simple bash script that performs every step in the build instructions (listed under requirements) for the end-user. The program would take in as arguments the target board, example, and more (such as the mount point and toolchain). The demonstration step would be the only part that requires manual intervention.
Requirements:
Associated branch:
build-process-automation
The text was updated successfully, but these errors were encountered: