You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/06/28 16:55:21 UTC

[GitHub] [mynewt-newt] estutzenberger opened a new issue, #482: Issue with newt mfg create

estutzenberger opened a new issue, #482:
URL: https://github.com/apache/mynewt-newt/issues/482

   I am having a similar issue to #439, but slightly different behavior. When I try to run the `mfg create` command, I get the following error:
   ```$ newt mfg create ble2 1.0.0
   Error: failed to read manifest file: open <repo-path>/bin/targets/ble2/app/@mcuboot/apps/blehci/manifest.json: no such file or directory
   ```
   
   `newt` seems to be ignoring the location of the target nrf52_boot and it expects it to exist somewhere else. The manifest that should be found is at `<repopath>bin/targets/nrf52_boot/app/@mcuboot/boot/mynewt/manifest.json`.
   
   Defined targets:
   ```$ newt target show
   targets/ble2
       app=@apache-mynewt-nimble/apps/blehci
       bsp=@apache-mynewt-core/hw/bsp/ublox_bmd_345
       build_profile=optimized
   targets/nrf52_boot
       app=@mcuboot/boot/mynewt
       bsp=@apache-mynewt-core/hw/bsp/ublox_bmd_345
       build_profile=optimized
   ```
   
   mfg.yml file in `mfgs/ble2/`:
   ```
   mfg.bsp: "@apache-mynewt-core/hw/bsp/ublox_bmd_345"
   mfg.targets:
       - 
         name: "targets/nrf52_boot"
         area: FLASH_AREA_BOOTLOADER
         offset: 0x0
       - 
         name: "targets/ble2"
         area: FLASH_AREA_IMAGE_0
         offset: 0x0
   mfg.meta:
       area: FLASH_AREA_BOOTLOADER
   ```
   
   Please let me know if something is wrong with my setup.


-- 
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-unsubscribe@mynewt.apache.org.apache.org

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