B4R Question Project structure - includes etc

Arf

Well-Known Member
Licensed User
Longtime User
I'm just starting with B4R with ESP32, trying to set up a project I have working in Arduino.
My project has the ino file and includes other files I have written, buffer.c and buffer.h
If I leave those files in the project directory and leave the #includes in the code pasted from the ino file into my B4R file, all sorts of compilation errors occur.
I tried putting them in Shared Modules but that didn't work. I am struggling to find a guide as to how to arrange things in a b4r project, can anyone point me in the right direction?
 

Arf

Well-Known Member
Licensed User
Longtime User
I just pasted everything in the included files into the b4r file, working now but would still like to know if I can include separate h files with their c counterparts.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…