Commit Graph

17462 Commits

Author SHA1 Message Date
Island
564b94fe5b Merge branch 'feature/esp32c2_optimize_npl_api_v5.0' into 'release/v5.0'
Optimized NPL Freertos API

See merge request espressif/esp-idf!21906
2023-02-28 20:51:49 +08:00
Jiang Jiang Jian
d759ee5aea Merge branch 'touch_sensor/update_touch_sensor_examples_v5.0' into 'release/v5.0'
touch: update examples and tests (v5.0)

See merge request espressif/esp-idf!19725
2023-02-28 19:55:27 +08:00
Mahavir Jain
d56a6e1691 Merge branch 'fix/http_client_disable_auto_redirect_causes_loop_v5.0' into 'release/v5.0'
http_client: fixed looping caused when disable_auto_redirect enabled (v5.0)

See merge request espressif/esp-idf!22536
2023-02-28 19:54:31 +08:00
Jiang Jiang Jian
008a4dc54e Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue_v5.0' into 'release/v5.0'
NimBLE: Fix incomplete clearing of peer_dev_rec (v5.0)

See merge request espressif/esp-idf!21952
2023-02-28 14:20:48 +08:00
harshal.patil
f39f6011f5 http_client: fixed looping caused when disable_auto_redirect enabled
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-28 10:29:24 +05:30
zwl
3eb8a9cf1e ble: Fixed flow control count error on ESP32-C2 2023-02-27 21:48:19 +08:00
Marius Vikhammer
ca0623e311 Merge branch 'bugfix/freertos_stream_buffer_test_v5.0' into 'release/v5.0'
FreeRTOS: Fix stream buffer send-receive test (v5.0)

See merge request espressif/esp-idf!22507
2023-02-27 19:02:04 +08:00
Zim Kalinowski
fd707e1d03 Merge branch 'bugfix/twai_listen_only_errata_v5.0' into 'release/v5.0'
twai: Add errata workaround for listen only mode (v5.0)

See merge request espressif/esp-idf!22514
2023-02-27 18:13:11 +08:00
Shen Weilong
0fce029b92 [esp32c2] Fixed the occasional assertion when deinit the ble controller 2023-02-27 16:56:05 +08:00
zwl
7b28d40c0a ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2 2023-02-27 16:56:05 +08:00
zwl
530c07a5be Optimized NPL Freertos API 2023-02-27 16:56:05 +08:00
Sumeet Singh
ace6a3b4bb NimBLE: Fix incomplete clearing of peer_dev_rec 2023-02-27 14:21:57 +05:30
Jiang Jiang Jian
4abb6efb36 Merge branch 'bugfix/fix_gpio_wakeup_related_issues_in_ssc_sleep_test_backport_v5.0' into 'release/v5.0'
sleep: fix gpio wakeup related issues(backport v5.0)

See merge request espressif/esp-idf!22332
2023-02-27 15:12:13 +08:00
Jiang Jiang Jian
5ca38da869 Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'
Nimble: Removes global min/max definition causing problems with other libraries (v5.0)

See merge request espressif/esp-idf!21817
2023-02-27 15:11:28 +08:00
Jiang Jiang Jian
1f73b5e4cd Merge branch 'bugfix/wps_start_state_issue_v5.0' into 'release/v5.0'
esp_wifi: Add check for wps start state (v5.0)

See merge request espressif/esp-idf!22025
2023-02-27 15:10:01 +08:00
Jiang Jiang Jian
809aeb77b7 Merge branch 'bugfix/update_esp_rom_rtc_header_v5.0' into 'release/v5.0'
update esp rom rtc header (backport to v5.0)

See merge request espressif/esp-idf!21915
2023-02-27 15:09:19 +08:00
Jiang Jiang Jian
2ab97d57f9 Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2_v5.0' into 'release/v5.0'
Bugfix/fixed hci uart flow ctrl error on esp32c2 v5.0

See merge request espressif/esp-idf!21887
2023-02-27 15:08:28 +08:00
Jiang Jiang Jian
7c20c3742d Merge branch 'bugfix/fix_the_bluedroid_hci_crash_on_esp32c2' into 'release/v5.0'
Fixed the bluedroid hci crash due to insufficient memory on ESP32C2

See merge request espressif/esp-idf!22056
2023-02-27 15:07:31 +08:00
Jiang Jiang Jian
335ad04cba Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2_backport_v5.0' into 'release/v5.0'
esp32c2: support feature(rtc time) depend on rtc fast mem(backport v5.0)

See merge request espressif/esp-idf!22224
2023-02-27 15:06:31 +08:00
Jiang Jiang Jian
f39c3b286c Merge branch 'bugfix/coex_enable_disable_not_in_pairs_v5.0' into 'release/v5.0'
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs(backport v5.0)

See merge request espressif/esp-idf!22094
2023-02-27 15:05:49 +08:00
Jiang Jiang Jian
4cc03645e8 Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!22363
2023-02-27 15:05:38 +08:00
Jiang Jiang Jian
3bc9260dea Merge branch 'support/release_v5.0_fix_h2_phy_init_when_sw_restart' into 'release/v5.0'
esp_phy: fix phy init when SW restart(backport 5.0)

See merge request espressif/esp-idf!22309
2023-02-27 15:04:02 +08:00
morris
491800f144 Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h_v5.0' into 'release/v5.0'
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue (v5.0)

See merge request espressif/esp-idf!22488
2023-02-25 17:30:47 +08:00
Darian Leung
3318fac02f twai: Add errata workaround for listen only mode
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.

Errata Description:

When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.

Workaround:

We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.

Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-24 19:26:22 +08:00
morris
da46d216df Merge branch 'bugfix/correct_ext_mem_defs_for_internal_ram_v5.0' into 'release/v5.0'
soc: update iram/dram addr range in ext_mem_defs.h (v5.0)

See merge request espressif/esp-idf!22489
2023-02-24 18:35:50 +08:00
Darian Leung
3623dc0fce freertos: Fix stream buffer send-receive test
The stream buffer send-receive test preivously contained the following bugs:

- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
  the sender task would cause memory corruption when accessing "tc" structure
  allocated on the main task's stack

This commit fixes and simplifies the stream buffer test.
2023-02-24 16:24:25 +08:00
Mahavir Jain
53c66a6dae Merge branch 'fix/heap-get-allocated-size_v5.0' into 'release/v5.0'
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled (backport v5.0)

See merge request espressif/esp-idf!22187
2023-02-24 11:05:41 +08:00
Armando
866d727477 soc: remove unused macro in ext_mem_defs.h
ESP_CACHE_TEMP_ADDR is not used in IDF
2023-02-23 12:40:43 +08:00
Armando
86b331b40f soc: update iram/dram addr range in ext_mem_defs.h
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:

IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH

now are for the real IRAM0 and DRAM0
2023-02-23 12:39:54 +08:00
Armando
ac86ef31c1 g0: resolve MMU_PAGE_SIZE not defined in g0 build issue 2023-02-23 12:35:52 +08:00
yuanjianmin
c120f5777e tcp_transport: Add authorization header for websocket client 2023-02-22 16:19:41 +04:00
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
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
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
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
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