Commit Graph

26225 Commits

Author SHA1 Message Date
David Čermák
4c606d3381 Merge branch 'feature/websocket-client-errorhandlin_v5.0' into 'release/v5.0'
[ws_transport]-Added `esp_transport_ws_get_upgrade_request_status` API (v5.0)

See merge request espressif/esp-idf!22360
2023-02-22 19:46:47 +08:00
Guillaume Souchere
2ea046c091 heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).

test_malloc.c extended with a new test assuring that  heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-22 11:42:02 +01:00
Ivan Grokhotkov
498dc8d09d Merge branch 'bugfix/nvs_cxx_example_v5.0' into 'release/v5.0'
nvs_flash: fixed wrong error check after open_nvs_handle in example (v5.0)

See merge request espressif/esp-idf!22303
2023-02-22 16:39:13 +08:00
Wang Meng Yang
57d113bdd2 Merge branch 'example/opt_a2dp_gatts_coex_example_v5.0' into 'release/v5.0'
rebase a2dp_gatts_coex to latest a2dp_sink (v5.0)

See merge request espressif/esp-idf!22003
2023-02-22 11:03:02 +08:00
morris
6b08f05282 Merge branch 'bugfix/rmt_buffer_allocation_v5.0' into 'release/v5.0'
legacy rmt driver: fix wrong buffer allocation (v5.0)

See merge request espressif/esp-idf!22429
2023-02-22 10:23:38 +08:00
Mahavir Jain
38da5115cb Merge branch 'docs/refactor_secure_boot_v2_documentation_v5.0' into 'release/v5.0'
docs: refactored Secure Boot V2 documentation (v5.0)

See merge request espressif/esp-idf!22341
2023-02-21 22:08:44 +08:00
jincheng
60087c0b22 rebase a2dp_gatts_coex to latest a2dp_sink 2023-02-21 10:58:51 +00:00
Wang Meng Yang
3d80d4b795 Merge branch 'bugfix/sdp_event_status_overwritten_by_handle_v5.0' into 'release/v5.0'
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle

See merge request espressif/esp-idf!22213
2023-02-21 18:21:33 +08:00
Wang Meng Yang
8439e6184c Merge branch 'bugfix/build_err_with_ssr_enabled_v5.0' into 'release/v5.0'
bt: Fixed build errors when sniff subrating is enabled (v5.0)

