The last time I worked on Nybble (about a year ago?) I started to set up Nybble to start running code, however, I only finished part of the setup. Since then it looks like the process has changed, and while I think I effectively finished the new setup process, I keep running into issues when I try uploading a sketch. I tried uploading the most recent files off of GitHub, but I keep getting a long string of errors including "___ was previously declared", "implicit pointer mismatch", and "code may be misoptimized unless -fno-strict-aliasing is used". Not really sure what to do, especially about functions being previously declared because the error message only shows them being declared in one place. While it is redundant, I have attached the full stack trace.
top of page
bottom of page
Hi, is the problem resolved?
In the new process, we have included most of the libraries in OpenCat/src/ to help new users get started. The error messages are probably due to your old libraries.
Go to your computer's Documents/Arduino/Libraries, and delete the folders of MPU6050, I2Cdev, PCA9685 and IRremote, and see if the error messages are reduces. There may still be some warning messages, but as long as the program prints the compilation results (XX% space used, etc), it should be good to go.
Alternatively, you may use the desktop App to upload the firmware. It uses the pre-built hex to upload.
https://nybble.petoi.com/chapter4