Hi all, we used newtmgr in application for image update and its management. When we upgrade apache-mynewt-core to the latest version 1.8.0 newtmgr.h and newtmgr.c is missing. What we should use instead or why newtmgr support was removed from the 1.8.0?
We need to upgrade apache-mynewt-core because 1.7.0 isn't compatible with the latest changes in the tinyusb repo (nrf52 USB API changed). Best regards Ondrej Pilat --
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # project.name: "my_project" project.repositories: - apache-mynewt-core - tinyusb # Use github's distribution mechanism for core ASF libraries. # This provides mirroring automatically for us. # repository.apache-mynewt-core: type: github vers: 1.8.0 user: apache repo: mynewt-core repository.tinyusb: type: github vers: c39dc03331683167be3c2a6ca59a4ee8e6e6620d-commit user: hathach repo: tinyusb
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # pkg.name: apps/blecent pkg.type: app pkg.description: Simple BLE central application. pkg.author: "Apache Mynewt <dev@mynewt.apache.org>" pkg.homepage: "http://mynewt.apache.org/" pkg.keywords: - usb pkg.deps: - "@apache-mynewt-core/kernel/os" - "@apache-mynewt-core/sys/console/stub" - "@apache-mynewt-nimble/nimble/controller" - "@apache-mynewt-nimble/nimble/host" - "@apache-mynewt-nimble/nimble/host/util" - "@apache-mynewt-nimble/nimble/host/services/gap" - "@apache-mynewt-nimble/nimble/host/services/gatt" - "@apache-mynewt-nimble/nimble/host/store/ram" - "@apache-mynewt-nimble/nimble/transport/ram" - "@apache-mynewt-core/fs/fs" # include the file operations interfaces - "@apache-mynewt-core/fs/nffs" # include the NFFS filesystem implementation - "@apache-mynewt-core/mgmt/smp" - "@apache-mynewt-core/mgmt/imgmgr" #- "@apache-mynewt-core/mgmt/newtmgr/transport/ble" - "@apache-mynewt-core/sys/log/full" - "@apache-mynewt-core/sys/stats/full" - "@apache-mynewt-core/sys/reboot" - "@apache-mynewt-core/sys/config" - "@apache-mynewt-core/sys/id" # - "@apache-mynewt-core/test/crash_test" # - "@apache-mynewt-core/test/runtest" - "@mcuboot/boot/bootutil" - "@apache-mynewt-core/hw/hal" - "@tinyusb/tinyusb" pkg.cflags: - "-I@tinyusb/src" pkg.lflags: - "-lm"
signature.asc
Description: OpenPGP digital signature