vikrant-proxy opened a new issue #439:
URL: https://github.com/apache/mynewt-newt/issues/439


   I'm trying to use the mfg command with the following `newt`, and it's 
running into errors -
   ```
   $ newt version
   Apache Newt 1.10.0-dev / fd9df1e-dirty / 2021-05-17_16:21
   ```
   
   I pulled a simple test app with the following details -
   
   ```
   targets/nrf52_boot
     app=@mcuboot/boot/mynewt
     bsp=@apache-mynewt-core/hw/bsp/nordic_pca10040
     build_profile=optimized
   targets/nrf52_blinky
     app=apps/blinky
     bsp=@apache-mynewt-core/hw/bsp/nordic_pca10040
     build_profile=debug
   ```
   
   
   ```
   First complete build step for both targets
   ```
   
   ```
   $ newt mfg create blinky 1
   Error: failed to read manifest file: open 
<path-to-repo>/bin/targets/nrf52_boot/app/boot/mynewt/manifest.json: no such 
file or directory
   ```
   
   
   
   
   
   My `mfg.yml` looks like this -
   
   ```
      mfg.targets:
          -
              name: 'targets/nrf52_boot'
              area: FLASH_AREA_BOOTLOADER
              offset: 0
   
          -
              name: 'targets/nrf52_blinky'
              area: FLASH_AREA_IMAGE_0
              offset: 0
   
      mfg.meta:
          area: FLASH_AREA_IMAGE_SCRATCH
          offset: 0
   ```
   
   I believe this is because the bootloader binaries have now moved into 
`@mcuboot` folder, and `newt` cannot find them anymore. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to