Commit Graph

26508 Commits

Author SHA1 Message Date
Sudeep Mohanty
316a1de567 docs: Updated incorrect description for ULP FSM JUMPR and JUMPS instructions
This commit updates the incorrect description for the JUMPR and JUMPS
instructions for ULP FSM on esp32/s2/s3.

Closes https://github.com/espressif/esp-idf/issues/10923
2023-03-13 11:05:52 +01:00
Rahul Tank
ceeff063e8 Nimble: Added change to give time to allocate buffers, in case previous
allocation fails

Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-13 15:23:04 +05:30
Rahul Tank
28aa12ed01 Nimble:Change component path to relative path for remaining examples 2023-03-13 14:24:08 +05:30
Leonardo Bispo
861517ecb0 component path relative to IDF
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.

(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com>
2023-03-13 14:22:54 +05:30
Jiang Jiang Jian
358ed1af5d Merge branch 'bugfix/add_return_type_nimble_port_init_v5.0' into 'release/v5.0'
Nimble: Added return value (success / failure ) to nimble_port_init  / nimble_port_deinit (v5.0)

See merge request espressif/esp-idf!22191
2023-03-13 15:19:06 +08:00
Jiang Jiang Jian
41e52fc5e9 Merge branch 'bugfix/fix_hidh_connection_bug_v5.0' into 'release/v5.0'
Bugfix/Fix HID Host bug when handling the two consecutive connection request[backport 5.0]

See merge request espressif/esp-idf!22721
2023-03-13 15:07:03 +08:00
xiongweichao
46e7347177 bt:Added a parameter to tell the user the result of the pass through command implementation 2023-03-13 15:03:55 +08:00
Jiang Jiang Jian
15b160ae55 Merge branch 'bugfix/remove_Wno_format_in_bluedroid_bt_examples_v5.0' into 'release/v5.0'
bt: Remove `-Wno-format` compile option for bluedroid classic bluetooth examples(v5.0)

See merge request espressif/esp-idf!21870
2023-03-13 14:29:25 +08:00
Jiang Jiang Jian
3d3df29792 Merge branch 'bugfix/wifi_enterprise_example_typo_v5.0' into 'release/v5.0'
esp_wifi: fix typo in wifi_enterprise example README (Backport v5.0)

See merge request espressif/esp-idf!22650
2023-03-13 14:06:12 +08:00
jingli
833f201610 soc/soc_caps: update soc caps for chips that support power-down of modem hardware 2023-03-13 13:33:18 +08:00
liqigan
109d42bb85 fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-13 10:16:51 +08:00
Kampi
7905aa2c27 Bugfix: Fix compile error with out of order designated initializer when using C++20 in ESP32 ULP ADC example 2023-03-11 14:42:18 +01:00
morris
c24222dcde gptimer: fix race condition between start and stop
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-11 11:42:09 +08:00
Zim Kalinowski
bf082dcd1c Merge branch 'bugfix/spram_and_virt_efuse_can_work' into 'release/v5.0'
esp_psram: Use efuse_ll instead of efuse API

See merge request espressif/esp-idf!22641
2023-03-11 00:00:08 +08:00
Roman Leonov
35068ee7b9 usb_host: add recovering interval after SetAddress(). Possibility to change constant delay value via menuconfig.
Closes https://github.com/espressif/esp-idf/issues/10444
Closes https://github.com/espressif/esp-idf/issues/10718
2023-03-10 12:40:01 +01:00
gauri patankar
cad044a3b6 wpa_supplicant:Fix potential null pointer dereference 2023-03-10 16:00:55 +05:30
Sarvesh Bodakhe
7999489c6e Combine improvements in sa query and buffer deauth, disassoc, action frames for connected station in sleep mode 2023-03-10 16:00:55 +05:30
Wang Meng Yang
1ea59bd351 Merge branch 'bugfix/spp_server_doc_v5.0' into 'release/v5.0'
SPP server documentation fix (v5.0)

See merge request espressif/esp-idf!22678
2023-03-10 17:22:53 +08:00
wangmengyang
57b26802a5 bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-03-10 07:37:24 +00:00
Rahul Tank
89f4ed527e Nimble:Added power control API usage demo in blecent app 2023-03-10 12:59:11 +05:30
morris
ac0237670b Merge branch 'bugfix/fixed_wrong_sdm_struct_sequence_v5.0' into 'release/v5.0'
sdm: fixed potential memory leak (v5.0)

See merge request espressif/esp-idf!22648
2023-03-10 15:19:22 +08:00
Mahavir Jain
83e7710c2e Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets_v5.0' into 'release/v5.0'
esp-tls: Fix build issue when esp-tls server session tickets have been enabled. (v5.0)

See merge request espressif/esp-idf!22660
2023-03-10 13:49:40 +08:00
KonstantinKondrashov
963a8b1c57 esp_psram: Use efuse_ll instead of efuse API
When the virt efuse mode is on and psram is on as well
then efuse buffer is not filled by efuses (it is filled by 0).
So the psram init func gets wrong pkg_ver = 0.

Closes https://github.com/espressif/esp-idf/issues/10925
Close IDFGH-9576
2023-03-10 05:14:50 +00:00
laokaiyao
a6b190c083 sdm: fixed potential memory leak 2023-03-10 03:48:27 +00:00
Aditya Patwardhan
6692a1346b esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
Closes https://github.com/espressif/esp-idf/issues/10765
2023-03-10 03:46:19 +00:00
Marius Vikhammer
319208c3d1 Merge branch 'bugfix/clang_tidy_and_nvs_memory_issue' into 'release/v5.0'
clang tidy add C++ and nvs memory issue (backports 5.0)

See merge request espressif/esp-idf!22666
2023-03-10 11:42:02 +08:00
Mahavir Jain
045ad4638e Merge branch 'feature/memprot_test_app_v5.0' into 'release/v5.0'
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3 (v5.0)

See merge request espressif/esp-idf!22582
2023-03-10 11:27:01 +08:00
Aditya Patwardhan
f31e3c1046 Merge branch 'fix/esp32_hw_mpi_data_corruption_v5.0' into 'release/v5.0'
esp32/mpi: Added alternate workaround for MPI data corruption issue (v5.0)

See merge request espressif/esp-idf!22581
2023-03-10 11:17:31 +08:00
Ivan Grokhotkov
72d59d1ced ci: add .cpp and .hpp files, but ignore nvs_storage.cpp
* nvs_storage.cpp seems to produce a false positive
2023-03-09 17:38:53 +08:00
isha.pardikar@espressif.com
0a47d78680 Doc : SPP server documentation fix
Closes https://github.com/espressif/esp-idf/issues/10930
2023-03-09 11:58:14 +05:30
Wang Meng Yang
e9092c2d2d Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time_v5.0' into 'release/v5.0'
support ble write and notify throughput test at the same time (backport v5.0)

See merge request espressif/esp-idf!22143
2023-03-09 11:38:15 +08:00
Zim Kalinowski
2a804de4b7 Merge branch 'staging/rename_twdt_config_examples_v5.0' into 'release/v5.0'
TWDT: Use the new TWDT Kconfig options in the examples and tests (Backport v5.0)

See merge request espressif/esp-idf!22631
2023-03-08 16:09:58 +08:00
Sarvesh Bodakhe
e111b46e7d esp_wifi: fix typo in wifi_enterprise example README
Closes https://github.com/espressif/esp-idf/issues/10042
2023-03-08 13:18:24 +05:30
Jakob Hasse
0eddee63e8 bugfix(nvs_flash): fixed potential memory leak in nvs::Storage::init() 2023-03-08 14:13:11 +08:00
Zim Kalinowski
416ada0ce1 Merge branch 'refactor/nvs_allocatable_objects_v5.0' into 'release/v5.0'
refactor(nvs): custom allocator for all objects allocated in NVS (v5.0)

See merge request espressif/esp-idf!21792
2023-03-07 14:15:49 +08:00
morris
a77d7d2343 Merge branch 'bugfix/timg0_disable_v5.0' into 'release/v5.0'
esp_system: Fix TIMG0 still enabled after Timer is freed (v5.0)

See merge request espressif/esp-idf!22630
2023-03-07 11:56:50 +08:00
Omar Chebib
83907aaa20 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
morris
2b6576ff08 Merge branch 'bugfix/some_small_fix_for_sleep_examples_backport_v5.0' into 'release/v5.0'
examples: some small fix for sleep examples(backport v5.0)

See merge request espressif/esp-idf!22618
2023-03-07 10:20:02 +08:00
morris
4cd4762b1f Merge branch 'bugfix/return_error_when_fail_detect_oct_psram_v5.0' into 'release/v5.0'
esp_psram: return error when fail to detect oct psram (v5.0)

See merge request espressif/esp-idf!22612
2023-03-07 10:18:28 +08:00
Gustavo Henrique Nihei
aab0a5a4a8 esp_system: Fix TIMG0 still enabled after Timer is freed
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Gustavo Henrique Nihei
24484887a9 esp_system: Ensure TIMG0 clock is always enabled during normal operation
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-07 10:02:06 +08:00
Laukik Hase
a2dd95434f memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-03-06 12:39:12 +00:00
morris
6b397d5114 Merge branch 'contrib/github_pr_10640_v5.0' into 'release/v5.0'
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR) (v5.0)

See merge request espressif/esp-idf!22588
2023-03-06 15:35:24 +08:00
Laukik Hase
d53d4ec930 esp32/mpi: Added alternate workaround for MPI data corruption issue
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
  MPI peripheral
- Updated the previous workaround added for the same issue as it
  was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
  enabled.
- The test performance numbers had to be updated due to the
  performance penalty introduced by this fix.

Closes https://github.com/espressif/esp-idf/issues/10403
2023-03-06 06:43:17 +00:00
jingli
cb64ff74fc system/test: use TEST_ESP_OK instead of ESP_ERROR_CHECK 2023-03-06 11:56:56 +08:00
jingli
38c25ebceb konfig: make rtc fast mem related kconfig depend on SOC_RTC_FAST_MEM_SUPPORTED 2023-03-06 11:53:35 +08:00
jingli
5d6c050376 examples/wifi/power_save: use 1000Hz freertos tick to lower sleep time threshold 2023-03-06 11:51:55 +08:00
jingli
63db044e9c esp32c2/ci: reenable deep sleep example test 2023-03-06 11:51:41 +08:00
jingli
c6fbdb4acb examples/system/deep_sleep:
Use nvs instead of RTC_DATA_ATTR to record deep sleep enter time when
the target chip does not have rtc mem.
2023-03-06 11:46:56 +08:00
jingli
a7be8fddcb examples/system/light_sleep:
Add some hints in README to remind users that they can try to power down
the CPU and SPI Flash for lower power consumption.
2023-03-06 11:46:37 +08:00