Closed microbuilder closed 8 years ago
The following commands works fine on bleuart but won't run on throughput:
bleuart
throughput
$ newtmgr -c serial1 image list Images: 0 : 0.2.2
The pkg.yml dependencies look similar ... but what is required for newtmgr to work properly here? The only difference seems to be:
- "@apache-mynewt-core/libs/imgmgr" - "@apache-mynewt-core/fs/nffs"
I added those but the command still fails with throughput. We must be missing an init call in the throughput example?
pkg.deps: - "libs/adautil" - "libs/fifo" - "libs/bleuart" - "libs/bledis" #- "@apache-mynewt-core/libs/bleuart" - "@apache-mynewt-core/libs/os" - "@apache-mynewt-core/libs/baselibc" - "@apache-mynewt-core/libs/console/full" - "@apache-mynewt-core/libs/shell" - "@apache-mynewt-core/libs/util" - "@apache-mynewt-core/libs/newtmgr" - "@apache-mynewt-core/libs/newtmgr/transport/ble" - "@apache-mynewt-core/sys/log" - "@apache-mynewt-core/net/nimble/controller" - "@apache-mynewt-core/net/nimble/host" - "@apache-mynewt-core/net/nimble/host/services/gap" - "@apache-mynewt-core/net/nimble/host/services/gatt" - "@apache-mynewt-core/net/nimble/host/store/ram" - "@apache-mynewt-core/net/nimble/transport/ram" - "@apache-mynewt-core/libs/crash_test"
pkg.deps: - "libs/adautil" - "libs/fifo" - "libs/bleuart" - "libs/bledis" - "@apache-mynewt-core/libs/os" - "@apache-mynewt-core/libs/baselibc" - "@apache-mynewt-core/libs/console/full" - "@apache-mynewt-core/libs/shell" - "@apache-mynewt-core/libs/util" - "@apache-mynewt-core/libs/newtmgr" - "@apache-mynewt-core/libs/newtmgr/transport/ble" - "@apache-mynewt-core/libs/imgmgr" - "@apache-mynewt-core/fs/nffs" - "@apache-mynewt-core/sys/log" - "@apache-mynewt-core/net/nimble/controller" - "@apache-mynewt-core/net/nimble/host" - "@apache-mynewt-core/net/nimble/host/services/gap" - "@apache-mynewt-core/net/nimble/host/services/gatt" - "@apache-mynewt-core/net/nimble/host/store/ram" - "@apache-mynewt-core/net/nimble/transport/ram"
imgmgr_module_init(); was missing from the throughput example. The command works fine with the function added in.
imgmgr_module_init();
I removed the line
The following commands works fine on
bleuart
but won't run onthroughput
:The pkg.yml dependencies look similar ... but what is required for newtmgr to work properly here? The only difference seems to be:
I added those but the command still fails with throughput. We must be missing an init call in the throughput example?
Throughput Dependencies:
BLEUART Dependencies: