Closed phpbbireland closed 1 year ago
esp_bt_main.h
is removed from the latest ESP32 Arduino Core. I have no idea why. A quick solution would be downgrading the ESP32 board core you installed to something lower then 2.0.11. Maybe 10 or even 9.
But I suspect to see this error a lot more the coming time from people installing a fresh FreeTouchDeck. So I have to see where they moved the functions that were in esp_bt_main.h
. And fix the FreeTouchDeck code.
These 4 functions are from the additional included files:
btStop();
esp_bt_controller_disable();
esp_bt_controller_deinit();
esp_bt_controller_mem_release(ESP_BT_MODE_BTDM);
So as long as we have those... we are ok. Maybe you could try also to comment out #include esp_bt_main.h
and hope that those functions are included in another way. If it works it also makes my code fix easier :)
Just noticed different results for depending on which board I select, the results above are returned if I try the ESP32S2 Dev Module, the basic ESP32 Dev Modules (WROOM32) results in: class TFT_eSPI' has no member named 'setTouch.
I will check your video again to see what I should be using and start over... Mike
Just to be sure... you are using an ESP32 DevKit for the original error right? FreeTouchDeck is only for an ESP32.
The class TFT_eSPI' has no member named 'setTouch.
is fixed by editing the User_Setup.h of the TFT_eSPI library and uncommenting the TOUCH_CS declaration. Easier is to use the included User_Setup.h code in this repo.
I was convinced it was for the ESP32, but it must have been the ESP32S2 I selected, as I can only repeat it for this version.
In the mean time I ordered 5 of your PCB's from PCBWay and an a couple of the ESP-WROOM-32D so everything matches your build...
Apologies if I screwed up and reported an error where none existed, I'm blaming old age for it. In the mean time I will try again with your suggestions... Mike
So if you use the board it was intended for there is no error? No problem is this is the case. I should have checked :D
I assume if you select the ESP32 Devkit it works as intended?
Update... All good, compiled fine now to wire it up...
Great! I will close the issue. May you run in to another issue feel free to open another one! 😄
Thank for the code...