esp-idf/components
Angus Gratton fb340940d3 spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.

Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.

Added test for using large buffers in PSRAM.

Closes https://github.com/espressif/esp-idf/issues/4769

Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-03 00:17:27 +00:00
..
app_trace
app_update
asio
bootloader bootloader: Set the bootloader optimization level separately to the app 2020-02-27 14:38:52 +05:30
bootloader_support Merge branch 'feature/cpu_abstraction' into 'master' 2020-02-28 11:54:29 +08:00
bt component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled 2020-02-28 11:36:48 +08:00
cbor
coap
console
cxx
driver Merge branch 'bugfix/fix_driver_ut_pcnt' into 'master' 2020-02-27 11:29:28 +08:00
efuse (S2) efuse: Using a ROM function for set_timing 2020-02-18 01:10:57 +00:00
esp-tls esp_tls_wolfssl: Add support for DER formatted certificates 2020-02-27 15:20:22 +05:30
esp32 bootloader_support: mem-related initializations using cpu abstractions 2020-02-27 07:14:21 +05:00
esp32s2 esp32s2: remove calls to stall/unstall other core 2020-02-27 07:15:15 +05:00
esp_adc_cal
esp_common Merge branch 'feature/https_server_using_wolfssl' into 'master' 2020-02-27 18:57:12 +08:00
esp_eth add SOC_EMAC_SUPPORTED in soc_caps.h 2020-02-24 11:57:58 +08:00
esp_event esp_event: halve the events registered in performance test 2020-02-27 15:54:54 +05:00
esp_gdbstub soc: create abstraction for cpu related operations 2020-02-27 07:14:19 +05:00
esp_http_client
esp_http_server
esp_https_ota esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA 2020-02-24 16:53:40 +05:30
esp_https_server
esp_local_ctrl
esp_netif ci: disable failed cases for s2 temporarily 2020-02-15 18:28:25 +08:00
esp_ringbuf
esp_rom Merge branch 'feat/secure_boot_v2_v41' into 'master' 2020-02-27 18:54:08 +08:00
esp_serial_slave_link
esp_timer
esp_websocket_client
esp_wifi esp_wifi: fix bugs related to espnow and channel set 2020-03-02 11:32:05 +08:00
espcoredump
esptool_py feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-02-25 01:28:22 +05:30
expat
fatfs
freemodbus
freertos freertos: implement get core id with cpu abstraction 2020-02-27 07:14:21 +05:00
heap Merge branch 'feat/secure_boot_v2_v41' into 'master' 2020-02-27 18:54:08 +08:00
idf_test
jsmn
json
libsodium
log
lwip fix ipv6 bug when input the wrong broadcast 2020-02-28 12:00:45 +08:00
mbedtls Exception handlers for LoadStoreError and LoadStoreAlignmentError 2020-02-26 20:21:59 +08:00
mdns
mqtt ci: disable failed cases for s2 temporarily 2020-02-15 18:28:25 +08:00
newlib
nghttp
nvs_flash NVS Flash: prevent erasing initialized partition 2020-02-19 18:16:04 +01:00
openssl
partition_table feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-02-25 01:28:22 +05:30
perfmon
protobuf-c
protocomm protocomm: enable test cases for esp32s2 with software AES 2020-02-25 18:05:35 +05:30
pthread
sdmmc
soc Merge branch 'feature/cpu_abstraction' into 'master' 2020-02-28 11:54:29 +08:00
spi_flash spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers 2020-03-03 00:17:27 +00:00
spiffs
tcp_transport
tcpip_adapter
ulp ulp: use quotes when specifying files for embedding ulp binaries 2020-02-18 00:12:56 +00:00
unity
vfs docs: Fix broken or incorrect link roles to IDF files & directories 2020-02-18 10:34:11 +11:00
wear_levelling
wifi_provisioning
wpa_supplicant wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate 2020-02-26 17:50:08 +05:30
xtensa soc: create abstraction for cpu related operations 2020-02-27 07:14:19 +05:00