Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • blm_dev_chan
  • release/1.4.0 protected
  • widgets_draw
  • return_of_melodic_demo
  • task_cleanup
  • mixer2
  • dx/fb-save-restore
  • dx/dldldld
  • fpletz/flake
  • dx/jacksense-headset-mic-only
  • release/1.3.0 protected
  • fil3s-limit-filesize
  • allow-reloading-sunmenu
  • wifi-json-error-handling
  • app_text_viewer
  • shoegaze-fps
  • media_has_video_has_audio
  • fil3s-media
  • more-accurate-battery
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
34 results

sdkconfig.base

  • Angus Gratton's avatar
    a7d6ef3a
    esp32: Allow malloc() to allocate from SPIRAM. · a7d6ef3a
    Angus Gratton authored and moon2's avatar moon2 committed
    
    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: default avatarAngus Gratton <angus@redyak.com.au>
    a7d6ef3a
    History
    esp32: Allow malloc() to allocate from SPIRAM.
    Angus Gratton authored and moon2's avatar moon2 committed
    
    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: default avatarAngus Gratton <angus@redyak.com.au>