-
Notifications
You must be signed in to change notification settings - Fork 165
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
Problem with Arduino NANO 33 IoT #165
Comments
+1 I was able to replicate this using the arduino library manager to install the RF24 & RF24Network libs to compile the helloworld_rx.ino example. This seems specific to the Arduino SAMD core (it doesn't happen with adafruit SAMD core). |
You can probably just delete the C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp and Sync.h files. This should probably be done for the next release as these files are no longer used in the library.
… On Jan 13, 2021, at 5:14 PM, piotr199809 ***@***.***> wrote:
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp
|
yep, that fixed the compilation errors. @TMRh20 I can add an Arduino CI workflow like I did for the RF24 lib. The Arduino Nano 33 IoT board is included already, and a library (like RF24) can be specified as a dependency. |
@2bndy5 Sure, that'd be great |
Thanks! I removed Sync.cpp and Sync.h and it helped |
Hello! I want to upload a program using the RF24Network library to Arduino NANO 33 IoT board, but I get errors during compilation.
Errors:
Arduino:1.8.13 (Windows 10), Płytka:"Arduino NANO 33 IoT"
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:28:6: error: 'Sync' has not been declared
void Sync::update(void)
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp: In function 'void update()':
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:31:3: error: 'network' was not declared in this scope
network.update();
^~~~~~~
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:37:16: error: 'len' was not declared in this scope
while ( at < len )
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:39:10: error: 'app_data' was not declared in this scope
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:39:10: note: suggested alternative: 'update'
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:39:22: error: 'internal_data' was not declared in this scope
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:59:42: error: 'to_node' was not declared in this scope
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:59:42: note: suggested alternative: 'tone'
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:90:9: error: 'app_data' was not declared in this scope
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:90:9: note: suggested alternative: 'update'
C:\Users\piotr\Documents\Arduino\libraries\RF24Network\Sync.cpp:91:9: error: 'internal_data' was not declared in this scope
exit status 1
Błąd kompilacji dla płytki Arduino NANO 33 IoT.
What is wrong? How to fix it?
The text was updated successfully, but these errors were encountered: