- 
                Notifications
    
You must be signed in to change notification settings  - Fork 835
 
boot: espressif: integrate Espressif Port with Zephyr sysbuild system #2233
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
base: main
Are you sure you want to change the base?
boot: espressif: integrate Espressif Port with Zephyr sysbuild system #2233
Conversation
Signed-off-by: Almir Okato <[email protected]>
        
          
                boot/espressif/CMakeLists.txt
              
                Outdated
          
        
      | set(APP_NAME mcuboot_${MCUBOOT_TARGET}) | ||
| set(APP_EXECUTABLE ${APP_NAME}.elf) | ||
| set(EXPECTED_IDF_HAL_VERSION "5.1.4") | ||
| find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | 
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.
bit confused here, if sysbuild is set then this should already be from zephyr scope, why is this finding zephyr when it is running from zephyr?
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 is needed because the project is being included as an external Zephyr project from sysbuild (zephyrproject-rtos/zephyr#87710).
MCUboot Zephyr port does the same to include the Zephyr environment.
5676b80    to
    800faa0      
    Compare
  
    a75b378    to
    6f3a8d2      
    Compare
  
    6f3a8d2    to
    386a478      
    Compare
  
    | 
           @nordicjm I've changed what you pointed, could you please take a look again?  | 
    
Enable building MCUboot Espressif Port through Zephyr's sysbuild for Espressif chips. This commit creates boot/espressif/zephyr directory and files required by Zephyr's build system to build Espressif Port through sysbuild or as "out-of-tree" project. It also moves shared parts from the main espressif/CMakeLists.txt script. Signed-off-by: Lucas Tamborrino <[email protected]> Signed-off-by: Almir Okato <[email protected]>
386a478    to
    4409811      
    Compare
  
    | 
           hi @almir-okato, as you are using MCUboot EP   | 
    
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.
not sure whether linker issue would be solved here on in Zephyr PR, so I'm putting -1 here
| 
           This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.  | 
    
This PR enables building MCUboot Espressif Port through Zephyr's sysbuild for Espressif chips.
Note that these changes affects only the Espressif Port build, nothing was changed on Zephyr Port of MCUboot.