Search found 5 matches

by Yomega96
Wed Dec 08, 2021 8:36 pm
Forum: ESP-IDF
Topic: [C++] "Undefined Reference to " error
Replies: 2
Views: 3537

Re: [C++] "Undefined Reference to " error

chegewara wrote:

Code: Select all

void drawKeys(MCUFRIEND_kbv &_tft) <----------------ERROR in this line
{
    int yoffset = height - (height * yEl);
I've solved!

Code: Select all

void Keyboard::drawKeys(MCUFRIEND_kbv* _tft)
What a noob,
Declaration with type* var , definition with type &var

Thanks for the help
Yomega96
by Yomega96
Wed Dec 08, 2021 2:15 pm
Forum: ESP-IDF
Topic: [C++] "Undefined Reference to " error
Replies: 2
Views: 3537

[C++] "Undefined Reference to " error

Hi to all, I'm having a problem with pointers. I'm trying to create a custom Touch Keyboard library, using MCUFRIEND_kbv TFT library. When I try to pass the pointer of the TFT instance (found in main.cpp as tft variable) to the drawKeys function of the Keyboard library (call in loop() of main.cpp as...
by Yomega96
Thu Oct 08, 2020 12:22 pm
Forum: IDEs for ESP-IDF
Topic: "Resizing" libraries
Replies: 4
Views: 3818

Re: "Resizing" libraries

ESP_Sprite wrote: I don't know PlatformIO that well, so I can't tell you how to do that... but I'd suggest to look into resizing the partitions, as I mentioned before.
That's enough for me.
Knowing that I can increase/decrease partitions is a good news.
Thanks
by Yomega96
Thu Oct 08, 2020 7:36 am
Forum: IDEs for ESP-IDF
Topic: "Resizing" libraries
Replies: 4
Views: 3818

Re: "Resizing" libraries

What SDK are you using? If ESP-IDF, are you sure you're not filling up 95% of the app partition, instead of the entire flash? If that's the case, you can tweak the partition sizes and get some of your flash back. Sorry, I'm relatively a newbie on this sector. To code I use VS Code, with PlatformIO ...
by Yomega96
Wed Oct 07, 2020 1:16 pm
Forum: IDEs for ESP-IDF
Topic: "Resizing" libraries
Replies: 4
Views: 3818

"Resizing" libraries

Hi to all, I'm developing a project using 2 ESP32-WROOM modules. ESP1 is using Bluetooth classic and ESP-NOW. ESP2 is using only ESP-NOW. Connections are working great. But when compiling for ESP1 I get flash to 95%, because of the huge WiFi library, and 90% of application algorithm is still to deve...