Commit Graph

17421 Commits

Author SHA1 Message Date
Song Ruo Jing
986094482b soc: Fix esp32c6 super watchdog wrong wprotect key causing chip keeps resetting due to swd 2022-11-01 17:21:49 +08:00
Rahul Tank
6f806e126b Merge branch 'feat/NimBLE-Blufi-custom-use' into 'master'
Nimble: Add support to expose blufi handler for external BLE application

See merge request espressif/esp-idf!20424
2022-11-01 16:20:28 +08:00
Song Ruo Jing
be0fdfa176 soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock 2022-11-01 11:23:26 +08:00
Song Ruo Jing
2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
Jiang Jiang Jian
e5dc9589c7 Merge branch 'bugfix/add_protection_for_mac_rst' into 'master'
esp_wifi: add protection for mac reset

Closes BT-2903

See merge request espressif/esp-idf!20828
2022-11-01 10:58:13 +08:00
David Čermák
b52e796654 Merge branch 'bugfix/wifi_netif_const_correct' into 'master'
esp-wifi/netif: Made esp_netif_create_wifi() const correct

Closes IDFGH-8500

See merge request espressif/esp-idf!20745
2022-10-31 21:31:30 +08:00
Mahavir Jain
6f10bb39d8 Merge branch 'docs/psram_heap_integrity_int_wdt' into 'master'
heap: Added note to increase INT_WDT timeout for integrity-check APIs

See merge request espressif/esp-idf!20852
2022-10-31 15:40:49 +08:00
liuning
57c394c4e0 esp_wifi: add protection for mac reset 2022-10-31 06:41:42 +00:00
Kapil Gupta
7278cf3e16 Merge branch 'feature/move_eloop_to_pptask' into 'master'
wpa_supplicant: Run eloop timer in ppTask context

Closes WIFI-4981

See merge request espressif/esp-idf!20481
2022-10-31 12:48:43 +08:00
Nachiket Kukade
f5bffc284c Merge branch 'bugfix/softap_pmf_espnow_issues' into 'master'
Fix some SoftAP PMF and espnow issues

Closes WIFI-4623

See merge request espressif/esp-idf!20734
2022-10-30 14:36:10 +08:00
Laukik Hase
d0b1b5a8aa
heap: Added note to increase INT_WDT timeout for integrity-check APIs
- When PSRAM is enabled, the heap integrity check APIs
  (`heap_caps_check_integrity` and `heap_caps_check_integrity_all`)
  take more time to execute and keep the interrupts disabled for a
  longer time.
2022-10-30 10:36:01 +05:30
Wang Meng Yang
d938cb7e28 Merge branch 'bugfix/spp_50005_crash' into 'master'
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections

Closes BT-2411

See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
Island
dd127151b8 Merge branch 'bugfix/fix_trans_optional_info_using_group_addr' into 'master'
ble_mesh: stack: Fix can't trans optional info to group address

See merge request espressif/esp-idf!20731
2022-10-28 17:05:18 +08:00
Kapil Gupta
b52659dd87 Merge branch 'bugfix/eloop_timer_crash' into 'master'
wpa_supplicant: Validate eloop struct before deleting it

Closes WIFI-4968

See merge request espressif/esp-idf!20818
2022-10-28 12:18:16 +08:00
Omar Chebib
65ecbb1b9b Merge branch 'contrib/github_pr_10027' into 'master'
[Panic] also print to secondary USB Serial/JTAG Console (GitHub PR)

Closes IDFGH-8578

See merge request espressif/esp-idf!20827
2022-10-28 12:04:36 +08:00
Armando (Dou Yiwen)
72a9bbebd3 Merge branch 'feature/united_sar_periph_ctrl' into 'master'
rtc: united sar peripheral control

Closes IDF-6110

See merge request espressif/esp-idf!20750
2022-10-28 10:46:54 +08:00
xiongweichao
01a67d001e bt: Keep the maximum number of credits unchanged 2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597 bt: Replaced the tx queue in SPP VFS mode with ringbuffer 2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e bt: Split SPP application layer data packets according to the MTU of the peer 2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291 bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size 2022-10-27 19:45:25 +08:00
Ivan Grokhotkov
47ba2b48ea
console: argtable3: upgrade to v3.2.2
Closes https://github.com/espressif/esp-idf/issues/9907
Closes https://github.com/espressif/esp-idf/pull/10016
2022-10-27 11:38:49 +02:00
Armando
260ee86c37 rtc: united sar peripheral control 2022-10-27 16:51:25 +08:00
Aditya Patwardhan
bd18096cb4 Merge branch 'refactor/merge_esp_hmac_headers_into_one' into 'master'
esp_hw_support: Merge HMAC layer into one

Closes IDF-3803

See merge request espressif/esp-idf!18742
2022-10-27 16:39:32 +08:00
Zim Kalinowski
0954c5e5d0 Merge branch 'refactor/nvs_define_ns_name_len' into 'master'
refactor(nvs): using define for namespace len instead of magic number

Closes IDFGH-8174

See merge request espressif/esp-idf!20353
2022-10-27 14:53:30 +08:00
Guillaume Souchere
ce895b87ab Merge branch 'feature/tlsf-dynamic-control-size' into 'master'
heap: Update to the new tlsf implementation of dynamic metadata size

See merge request espressif/esp-idf!20584
2022-10-27 13:54:45 +08:00
Aditya Patwardhan
f9565fd31d soc/esp_ds.h: Unify esp_ds error codes for all targets 2022-10-27 11:09:25 +05:30
Aditya Patwardhan
1fe32efae6 Add esp_hmac.c file 2022-10-27 11:08:01 +05:30
Aditya Patwardhan
c8a788ca24 esp_hw_support: Merge HMAC source files into one 2022-10-27 10:59:54 +05:30
Aditya Patwardhan
a5f1820120 esp_hw_support: Merge esp_hmac.h file for different targets into one 2022-10-27 10:59:54 +05:30
Mahavir Jain
b32a665f2c Merge branch 'bugfix/esp32_hardware_mpi_fix' into 'master'
esp32: mpi: add workaround for data corruption issue observed with IDF 5.x toolchain

