Repository navigation
fix: STATUS no longer starts an I2C bus on the Wireless Bridge's radio and PSRAM pins - #146
Merged
Merged
Conversation
…o and PSRAM pins The first STATUS after boot scans the general I2C bus. Boards that name no I2C pins inherited Config.h's OLED default of 18/17, which on the Wireless Bridge is the LoRa chip select and the D0WDQ6's PSRAM clock: one STATUS put the node into a restart loop it left with no PSRAM. The Wireless Paper inherited the same pair. The panel pair now has no default (-1, no bus), mainBus() refuses to start a bus on -1 instead of letting the core fall back to the variant's 21/22, and busFor() reports whether begin() succeeded. The build refuses a general pair on a radio pin or, on classic ESP32 with PSRAM, the sdkconfig's PSRAM CS/CLK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first STATUS after boot scans the general I2C bus. Boards that name no I2C pins inherited Config.h's OLED default of 18/17, which on the Wireless Bridge is the LoRa chip select and the D0WDQ6's PSRAM clock: one STATUS put the node into a restart loop it left with no PSRAM. The Wireless Paper inherited the same pair.
The panel pair now has no default (-1, no bus), mainBus() refuses to start a bus on -1 instead of letting the core fall back to the variant's 21/22, and busFor() reports whether begin() succeeded. The build refuses a general pair on a radio pin or, on classic ESP32 with PSRAM, the sdkconfig's PSRAM CS/CLK.