lupyuen / pinetime-rust-mynewt

PineTime Smart Watch firmware based on Rust and Apache Mynewt OS
https://lupyuen.github.io/articles/sneak-peek-of-pinetime-smart-watch-and-why-its-perfect-for-teaching-iot
Apache License 2.0
213 stars 54 forks source link

Send bootloader version to application #23

Closed endian-albin closed 4 years ago

endian-albin commented 4 years ago

It would be useful if the application could somehow get the version of the running bootloader. This would allow

lupyuen commented 4 years ago

Sorry I'm not planning to make any more changes to MCUBoot. Do have any suggestions how this could be done?

lupyuen commented 4 years ago

I'll close this issue for now since I won't be making any more updates to MCUBoot. Please submit a tested PR if we need to update MCUBoot.

endian-albin commented 4 years ago

That's OK. No, I'm afraid that I don't have any suggestions at the moment. By the way, I resolved the second point above (in Hypnos) by checking whether a watchdog is running and, if so, start feeding it.