-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Does not compile on the Genuino 101 (Intel Curie based) #214
Comments
Modifying
|
I am not familiar with your platform. Can you please tell what library/functions you use to print data to serial port? |
@Avamander well the Serial library works on this platform as I'd expect it to (since it is an official Arduino product). So Serial.write, print, println etc are all functional as on all other Arduino boards. |
Thanks @Avamander I will probably try it simply for test purposes, and to verify that the rest of the lib works on this platform (don't see any reason it shouldn't) |
Not necessarily a 'bug' just a platform not specifically supported. See http://tmrh20.github.io/RF24/Portability.html Removing the inclusion of printf.h & printdetails() might get it working, but its usually a matter of doing device detection, and adjusting for the use of program-memory specific functions like printf_P in the RF24_config.h file. |
I used "bug" due to thats what this issue has been labelled as. |
Just as info: They library is nearly 100% compatible with stm32duino (stm32 devices with arduino IDE, formerly known as "leafabs maple"), but the printf (we don't use/have it) is really an annoying thing. Furthermore it was too much affort for me building up #ifdefs so we've done a "own" branch for it, called "RF24_STM32". Not nice and I'm unhappy with that fact, but this was the fastest solution. So maybe this will work Genuino 101 also (maybe other SPI speed devider settings needed) |
Is there a solution for this problem? E:\prog\arduino\libraries\RF24_STM32\RF24_STM32.cpp:380:11: error: 'printf_P' was not declared in this scope
` |
The solution would be to declare printf_P or comment out the lines where it
is used.
|
Just had the same issue with printf on the arduino 101 board. Has anyone found a stable solution? I only need very basic functionality to send/receive data for my project. |
It would be really nice to see a modification so that 101 works. I would like to use it in the Adeept Smart Car Kit as a replacement for the Uno. |
Compiling the
pingpair_ack
example leads to:Edit: I believe the platform tag for this Arduino board is
__ARDUINO_ARC__
The text was updated successfully, but these errors were encountered: