-
Notifications
You must be signed in to change notification settings - Fork 0
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
Nordic NRF compatibility #72
Comments
It looks like it will work, but their stream objects are significantly more complex to set up and differ platform-platform. So unless I want to write a stream shim they'll just have to use a buffer and figure it out on their own. |
What arduino core/board did you use? |
platformio adafruit boards pkg / NRF52840 64MHz, 243KB RAM, 796KB Flash |
possibly relevant: khoih-prog/TimerInterrupt_Generic#4 |
If it's a regression in the nrf core/adafruit shims I'll figure out how to use the compatible previous version. |
Actually, I think its something to do with the adaruit core's use of TinyUSB: see adafruit/Adafruit_nRF52_Arduino#653 (comment) Basically you need this somewhere (probably in the lib's primary header): #ifdef USE_TINYUSB
#include <Adafruit_TinyUSB.h>
#endif |
Probably better to use something more board-specific though: #if defined(USE_TINYUSB) && defined(ARDUINO_NRF52_ADAFRUIT)
#include <Adafruit_TinyUSB.h>
#endif |
Awesome, I'll get to testing that! Thanks! |
It needs vsnprintf_P, snprintf_P, maybe pgm_read_dword. the hook is the
NRF_H
macro.The text was updated successfully, but these errors were encountered: