I am build the code from the example.
https://github.com/espressif/esp-idf/bl ... ttc_demo.c
I uses the platformio as an IDE. I select the arduino as a framework and set the CONFIG_AUTOSTART_ARDUINO 0 in sdkconfig (also check my main function). the building time is very low.
after that i compile the same code in esp idf. what I found that it take more time in compilation than the arduino. even after building 2-3 times, I found that arduino code build faster. what is the reason behind this? Also the the first build of the project takes significant time in esp idf(about 200 sec as compated to 45 sec in arduino). Can I do something to speed up the build process significantly?
- extern "C" {
- void app_main(){
- initArduino();
- #ifdef ARDUINO_ARCH_ESP32
- if (!btStart()) {
- ret = ESP_FAIL;
- return;
- }