Skip to content

Compiling binary fails with additional libraries #2294

Discussion options

You must be logged in to vote

Short answer, try using NeoPixel_Connect. In the object definition you specify which PIO.

So I took my query to thePicoEncodergit repo. So apparently the issue is a conflict over both libraries (NeoPixel or PicoEncoder) trying to claim PIO0. It is a bit over my head but the developer did offer a work around. Still don't know if it will conflict with multi-core, but this was his interim solution.

You could start by checking the return value from the encoder being method. If that's negative, then calling update afterwards on an Encoder that wasn't properly initialized will block indefinitely with interrupts disabled, which would be consistent with what you are seeing. I can add a protection…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Jediknite1101
Comment options

@earlephilhower
Comment options

@Jediknite1101
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Jediknite1101
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