-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[board] Add configuration version for DISCO-F469NI #819
Conversation
0d06c65
to
5e41b53
Compare
5e41b53
to
35c02ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks! 👍🏽
581d47b
to
6ca4043
Compare
6ca4043
to
b18385c
Compare
@@ -14,6 +14,7 @@ | |||
def init(module): | |||
module.name = ":board:disco-f469ni" | |||
module.description = FileReader("module.md") | |||
# Revisions = [b-03, b-01] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the line is commented out?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The config is just a named (versioned) alias to a project.xml
file inside modm. It must be declared in repo.lb
so it can act as a repository option, therefore you need a mechanism to pass the revision to the repo.lb
without having a giant table there, which is currently done by regexing the board/*/module.lb
files. It's not great, but I don't know a better way. Ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe create a module.revisions
file and add one configuration name per line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fix it when it becomes a problem. I first would like to see more board revision examples to decide a better way.
This adds configuration versions for the DISCO-F469NI board
<extends>modm:disco-f469ni:b-03</extends>
to fix the different I2C address of the touch sensor.See #818 (comment).
Fixes #818.
cc @rleh