In ESP32 (WROOM 32 module) has 16MB of Flash.
If we have to use all the below features in my application on ESP32:
1. WiFi
2. Bluetooth
3. External GSM Module
4. External GPS module
5. Analog inputs (4)
6. Analog outputs (2)
7. External EEPROM with I2C
8. An RS485 interface
9. Mongoose OS
10. Amazon AWS inerface
11. User application
How much of space will it consume ? Will the available memory (16MD Flash and 512 KB RAM) be sufficient ?
Can the module safely operate without errors (stack overflow, insufficient memory,...) ?
maximum footprint of application
Re: maximum footprint of application
The default application size is 1MB in flash, if you use the default partition table layout (remaining flash can be used for alternative OTA applications or for data.) If you have an extra-large app it can be bigger than this, maybe up to 3-4MB of executable depending on the split between data and executable code. But 1MB should be plenty for what you're talking about.syedatif027 wrote:How much of space will it consume ? Will the available memory (16MD Flash and 512 KB RAM) be sufficient ?
Can the module safely operate without errors (stack overflow, insufficient memory,...) ?
In terms of RAM usage, I think the feature list you describe should be achievable in ESP-IDF with BLE only (possibly not classic Bluetooth on top of all the other features). You may need to do some tweaks to reduce RAM overhead. However, if you plan to use Mongoose OS then you should ask Cesanta (Mongoose OS developers) directly as this is their software not Espressif's.
EDIT: Edited after Ivan pointed out that I'd suggested 1MB flash usage is a hard limit for ESP32, and it's not.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot], MicroController and 94 guests