InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.76k stars 944 forks source link

OTA #14

Closed danielkucera closed 4 years ago

danielkucera commented 4 years ago

I'd like to close and wear my watch. Would it be possible to implement some over-the-air update mechanism? To split it to a bootloader and main app?

JF002 commented 4 years ago

I plan on implementing such kind of feature, yes. However, it won't be an easy task. As you said, a bootloader will be necessary. It would be a good idea to work with the community so that all Pinetime project use the same bootloader.

Any help is welcome!

danielkucera commented 4 years ago

It seems to be quite easy: https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader

JF002 commented 4 years ago

Thanks for the link! On the chat, some people seem interested in https://mcuboot.com/

danielkucera commented 4 years ago

I'll hopefully test this today in the evening. What chat do you mean @JF002 ?

JF002 commented 4 years ago

There are several chat rooms (Matrix, Discord, IRC, Telegram) that are linked together by bots. I'm on the Matrix one (https://riot.im/app/#/room/#pinetime64:matrix.org), but you can join from another IM app if you want. See the menu "Forum and Chat" on pine64.org.