Best way to use c++ wrappers of Arduino Lib
Posted: Sat Sep 21, 2019 7:08 pm
Hi,
I'm playing with an esp32 dev board for the first time now. I've setup the esp-idf and everything is working as it should and so far I'm impressed!
I'm planning to write code for the esp32 in C++ while avoiding the arduino.h
There are 2 Libraries in the arduino-esp32 repo that I'd still like to use. They are just c++ wrappers for the bluetooth and wifi apis. Is there a "correct" way to do this?
So far I've tried to clone the whole repo and disable everything else in the menuconfig. But then cmake fails, because it won't find the ethernet component.
Is there a better way than copying the individual source code files?
Thanks a lot, Paul
I'm playing with an esp32 dev board for the first time now. I've setup the esp-idf and everything is working as it should and so far I'm impressed!
I'm planning to write code for the esp32 in C++ while avoiding the arduino.h
There are 2 Libraries in the arduino-esp32 repo that I'd still like to use. They are just c++ wrappers for the bluetooth and wifi apis. Is there a "correct" way to do this?
So far I've tried to clone the whole repo and disable everything else in the menuconfig. But then cmake fails, because it won't find the ethernet component.
Is there a better way than copying the individual source code files?
Thanks a lot, Paul