Is there any way we can override the specific configuration of a board on an undetected platform #805
-
This is very convenient for testing and to monkeypatch some configs on the fly. My goal is to make the Blinka library work on my Orange Pi Zero 2W which has an Alwinner H618 which is very similar to H616 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes. I had added this to PlatformDetect a while back and while reviewing adafruit/Adafruit_Python_PlatformDetect#347 I had remembered it. If you set the BLINKA_FORCE_CHIP and BLINKA_FORCE_BOARD environment variables to the board constants, you can have it use those boards. See the PR I linked for more details. |
Beta Was this translation helpful? Give feedback.
Yes. I had added this to PlatformDetect a while back and while reviewing adafruit/Adafruit_Python_PlatformDetect#347 I had remembered it. If you set the BLINKA_FORCE_CHIP and BLINKA_FORCE_BOARD environment variables to the board constants, you can have it use those boards. See the PR I linked for more details.