Antonio,

Thanks for this proposition, we will keep it as a backup solution.

William

On Thu, Jun 4, 2020 at 11:11 AM Antonio Galea <antonio.ga...@gmail.com>
wrote:

> On Thu, Jun 4, 2020 at 9:37 AM William Martin
> <william.mar...@power-lan.com> wrote:
> >
> > Does someone have already done something similar, or can help me on the
> openocd part ?
>
> Maybe not precisely what you are looking for, but I've tackled the
> same problem under a different angle.
>
>    https://github.com/ant9000/lora-leaf
>
> At start of main.c you find persist_loramac_state() and
> restore_loramac_state() that leverage SAML21 flash.
>
> My dev board is a samr34_xpro; booting with BTN_0 pressed, my firmware
> enters "config mode", which is just a RIOT shell with a few commands
> (see configuration.c).
>
> Code lacks documentation and is not particularly elegant, but
> hopefully it is readable enough to be helpful.
>
> Antonio
> _______________________________________________
> users mailing list
> users@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>


-- 
William MARTIN
<http://www.power-lan.com/>
15 rue de la Noé des Yonnières
44850 Saint-Mars-du-Désert

Email : william.mar...@power-lan.com
Tel : 02 85 52 12 74 - 06 49 23 59 68
Fax : 02 85 52 38 06
_______________________________________________
users mailing list
users@riot-os.org
https://lists.riot-os.org/mailman/listinfo/users

Reply via email to