• A
    esp32: Allow malloc() to allocate from SPIRAM. · 98fd7843
    Angus Gratton 提交于
    Also shrinks the "prefer internal" threshold to 8KB, any allocation larger
    than this will try PSRAM first.
    
    Change the mbedTLS config to use regular malloc() as well, instead of
    internal only.  The default is set to internal-only due to to potential
    physical security issue of readout via PSRAM on the original ESP32.
    However, as MicroPython runs from plaintext flash and all other context is
    in the MP heap of PSRAM then it's hard to see how worsens physical security
    for MP.
    
    This work was funded through GitHub Sponsors.
    Signed-off-by: NAngus Gratton <angus@redyak.com.au>
    98fd7843
sdkconfig.spiram 568 字节