Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Supporting other firmware versions #15

Open
japaric opened this issue May 17, 2017 · 1 comment
Open

Supporting other firmware versions #15

japaric opened this issue May 17, 2017 · 1 comment

Comments

@japaric
Copy link
Contributor

japaric commented May 17, 2017

Currently the template links Rust applications to the v0.6.2 of the firmware. It suppose it won't be a problem if you flash these applications on devices running v0.6.x of the firmware. The question is how we should go about supporting different minor versions of the firmware.

The first idea that pops to mind is having a Cargo feature that lets you select which minor firmware version is being used but that doesn't seem too good because Cargo features are binary (on/off) so you could enable the "06x" feature and the "07x" feature at the same time which doesn't make sense.

Another possibility is maintaining one branch of this repo per minor firmware version. That involves more maintenance work as patches would have to be backported to other branches.

Finally, we could support only the latest version. This reduces maintenance work at the expense of excluding users that are using older firmware versions.

@dbrgn
Copy link
Contributor

dbrgn commented May 18, 2017

It suppose it won't be a problem if you flash these applications on devices running v0.6.x of the firmware

Can we find out whether that's the case?

If it is, we could support the latest two versions in separate branches in the HAL repository. Most development would probably be specific to the latest version, so backporting the other commits should not be that hard for 1 branch.

This repository on the other hand is a template, I wouldn't try to support any older versions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants