-
Notifications
You must be signed in to change notification settings - Fork 257
Added support for Olimex A20-LIME2-EMMC Board #328
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
Conversation
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.
This looks pretty good, just a couple of change requests.
adafruit_platformdetect/board.py
Outdated
@@ -947,6 +955,7 @@ def lazily_generate_conditions(): | |||
yield self.board.QTPY_U2IF | |||
yield self.board.QT2040_TRINKEY_U2IF | |||
yield self.board.KB2040_U2IF | |||
yield self.board.lime2 |
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.
This probably shouldn't be here. the os_environ boards require an environment variable to be detected, but it looks like you are looking in board value already for detection.
@@ -24,7 +24,7 @@ | |||
BEAGLELOGIC_STANDALONE = "BEAGLELOGIC_STANDALONE" | |||
OSD3358_DEV_BOARD = "OSD3358_DEV_BOARD" | |||
OSD3358_SM_RED = "OSD3358_SM_RED" | |||
|
|||
LIME2 = "LIME2" |
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.
Just to make it super clear, can you change this to something like "OLIMEX_LIME2"? Thanks
okay, hopefully I have done the changes correctly and fixed the reference everywhere. |
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.
Thank you. Looks great.
Closed a previous pull request. This is a new one.
I started from scratch and hopefully did everything correctly.
The code works properly for my application.