Skip to content

Is/was there an "esp" platform identifier with no subplatform? #1212

Answered by phoddie
dtex asked this question in Q&A
Discussion options

You must be logged in to vote

It should work with no subplatform. I use that often for projects that run on a bare ESP8266. I just did builds of helloworld and pins/button (mcconfig -d -m -p esp) and there was no build problem. But.... io/digital/button failed as you describe. So, the problem seems to be in the ECMA-419 IO manifests. I changed the ESP8266 manifest (very) recently, specifically for digital, as part of an ongoing effort to clean-up the manifests.

It looks like this line is the problem:

"$(MODULES)/pins/digital/esp/modGPIO.c"

If you change that to "$(MODULES)/pins/digital/esp/modGPIO" (remove the ".c") it should work. At…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dtex
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants