loboris / MicroPython_ESP32_psRAM_LoBo

MicroPython for ESP32 with psRAM support
Other
831 stars 344 forks source link

MicroPython heap 72 KB for non-psRAM prebuilt firmware #295

Open stroobandt opened 5 years ago

stroobandt commented 5 years ago

This request is related to the following curl feature note:

If TLS is enabled, the module uses mbedTLS and more memory is required. If not using psRAM, you may need to lower the MicroPython heap (72 KB will usually be enough).

In this day and age of HTTPS, would it be possible to set the MicroPython heap to 72 KB for all non-psRAM prebuilt firmware; i.e. esp32, esp32_ota and esp32_all?

I am using esp32_all and have trouble pulling in a larger CSV file over HTTPS, whereas pulling it in over HTTP works. Sending small HTTPS requests also works.

PS: I am not asking for a reduction of the TLS maximum message content length. As I understand from issue https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/issues/117, this may cause a connection failure with certain servers.