port IDF project to arduino
Posted: Fri Apr 10, 2020 5:29 am
I am designing a new dev board based around esp32 wroverB, and I have a large code base that I wrote in esp-idf (v3.3) which does all the setup for this board.
Now I want the end users to be able to work in the Arduino IDE, to write their code for the board.
What is the best approach here?
When I simply copy the code into the Arduino IDE, and try to compile, I get a huge amount of errors, many of which are duplicate definitions, and other issues around includes, many of which are regarding OTA update, and Webserver related structs and definitions.
Do I need to re-write all my code using the Arduino framework? Or is there an approach that would avoid this?
Thanks!!!
Now I want the end users to be able to work in the Arduino IDE, to write their code for the board.
What is the best approach here?
When I simply copy the code into the Arduino IDE, and try to compile, I get a huge amount of errors, many of which are duplicate definitions, and other issues around includes, many of which are regarding OTA update, and Webserver related structs and definitions.
Do I need to re-write all my code using the Arduino framework? Or is there an approach that would avoid this?
Thanks!!!