Closes IDFGH-7102, IDFGH-7842, IDFGH-7714, IDFCI-1452, and IDF-6029

See merge request espressif/esp-idf!20647
2022-10-27 12:19:27 +08:00
Kapil Gupta
79b6e32ea7 wpa_supplicant: Validate eloop struct before deleting it 2022-10-27 09:16:18 +05:30
morris
37c2b64f06 Merge branch 'feature/put_rom_tlsf_patch_code_to_iram' into 'master'
esp_rom: put rom tlsf patch code in iram by default

See merge request espressif/esp-idf!20801
2022-10-27 11:19:48 +08:00
morris
b7e4a403a1 Merge branch 'test/freertos_in_flash_test_driver' into 'master'
driver: test with non-isr freertos functions in the flash

Closes IDF-6091

See merge request espressif/esp-idf!20788
2022-10-27 11:06:42 +08:00
Guillaume Souchere
508194be50 heap: Remove size check in multi_heap.c when registering a new heap
The tlsf now checks for size validity when creating a new heap.

The check previously done in multi_heap_register_impl() is no longer
valid since the tlsf_size() is not known at this time (as the metadata
size is linked ot the size of the memory region passed as parameter
when calling tlsf_create_with_pool())

The tlsf_create_with_pool() will return a null pointer if the size
of the memory is not big enough to hold the metadata overhead and
at least a small block.

Update the test according to the changes in TLSF API
2022-10-26 18:15:42 +02:00
Guillaume Souchere
6f11d0f297 heap: Update target and host tests after incorporation of the new TLSF implementation
- update the target and host tests to consider the new TLSF api and the metadata size
  only when the target is not using the rom implementation of the TLSF
2022-10-26 18:15:40 +02:00
Mahavir Jain
5863fdf560 Merge branch 'bugfix/wifi_prov_sec2_bluedroid' into 'master'
protocomm: Increase Bluedroid-BLE maximum buffer size

See merge request espressif/esp-idf!20744
2022-10-26 23:09:10 +08:00
Rahul Tank
a6251da049 Merge branch 'feature/LE_Conn_Subrating' into 'master'
Nimble: Stack support for Connection subrating

See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
jiangguangming
e41f4055ae esp_rom: put rom tlsf patch code in iram by default 2022-10-26 20:41:15 +08:00
Kapil Gupta
404aa30290 wpa_supplicant: Run eloop timer in ppTask context
Currently eloop runs in timer context which may cause some
inconsistent behavior.

Add changes to run eloop in ppTask context
2022-10-26 18:09:25 +05:30
Konstantin Kondrashov
554f3bdc38 Merge branch 'feature/efuse_migrate_from_ut_app_to_test_app' into 'master'
efuse: Migrate efuse unit tests from unit-test-app to component test app

Closes IDF-5570

See merge request espressif/esp-idf!20756
2022-10-26 18:25:20 +08:00
Zim Kalinowski
8dd900d949 Merge branch 'feature/freertos_disable_mutex_owner_check_for_smp' into 'master'
freertos-smp: Disable CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER for FreeRTOS SMP

Closes IDF-5296

See merge request espressif/esp-idf!20782
2022-10-26 17:47:37 +08:00
Island
afeb7dbbd8 Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram' into 'master'
Feature/esp32c2 optimize npl os freertos ram

Closes IDF-6100

See merge request espressif/esp-idf!20775
2022-10-26 16:52:35 +08:00
Omar Chebib
009d15e59d Merge branch 'staging/esp_timer_restart' into 'master'
esp_timer: add a function to restart timers

See merge request espressif/esp-idf!20386
2022-10-26 16:37:33 +08:00
Laukik Hase
c7142f274b
protocomm: Increase Bluedroid-BLE maximum buffer size
- For the security2 scheme, the payload size is quite larger
  than that for security1.
2022-10-26 13:34:39 +05:30
Jiang Jiang Jian
f191b2f034 Merge branch 'bugfix/fix_xtal_related_rtc_params_for_esp32' into 'master'
esp32/rtc: fix xtal unstable in some cases when sleep

Closes ESPCS-869

See merge request espressif/esp-idf!20425
2022-10-26 15:57:48 +08:00
Guillaume Souchere
7de6565722 heap: fix comment and return condition in heap_caps_check_add_region_allowed()
(See  cd805a5ab1)
2022-10-26 09:49:43 +02:00
Guillaume Souchere
90ac786cf4 heap: Update the component to incorporate the new TLSF implementation
- remove tlsf_platform.h from esp-idf since the fl_index is now calculated
  based on the size of the requested heap
- update CMakeLists.txt accordingly

* based on the changes made to the TLSF in https://github.com/espressif/esp-idf/pull/7829
* contributes to fix https://github.com/espressif/esp-idf/issues/7822
2022-10-26 09:47:45 +02:00
KonstantinKondrashov
beba771031 efuse: Migrate efuse unit tests from unit-test-app to component test app 2022-10-26 15:41:48 +08:00
Wang Meng Yang
db9caf4354 Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
bt: Fixed SPP VFS mode not being able to send data

See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Sudeep Mohanty
d050b2b63c freertos-smp: Disable CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER for FreeRTOS SMP
An explicit check of the mutex owner during a mutex release operation is
not necessary for FreeRTOS SMP as this is checked by default. Hence, the
corresponding Kconfig option is removed.
2022-10-26 09:02:55 +02:00