Skip to content
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

gpio: detect esp8285 chip to allow the use of GPIO9 and GPIO10 #1964

Merged
merged 4 commits into from
Nov 6, 2019

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Oct 29, 2019

fix #1958

  • Read efuse registers to detect ESP8285. I can't find any documentation on that, esptool.py is my only source. (part of it is used for MAC, other bytes are not)
  • Redo GPIO locking via std::bitset. Slightly nicer interface than basic shifts and easier to manage for this kind of thing specifically.

@mcspr mcspr merged commit 0134598 into xoseperez:dev Nov 6, 2019
@mcspr mcspr deleted the sys/gpio-for-esp8285 branch November 6, 2019 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sonoff dual r2 + DALLAS in GPIO9 Failed getting lock
1 participant