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

Duplicate definition of InterruptLock on ESP8266 #135

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dok-net
Copy link

@dok-net dok-net commented Jun 24, 2019

The InterruptLock exists in cores/esp8266/interrupts.h in ESP8266 Arduino.

  • This PR adds a simple preprocessor guard to elicit the redefinition of InterruptLock for the ESP8266 target.

@ladyada
Copy link
Member

ladyada commented Jul 18, 2019

hi travis is not passing @dok-net do you know why?

@dok-net
Copy link
Author

dok-net commented Jul 18, 2019

It's not building against ESP8266 Arduino master branch, is it? The namespace fix for esp8266::InterruptLock is in esp8266/Arduino@f5a882d

Dependency hells all over the place.

@ladyada
Copy link
Member

ladyada commented Jul 18, 2019

we test against release, that's what everyone's got :)

@dok-net
Copy link
Author

dok-net commented Jul 18, 2019

Yeah, except, when I got my first ESP8266, the documentation strongly suggested to get the esp8266-community framework direct from git, and that usually gives you the master branch, more precisely, the HEAD of that. Now here we are...

@ladyada
Copy link
Member

ladyada commented Jul 18, 2019

may be...but 99% of people using ESP8266 don't - they use the BSP manager built into arduino.

@dok-net
Copy link
Author

dok-net commented Jul 18, 2019

Dependency hell... 2019... OMG... but never mind, I've reverted the premature alignment to master HEAD; mea culpa. Please remember/remind me/allow me to PR once time comes and ESP8266 Arduino releases next time. Thanks for all those invaluable hardware libraries! By the way, there's still some other PRs of mine pending heh heh

@ladyada
Copy link
Member

ladyada commented Jul 18, 2019

as you can see, we have hundreds of libraries, and PRs are not trivial to merge. they take many hours to analyze and vet. you can help get PRs merged by testing/vetting other PR's!

@ladyada ladyada requested review from hoffmannjan and removed request for hoffmannjan July 18, 2019 21:33
@dok-net
Copy link
Author

dok-net commented Jul 18, 2019

Good to know!

@devyte
Copy link

devyte commented Nov 9, 2019

2.6.0 is released, please retest.

… of InterruptLock."

Until next release of ESP8266 Arduino, the accompanying fix for the same issue there is not
available to use - undo this revert when time comes.

This reverts commit 65b884a.
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.

None yet

4 participants