Skip to content
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

Issue with newt mfg create #482

Open
estutzenberger opened this issue Jun 28, 2022 · 0 comments
Open

Issue with newt mfg create #482

estutzenberger opened this issue Jun 28, 2022 · 0 comments

Comments

@estutzenberger
Copy link

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:

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant