Fix nRF52810 build with Arduino and SPI/I2C - #54
Conversation
|
This appears to break I2C compatibility with the NRF52832. When attempting to compile for NRF52832, I get It isn't an issue with my sketch, as it compiles fine for NRF52832 with the previous Wire_nRF52.cpp Works for NRF52810 though. I'll see if I can figure out the problem. Thank you for this library and the fixes. |
|
For whatever reason, changing line 402 in Wire_nRF52.cpp from |
|
Thanks! I'll make some adjustments. |
47d75b5 to
a98daaf
Compare
|
Looks good. I wonder if you also want to change line 411 in Wire_nRF52.cpp from |
|
Done, this should work now. |
Sorry I missed this comment, yes that seems better for sure at this moment as that doesn't look to actually be Thanks for all the help!!! |
|
@jackb60 Have you tested this with any devices connected to SPI/I2C? Would be great to know that its working as well as compiling 😄 |
|
Yes I have devices attached to both SPI and I2C and they are working (tested with NRF52810). |
|
Perfect, I will merge this then. Thanks again! |
Fixes #50, #52
@jackb60