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 develop.
Is there a way to use only portion of this library?
For ESP-NOW usage, is necessary to have the WiFi in station mode.
But does this "Station mode" require the entire WiFi library?
Thanks to everyone.
Yomega96
"Resizing" libraries
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
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.
Re: "Resizing" libraries
Sorry, I'm relatively a newbie on this sector.ESP_Sprite wrote: 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.
To code I use VS Code, with PlatformIO extension.
Actually, when I compile the ESP1 code, i get 95% "Application" and 14% "RAM"
Thanks
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: "Resizing" libraries
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.
Re: "Resizing" libraries
That's enough for me.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.
Knowing that I can increase/decrease partitions is a good news.
Thanks
Who is online
Users browsing this forum: No registered users and 54 guests