-
Notifications
You must be signed in to change notification settings - Fork 95
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
How to use with arduino IDE? #309
Comments
Sorry, you're alone here. Platform is the way to go |
Is there some tool that would concatenate all the needed source files into one big |
I haven't used arduino, but from my experience with Visual Studio, it should be sufficient to add all the source files to the project. It is recommended to look at how the Makefile contains these source files. However, that the |
I though that would be sufficient too, but unfortunately Arduino is super weird. It copies files to a temp directory before it compiles, and it only copies the files that are right next to the source If it doesn't work, either I will have to look into sidestepping the Arduino IDE manually and compiling/flashing via command line, or I have a plan B that I will need to finish. |
I got it working on arduino ide, took me a month with gotchas and finally compiled, my only problem now is how to reuse esp classes and expose them to berry. https://github.com/rjjrbatarao/berry_arduino |
I figured compiling Berry in the Arduino IDE would be simple-- copy over some files, hit upload, and bam.
So i
git clone
d Berry next to a blank arduino sketch.Directory structure looked like this:
And
mysketch.ino
:I tried to compile, but the compiler could not find
berry.h
. So i copied all the files inberry/src
next to the sketch (not in a subfolder) but then it couldn't findberry_conf.h
.How do I need to structure my arduino folders to use this in a sketch?
I cannot use PlatformIO because there is a bug on my OS.
The text was updated successfully, but these errors were encountered: