Movesense 升级到固件版本 1.2.0 - 缺少说明

Movesense upgrading to Firmware version 1.2.0 -instructions missing

根据我在上一个问题中报告的 Movesense 采样率问题,我正在尝试将设备固件更新到新版本“1.2.0”,看是否可以解决问题。我的系统是 Windows 64 位。 似乎缺少有关如何升级到此版本的说明,或者我可能没有找到它们: 我按照以下方式进行了安装:

"Automated setup on all operating systems using Vagrant"

它们是:

  1. 为您的平台获取 Vagrant
  2. 获取 Virtualbox(运行 和 管理虚拟机)
  3. 克隆此存储库并 运行 vagrant up - 这将 拉取 ubuntu 镜像并设置必要的环境 开发 Movesense 软件。这大约需要 3 分钟。
  4. 一旦框起来,运行目录中的vagrant ssh。你会被带走 到完全设置的环境并准备开始开发。一种 接下来的好地方是下面的示例应用程序构建流程

    然后我按照指示做了:

    忍者 dfupkg

我收到以下错误消息:

ninja: error: loading 'build.ninja': No such file or directory

我也在"Manual setup on Windows"下手动安装了。 在克隆的存储库中,我也尝试过 忍者 dfupkg 收到类似的错误信息。

我想在打包之前还需要做一些构建工作。但是我没有在说明中找到任何地方如何升级到新版本“1.2.0”。

你能帮忙吗?

顺便说一句,为什么不在存储库中提供所需的 .zip 文件:"movesense_dfu.zip";从而摆脱那些只想要固件更新的人花费数小时并安装许多不需要的工具的需要?

您似乎跳过了 "Example application build flow" 段落中的一些步骤。

来自 Movesense 说明:

Example application build flow
    > git clone git@bitbucket.org:suunto/movesense-device-lib.git
    > cd movesense-device-lib
    > mkdir myBuild
    > cd myBuild

To build a debug version of a selected sample application (hello_world app in this example):
    > cmake -G Ninja -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_TOOLCHAIN_FILE=../MovesenseCoreLib/toolchain/gcc-nrf52.cmake ../samples/hello_world_app
    > ninja

To build a release version:
    > cmake -G Ninja -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_TOOLCHAIN_FILE=../MovesenseCoreLib/toolchain/gcc-nrf52.cmake -DCMAKE_BUILD_TYPE=Release ../samples/hello_world_app  
    > ninja

完成以上步骤后你就可以做ninja dfupkg了。

cmake 正在生成忍者 build.ninja 文件。并且缺少编译示例的这一步。请阅读 Readme.md 文件。

Can you assist? By the way, why not supply the required .zip file: "movesense_dfu.zip" in the repository; and thus get rid of the need to spend hours and install many unrequired tools for those who only want a firmware update?

我不明白。你检查过回购了吗?

您总能在这里找到所有现成的样品: https://bitbucket.org/suunto/movesense-device-lib/src/ffa04199dd4af314324b43b3ed927dba0559e9be/samples/bin/?at=master