See merge request espressif/esp-idf!22350
2023-02-21 18:20:06 +08:00
Wang Meng Yang
11c65947d8 Merge branch 'bugfix/access_nullptr_when_ble_disconn_v5.0' into 'release/v5.0'
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected` (v5.0)

See merge request espressif/esp-idf!21879
2023-02-21 18:18:48 +08:00
Wang Meng Yang
b94db7a64e Merge branch 'bugfix/blufi_notify_v5.0' into 'release/v5.0'
BluFi : Fixed hdr getting free twice (v5.0)

See merge request espressif/esp-idf!22448
2023-02-21 18:17:50 +08:00
Krzysztof Budzynski
84d6cce56e Merge branch 'docs/fix_typo_peripherals_gpio' into 'release/v5.0'
docs:fix a typo in api-reference/peripherals/gpio

See merge request espressif/esp-idf!22432
2023-02-21 16:04:00 +08:00
isha.pardikar@espressif.com
049cffcb2a BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-21 11:44:12 +05:30
Steinbart Andreas (HAU-EDS)
481cca3490 [ws_transport] - Added esp_transport_ws_get_upgrade_request_status API 2023-02-20 14:12:48 +00:00
Ivan Grokhotkov
82458fd31d Merge branch 'bugfix/extram_stack_coredump_v5.0' into 'release/v5.0'
coredump: add support for stacks in external RAM (backport v5.0)

See merge request espressif/esp-idf!22410
2023-02-20 20:32:19 +08:00
Ivan Grokhotkov
86a75d1d73 Merge branch 'feature/gdbstub_esp32c2_v5.0' into 'release/v5.0'
gdb stub: re-enable for ESP32-C2 (v5.0)

See merge request espressif/esp-idf!21770
2023-02-20 17:13:37 +08:00
Linda
892f6fa695 docs:fix a typo in api-reference/peripherals/gpio 2023-02-20 16:12:25 +08:00
Marius Vikhammer
18bda1be31 Merge branch 'feature/re-enable-heap-test-c2_v5.0' into 'release/v5.0'
heap: re-enable temporarily disabled test on esp32c2 (backport v5.0)

See merge request espressif/esp-idf!21873
2023-02-20 15:34:16 +08:00
Marius Vikhammer
fc3f49d589 Merge branch 'docs/freertos_doc_organization_v5.0' into 'release/v5.0'
Docs: Update FreeRTOS documentation organization for IDF and Amazon SMP FreeRTOS (v5.0)

See merge request espressif/esp-idf!22395
2023-02-20 15:26:23 +08:00
Marius Vikhammer
5b718a81a0 Merge branch 'feat/verbose-alloc-failure-abort_v5.0' into 'release/v5.0'
heap: print size and caps when malloc fails before calling system abort (backport v5.0)

See merge request espressif/esp-idf!22343
2023-02-20 15:17:51 +08:00
Marius Vikhammer
47bc882caa Merge branch 'feature/re-enable-intr-alloc-test-c2_v5.0' into 'release/v5.0'
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target (backport v5.0)

See merge request espressif/esp-idf!21874
2023-02-20 15:16:36 +08:00
Marius Vikhammer
bca7446a53 Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2_v5.0' into 'release/v5.0'
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2 (v5.0)

See merge request espressif/esp-idf!21860
2023-02-20 15:14:56 +08:00
morris
b731bd6a60 rmt: fix rmt buffer allocation issue 2023-02-20 15:12:30 +08:00
Marius Vikhammer
d33d3d7884 Merge branch 'feature/re-enable-newlib-test-c2_v5.0' into 'release/v5.0'
newlib: Remove tests using RTC related features from the esp32c2 test set (backport v5.0)

See merge request espressif/esp-idf!21878
2023-02-20 15:11:16 +08:00
Jakob Hasse
1a98df0c93 bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
Closes https://github.com/espressif/esp-idf/issues/10240
2023-02-20 14:20:18 +08:00
morris
f58f8116de Merge branch 'feature/adc_calibration_c2_v5.0' into 'release/v5.0'
esp_adc: support adc calibration on esp32c2 (v5.0)

See merge request espressif/esp-idf!22382
2023-02-20 14:13:23 +08:00
Marius Vikhammer
41bf6dab0d Merge branch 'bugfix/newlib_tz_env_mutex_v5.0' into 'release/v5.0'
newlib: Use correct recursive mutex for env and regular mutex for tz (v5.0)

See merge request espressif/esp-idf!22293
2023-02-20 13:04:17 +08:00
Marius Vikhammer
5400061f6a Merge branch 'docs/elm_chan_broken_link_v5.0' into 'release/v5.0'
docs: fix broken link in fatfs doc (v5.0)

See merge request espressif/esp-idf!22297
2023-02-20 12:21:28 +08:00
Aditya Patwardhan
962d716456 Merge branch 'bugfix/secure_boot_v2_part_size_check_v5.0' into 'release/v5.0'
gen_esp32part: allow secure boot v2 based app partition size 4K aligned (v5.0)

See merge request espressif/esp-idf!22284
2023-02-20 12:19:38 +08:00
Marius Vikhammer
03a4f75f98 Merge branch 'docs/fix_broken_link_format_v5.0' into 'release/v5.0'
docs: fix rst external links with wrong format (v5.0)

See merge request espressif/esp-idf!22336
2023-02-20 11:20:42 +08:00
Armando (Dou Yiwen)
1990335623 Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue_v5.0' into 'release/v5.0'
adc: make adc_channel.h macros work with ng driver (v5.0)

See merge request espressif/esp-idf!22020
2023-02-20 11:08:42 +08:00
Armando (Dou Yiwen)
ef4280c3f5 Merge branch 'docs/make_s3_octal_flash_error_handling_clearer_v5.0' into 'release/v5.0'
docs: make s3 octal flash error handling clearer (v5.0)

See merge request espressif/esp-idf!22269
2023-02-20 11:07:13 +08:00
Armando
d101d9c100 esp_adc: update license 2023-02-20 10:34:34 +08:00
Armando
0f49c8677b include inttypes.h 2023-02-20 10:34:34 +08:00
Armando
f3ee3b68bf esp_adc: defined an example macro for attenuation 2023-02-20 10:34:34 +08:00
Armando
22431bc41b doc: make adc wifi hardware limitation visible on esp32 2023-02-20 10:34:34 +08:00
Armando
45776dc0cc esp_adc: add esp32c2 adc high/low test threshold and expected val 2023-02-20 10:34:34 +08:00
Armando
ed98062c66 esp_adc: refacotr tests for all supported attenuations 2023-02-20 10:34:34 +08:00
Armando
a03ca90d4a esp_adc: replace hardcoded calibration version to a macro
On esp32c3 and esp32s3, we support calibration version 1. This commit
replace it with ESP_EFUSE_ADC_CALIB_VER to avoid hardcode.
2023-02-20 10:34:34 +08:00
Armando
fe0643ca40 esp_adc: support adc calibration on esp32c2 2023-02-20 10:34:34 +08:00
Armando
70d62f5c85 efuse: added adc calibration efuse fields on esp32c2 2023-02-20 10:34:34 +08:00
Armando
d9992320c8 efuse: remove PVT_LOW field on esp32c2
PVT_LOW doesn't exist on ESP32C2
2023-02-20 10:34:33 +08:00
zlq
bd7bcbb03b 1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode 2023-02-20 10:33:25 +08:00
Marius Vikhammer
dbb3830c44 Merge branch 'docs/ignore_isa_link_v5.0' into 'release/v5.0'
docs: ignore xtensa isa-summary during linkcheck (v5.0)

See merge request espressif/esp-idf!22145
2023-02-20 10:30:47 +08:00
Mahavir Jain
b289b7a1f1 Merge branch 'feature/mbedtls-3.3.0_v5.0' into 'release/v5.0'
mbedtls: Update to v3.3.0 (v5.0)

See merge request espressif/esp-idf!22121
2023-02-19 14:41:06 +08:00
Mahavir Jain
a823a4907f Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis_v5.0' into 'release/v5.0'
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs (v5.0)

See merge request espressif/esp-idf!22307
2023-02-19 12:10:36 +08:00
Mahavir Jain
c71f9a3e1e Merge branch 'fix/stack-dram-memory-protection_v5.0' into 'release/v5.0'
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled (backport v5.0)

See merge request espressif/esp-idf!22170
2023-02-19 11:57:54 +08:00
Mahavir Jain
ca7045d904 protocomm: Fix test-app build for esp32c2 & esp32c6
- AES context has a breaking change, rather than storing
  round keys directly, it stores the offset at which the keys
  are present in the context buffer
2023-02-19 03:53:02 +00:00
Laukik Hase
db99f311fc mbedtls: Fix build with dynamic buffers feature 2023-02-19 03:53:02 +00:00
Laukik Hase
6384299167 wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac)
- The newer alternative does not require HMAC context for its
  operation
2023-02-19 03:53:02 +00:00