-
Notifications
You must be signed in to change notification settings - Fork 842
zephyr: refactor zephyr port #1411
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
Closed
gregshue
wants to merge
6
commits into
mcu-tools:main
from
gregshue:feature/1410_refactor_zephyr_port
Closed
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
289eccf
boot: zephyr: Add Zephyr manifest file (west.yml)
legrand-gregshue a215bbc
boot: zephyr: module Kconfig beneath zephyr/
legrand-gregshue 765ca5c
boot: zephyr: Force module name to `mcuboot`
legrand-gregshue 79cebf4
boot: zephyr: boot/zephyr/include/ to zephyr/include/
legrand-gregshue 3ad1049
boot: zephyr: boot/zephyr/CMakeLists.txt under zephyr/subsys/
legrand-gregshue ac37fb2
boot: zephyr: Move zephyr sources to `zephyr/subsys/mcuboot_svc`
legrand-gregshue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Copyright (c) 2022 Legrand North America, LLC. | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # The west manifest file for Zephyr ecosystem development. | ||
| # | ||
| # Usage: | ||
| # west init -m https://github.com/mcu-tools/mcuboot | ||
| # west update | ||
|
|
||
| manifest: | ||
| version: "0.12" | ||
|
|
||
| remotes: | ||
| - name: zephyrproject | ||
| url-base: https://github.com/zephyrproject-rtos | ||
| - name: mcu-tools | ||
| url-base: https://github.com/mcu-tools | ||
|
|
||
| defaults: | ||
| remote: mcu-tools | ||
|
|
||
| projects: | ||
| - name: zephyr | ||
| revision: main | ||
| remote: zephyrproject | ||
| import: | ||
| name-blocklist: | ||
| - mcuboot | ||
|
|
||
| self: | ||
| path: mcuboot | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why it is done?
In zephyr project the MCUboot is just one of submodule. So zephyr-rtos manifest points given MCUboot version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is to resolve MCUBoot issue #1410.
The problem is the Zephyr port of MCUBoot does not allow me to configure and build an MCUBoot image from my proprietary workspace application module. This is different behavior from most(?) other Zephyr (sub)modules and prevents me from keeping all of my project configurations and builds in one repository. This refactoring aligns the Zephyr port with the Zephyr configuration and build system modularity and enables standard Zephyr module behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is solved by zephyrproject-rtos/zephyr#51166
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tejlmand I tried your suggestion but it does not solve my scenario. It missed picking up boards/ configs within APPLICATION_CONFIG_DIR.