OVMS3-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 global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
app_update app_update: rename ut name 2020-02-15 18:28:25 +08:00
asio asio: updated ASIO port to use latest asio and esp-idf features 2020-01-09 21:53:50 +01:00
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 cbor: add tinycbor library and example 2019-08-22 17:44:29 +08:00
coap ESP32/coap_mbedtls:add macro checks 2019-10-09 16:46:46 +08:00
console console: simplify examples 2020-02-07 20:15:06 +08:00
cxx C++: rtti unit tests, corresponding CI config 2020-01-13 16:39:21 +08:00
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 global: bring up esp32s2(not beta) 2020-01-16 17:41:31 +08:00
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 Bugfix for failing OTA example 2019-12-31 14:18:16 +05:30
esp_http_server esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
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-tls: Naming variables refering to certificates and keys in a neutral way to suggest that both PEM and DER format could be used, added comments descibing important details about using these formats 2019-08-02 09:25:16 +02:00
esp_local_ctrl tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00
esp_netif ci: disable failed cases for s2 temporarily 2020-02-15 18:28:25 +08:00
esp_ringbuf feat(timer): refator timer group driver 2019-11-21 14:14:19 +08:00
esp_rom Merge branch 'feat/secure_boot_v2_v41' into 'master' 2020-02-27 18:54:08 +08:00
esp_serial_slave_link essl: new component to communicate with esp serial slave devices 2019-12-03 22:58:41 +08:00
esp_timer esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
esp_websocket_client esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
esp_wifi esp_wifi: fix bugs related to espnow and channel set 2020-03-02 11:32:05 +08:00
espcoredump tools/idf_monitor: automatically decode UART core dumps 2020-02-13 18:46:26 +01:00
esptool_py feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-02-25 01:28:22 +05:30
expat heap_caps: small fixes on comments plus cleaning 2019-12-20 13:35:56 -03:00
fatfs ci: disable case witout runners 2020-02-15 18:28:25 +08:00
freemodbus docs: Resolve doxygen & Sphinx warnings 2020-02-07 16:37:45 +11:00
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 global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
jsmn jsmn: define macros in build system 2019-11-29 18:05:24 +08:00
json cJSON: include only source file objects for cmake build 2020-02-05 11:14:23 +05:30
libsodium global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
log log: Check for ISR context and use proper API to get Tick Count 2020-02-07 04:49:53 +00:00
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 esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
mqtt ci: disable failed cases for s2 temporarily 2020-02-15 18:28:25 +08:00
newlib esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
nghttp Modified http_parser to handle ICY uris. 2019-10-11 05:04:08 +00:00
nvs_flash NVS Flash: prevent erasing initialized partition 2020-02-19 18:16:04 +01:00
openssl Fix Kconfig issues discovered by upstream Kconfiglib 2019-09-23 16:10:57 +02:00
partition_table feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-02-25 01:28:22 +05:30
perfmon xtensa: update header file 2019-12-09 09:44:56 +08:00
protobuf-c
protocomm protocomm: enable test cases for esp32s2 with software AES 2020-02-25 18:05:35 +05:30
pthread freertos: moved all xtensa specific files into a separated folder 2020-01-27 16:05:30 -03:00
sdmmc sdspi, vfs_fat: allow sharing SPI bus among devices, and mounting multiple SD cards 2020-02-12 15:16:08 +08:00
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 soc: separate abstraction, description and implementation 2020-02-11 14:30:42 +05:00
tcp_transport esp_tls: added connection timeout to esp_tls_conn_new_sync() 2020-01-16 07:32:19 +00:00
tcpip_adapter lwip: Enable IPv6 stateless address autoconfiguration 2020-01-14 07:15:26 +00:00
ulp ulp: use quotes when specifying files for embedding ulp binaries 2020-02-18 00:12:56 +00:00
unity global: rename esp32s2beta to esp32s2 2020-01-22 12:14:38 +08:00
vfs docs: Fix broken or incorrect link roles to IDF files & directories 2020-02-18 10:34:11 +11:00
wear_levelling soc: separate abstraction, description and implementation 2020-02-11 14:30:42 +05:00
wifi_provisioning esp32: add implementation of esp_timer based on TG0 LAC timer 2020-02-06 14:00:18 +08:00
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