Commit Graph

19550 Commits

Author SHA1 Message Date
wuzhenghui
ade6d3e5bc esp_hw_support: support esp32h2 modem_clock driver 2023-03-29 13:23:32 +08:00
wuzhenghui
485f2882d1 modem_clock: rename modem_clock_lp_timer to ble_rtc_timer 2023-03-29 13:23:32 +08:00
wuzhenghui
43a9456243 modem_clock: implemented the modem clock hal/ll-layer (include modem syscon and lpcon) for esp32h2 2023-03-29 13:23:27 +08:00
Jiang Jiang Jian
f1c03f0dda Merge branch 'bugfix/add_ndp_timeout' into 'master'
Modifications in NAN datapath API

Closes WIFI-5520

See merge request espressif/esp-idf!22817
2023-03-29 12:39:12 +08:00
Jiang Jiang Jian
ce8f51a2f8 Merge branch 'bugfix/remove_Wno_format_in_esp_phy_esp_wifi_and_wpa_supplicant_components' into 'master'
Remove -Wno-format in esp_phy, esp_wifi, part of wpa_supplicant components

Closes IDF-6799

See merge request espressif/esp-idf!22827
2023-03-29 12:35:22 +08:00
Mahavir Jain
f22daec784 Merge branch 'feature/secure_set_efuses_to_prevent_brick_chip' into 'master'
security: write-protect DIS_ICAHE and DIS_DCACHE

Closes IDF-5177

See merge request espressif/esp-idf!22640
2023-03-29 11:51:09 +08:00
Marius Vikhammer
2608c1ec1e system: remove unused C2 cache kconfig option 2023-03-29 10:06:13 +08:00
KonstantinKondrashov
a3232e4a5b bootloader: Adds an option to leave DIS_CACHE writeable 2023-03-29 00:02:25 +08:00
KonstantinKondrashov
199e5abbf3 efuse: Adds WR_DIS.DIS_CACHE for esp32 and WR_DIS.DIS_ICACHE for rest chips
C2 chip does not have such fields
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
b950f5de8d efuse: Fix handling aliases in efuse_table_gen 2023-03-29 00:02:24 +08:00
KonstantinKondrashov
723b2e86e5 security: write-protect DIS_ICAHE and DIS_DCACHE
Closes IDF-5177
2023-03-29 00:02:24 +08:00
KonstantinKondrashov
975c138fad esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
It makes multicore app runnable by unicore bootloader

Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00
Shu Chen
37ac0ad851 Merge branch 'bugfix/add_lqi_transmission' into 'master'
openthread: add transmission of LQI

See merge request espressif/esp-idf!22918
2023-03-28 21:06:32 +08:00
Rocha Euripedes
98b75727ba Merge branch 'feature/socks_transport' into 'master'
tcp_transport: Adds SOCKS4 proxy transport

See merge request espressif/esp-idf!20479
2023-03-28 20:33:28 +08:00
Zim Kalinowski
fb7aafd348 esp_system: fix and reenable no-format warning 2023-03-28 13:42:44 +02:00
Nachiket Kukade
7ee27bc956 wpa_supplicant: Fix infinite loop in PMK mismatch case in WPA3 SoftAP 2023-03-28 16:52:16 +05:30
Kevin (Lao Kaiyao)
7c5d65b82b Merge branch 'contrib/github_pr_10997' into 'master'
i2s: intrerrupt fix (GitHub PR)

Closes IDFGH-9650 and IDFGH-9654

See merge request espressif/esp-idf!22945
2023-03-28 18:35:01 +08:00
Zim Kalinowski
a7126377f0 Merge branch 'ci/enable_freertos_ignore' into 'master'
freertos: re-enable "mutex released not by owner causes an assert" test in CI

Closes IDF-6613 and IDF-6614

See merge request espressif/esp-idf!22910
2023-03-28 17:36:11 +08:00
Zim Kalinowski
ee842a1386 Merge branch 'feature/fix_load_efuses_from_flash_when_real_fe_is_on' into 'master'
efuse(virtual mode): Fix load_efuses_from_flash when FE is on

Closes IDFGH-9580

See merge request espressif/esp-idf!22793
2023-03-28 17:32:11 +08:00
Marius Vikhammer
f627506f6b ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
Ivan Grokhotkov
da6041e1b5 Merge branch 'bugfix/sdmmc_host_cclk_lp' into 'master'
sdmmc: keep clock enabled for the duration of ACMD41

Closes IDF-6004

See merge request espressif/esp-idf!20470
2023-03-28 15:29:46 +08:00
dizcza
b44c89db9e i2s interrupt fix
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 14:34:31 +08:00
Jiang Guang Ming
a32699c2a7 Merge branch 'feature/support_flash_mmap_pytest_c6_h2' into 'master'
spi_flash: support flash mmap pytest c6 h2

Closes IDF-7009

See merge request espressif/esp-idf!22935
2023-03-28 14:02:03 +08:00
Marius Vikhammer
a5c70c24e5 Merge branch 'bugfix/memprot_cleanup_iram_attr' into 'master'
memprot: move memprot functions out of IRAM

See merge request espressif/esp-idf!20697
2023-03-28 10:18:22 +08:00
Euripedes Rocha
d6db90a3cd [tcp_transport] - Adds Socks4 proxy transport
- Basic implementation of Socks4 protocol.
- Introduce basic host testing.
2023-03-27 14:46:40 +02:00
Ivan Grokhotkov
7524f40b21
sdmmc: keep clock enabled for the duration of ACMD41
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-03-27 14:09:02 +02:00
Marius Vikhammer
914bb81b95 ci: move linux host tests to test app folder 2023-03-27 17:41:44 +08:00
Jiang Guang Ming
e8e58f57a8 spi_flash: support flash mmap pytest on C6 and H2 2023-03-27 00:22:58 -07:00
muhaidong
61a5785414 Remove -Wno-format in esp_phy, esp_wifi, wpa_supplicant components 2023-03-27 06:42:08 +00:00
Mahavir Jain
496cd83944
Fix coverity warning in esp-tls component
The regressions was introduced in the commit: 0abd1cb51f
2023-03-27 12:03:49 +05:30
C.S.M
b55df8e505 Merge branch 'bugfix/atomic_iram' into 'master'
newlib: Put atomic function in IRAM

See merge request espressif/esp-idf!22913
2023-03-27 12:23:04 +08:00
C.S.M
4bff4ed6e5 Merge branch 'bugfix/mmu_stale_data' into 'master'
MMU: Fix stale data being read on memory mapped instruction page

Closes IDF-7057 and IDF-4969

See merge request espressif/esp-idf!22826
2023-03-27 11:21:00 +08:00
Zim Kalinowski
b7f88e05b7 Merge branch 'bugfix/ulp_fsm_sleep_tests' into 'master'
ulp-fsm: fixed potential sleep tests failures

Closes IDFCI-1665

See merge request espressif/esp-idf!22869
2023-03-26 15:55:59 +08:00
KonstantinKondrashov
3a31a4c885 efuse: Enable and adjust some efuse tests for H2 chip 2023-03-24 17:21:32 +00:00
Mahavir Jain
f1465c6ad8 Merge branch 'featue/factory_reset_state' into 'master'
bootloader_support: Adds API to detect Factory reset has happened

Closes IDFGH-9379

See merge request espressif/esp-idf!22822
2023-03-24 21:32:30 +08:00
Rahul Tank
ff88044a44 Merge branch 'bugfix/warning_cur_len' into 'master'
NimBLE: Fixed warning cur_len unused

See merge request espressif/esp-idf!22855
2023-03-24 19:09:50 +08:00
Cao Sen Miao
5bac46b3e8 MMU: Fix stale data being read on memory mapped instruction page 2023-03-24 18:59:57 +08:00
Zim Kalinowski
bd4995c481 Merge branch 'feature/run_stack_smash_check_in_ci' into 'master'
system: enable stack smashing protection test

Closes IDF-6612

See merge request espressif/esp-idf!22894
2023-03-24 18:33:19 +08:00
Mahavir Jain
8d90249829 Merge branch 'contrib/github_pr_10967' into 'master'
[esp-tls] Add addr_family option to esp_tls_cfg_t (GitHub PR)

Closes IDFGH-9620

See merge request espressif/esp-idf!22892
2023-03-24 18:02:31 +08:00
Ivan Grokhotkov
58544727fb Merge branch 'bugfix/sdmmc_freq_set_probing' into 'master'
sdmmc: also set card->real_freq_khz field for probing frequency

See merge request espressif/esp-idf!22908
2023-03-24 18:01:46 +08:00
Rahul Tank
f1084c26cd Merge branch 'feature/add_power_control_soc_cap' into 'master'
Add Power control specific soc capability

See merge request espressif/esp-idf!22871
2023-03-24 17:43:37 +08:00
Euripedes Rocha
1acfc9b5e0 ci: Migrateunit test for mqtt test to unit test app
- Split mqtt and mqtt5 tests
 - Move common test code to a common component
 - Add necessary python scripts
2023-03-24 10:32:43 +01:00
Sachin Parekh
089b11c989 Merge branch 'h2/support-ecdsa' into 'master'
H2: Add support for ECDSA peripheral

Closes IDF-6287

See merge request espressif/esp-idf!22663
2023-03-24 17:11:36 +08:00
Shyamal Khachane
2f6517b44b Modify API esp_wifi_nan_datapath_req() to return ndp_id after datapath is accepted/rejected 2023-03-24 12:52:02 +05:30
Abhik Roy
1343b908fa Merge branch 'lwip/esp_netif_napt_enable' into 'master'
lw-ip/esp_napt: Added api to enable/disable napt based on esp_netif.

See merge request espressif/esp-idf!22088
2023-03-24 15:14:15 +08:00
Xu Si Yu
7b735a8568 openthread: add transmission of LQI 2023-03-24 14:51:03 +08:00
Rahul Tank
9179456c48 Add Power control specific soc capability 2023-03-24 10:56:03 +05:30
isha.pardikar@espressif.com
e987b80d90 NimBLE: Fixed warning cur_len unused 2023-03-24 10:48:07 +05:30
Sachin Parekh
e26018d8ee h2/clk_gate: Clear reset signal of ECDSA peripheral before enabling SHA, RSA or ECC 2023-03-24 10:43:48 +05:30
Sachin Parekh
d2940c5ff3 mbedtls: Add port layer for ECDSA peripheral 2023-03-24 10:43:40 +05:30
Sachin Parekh
d345c684ba esp32h2: Add support for ECDSA peripheral 2023-03-24 10:43:40 +05:30
Isha Pardikar
d6f49becff Merge branch 'feature/services' into 'master'
NimBLE : Added heart rate measurement as a service

See merge request espressif/esp-idf!22781
2023-03-24 13:13:34 +08:00
Kapil Gupta
5186b018c0 wpa_supplicant: Get WPS credential in passphrase format
Closes https://github.com/espressif/esp-idf/issues/10339
2023-03-24 10:40:04 +05:30
Cao Sen Miao
e5355e57a1 newlib: Put atomic function in IRAM 2023-03-24 11:18:55 +08:00
Mahavir Jain
55fd7d43c1 Merge branch 'feature/heap-alloc-free-callbacks' into 'master'
heap: Add allocation and free function hooks.

Closes IDFGH-9424

See merge request espressif/esp-idf!22456
2023-03-24 10:55:11 +08:00
Marius Vikhammer
bf8934002b freertos: re-enable "mutex released not by owner causes an assert" test in CI 2023-03-24 10:19:51 +08:00
Ivan Grokhotkov
bfc39e845e
sdmmc: also set card->real_freq_khz for probing frequency 2023-03-23 23:28:54 +01:00
Jiang Jiang Jian
e797a06120 Merge branch 'bugfix/unify_btbb_init' into 'master'
esp_phy: added API esp_btbb_disable

See merge request espressif/esp-idf!22806
2023-03-23 20:34:03 +08:00
Island
12b1028329 Merge branch 'bugfix/ble_mesh_stack_minor_fixes' into 'master'
ble_mesh: stack: Minor fix for provisioner provisioning timeout

See merge request espressif/esp-idf!22883
2023-03-23 19:34:11 +08:00
Jiang Jiang Jian
5c4f029372 Merge branch 'mesh/bugfix_fix_bugs_for_mesh_network' into 'master'
wifi_mesh: fix bugs for mesh network

Closes WIFI-5299 and IDFGH-8497

See merge request espressif/esp-idf!22875
2023-03-23 17:39:47 +08:00
Abhik Roy
8e71e96603 lwip/esp_napt: Added api to enable/disable napt based on esp_netif. 2023-03-23 20:38:03 +11:00
Jiang Jiang Jian
b6fda9723e Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
Fixed bluedroid host ATT Ignore wrong response error

Closes BLEQABR23-30 and BT-3224

See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
KonstantinKondrashov
88ef0d8aeb efuse: Fix load_efuses_from_flash when FE is on
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.

Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.

Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-23 16:20:43 +08:00
Song Ruo Jing
5e29b12fb3 Merge branch 'bugfix/pmu_struct_h2' into 'master'
soc: Fix struct volatile rule in h2 pmu_struct.h

See merge request espressif/esp-idf!22879
2023-03-23 16:09:07 +08:00
Marius Vikhammer
783d8c20e3 system: enable stack smashing protection test 2023-03-23 14:27:34 +08:00
Wan Lei
896f046ac2 Merge branch 'feature/support_spi_slave_hd_append_later_s2' into 'master'
spi_slave: support spi slave hd append mode on chips other than s2

Closes IDF-2943

See merge request espressif/esp-idf!19557
2023-03-23 14:19:32 +08:00
wangmengyang
cbb8bf9f88 esp_phy: added API esp_btbb_disable
APIs esp_btbb_enable and esp_btbb_disable are supposed to be used by 802.15.4 and Bluetooth module, and implemented with reference counter for resource management
2023-03-23 05:40:32 +00:00
isha.pardikar@espressif.com
fc0aa4d083 NimBLE : Added heart rate measurement as a service 2023-03-23 11:04:00 +05:30
Guillaume Souchere
2f982107dc heap: Wrap the function hook feature under a configuration
also update heap_debug.rst and mem_alloc.rst to provide information about the feature
2023-03-23 04:50:49 +00:00
Guillaume Souchere
5a1f0cd63c heap: Make weak declaration for the alloc and free callbacks
- Fix "test get allocated size"
- Add tests for the free / alloc hooks
- Call alloc function hook on malloc/realloc/calloc base functions
- Add caps parameter to the allocation hook function
2023-03-23 04:50:49 +00:00
Chip Weinberger
1588c61c7b [Heap] new api for user heap trace callbacks 2023-03-23 04:50:49 +00:00
Mahavir Jain
86b6f87d68 Merge branch 'bugfix/ram_loadable_elf_flash_mmap_issue' into 'master'
Fix flash mmap data integrity issue for RAM loadable ELF case

See merge request espressif/esp-idf!22802
2023-03-23 12:13:35 +08:00
wangjialiang
bb316f96f2 ble_mesh: stack: add description of internal BQB Test 2023-03-23 11:10:08 +08:00
Jiang Jiang Jian
defae704e4 Merge branch 'bugfix/delay_report_memory_leak' into 'master'
bugfix: fixed memory leak in AVDT delay report

Closes BTQABR2023-12

See merge request espressif/esp-idf!22870
2023-03-23 10:55:47 +08:00
Armando (Dou Yiwen)
7905961053 Merge branch 'docs/esp_mm_programming_guide' into 'master'
docs: mmu supported memory management programming guide

Closes IDF-7006

See merge request espressif/esp-idf!22851
2023-03-23 10:41:07 +08:00
lly
43c9814387 ble_mesh: stack: Minor fix for provisioner provisioning timeout 2023-03-23 10:26:23 +08:00
Darian
c71025d6d6 Merge branch 'refactor/freertos_config_files' into 'master'
FreeRTOS: Combine FreeRTOSConfig.h

Closes IDF-6082

See merge request espressif/esp-idf!22815
2023-03-22 22:01:37 +08:00
wuzhenghui
a76dee171e esp32h2: update esp32h2 modem_clock soc_caps 2023-03-22 21:54:32 +08:00
wuzhenghui
14475f0925 soc: regenerate modem header with regtool 2023-03-22 21:53:26 +08:00
Song Ruo Jing
9f972efac0 soc: Fix struct volatile rule in h2 pmu_struct.h 2023-03-22 19:41:40 +08:00
Jakob Hasse
6382fc3d6b Merge branch 'feature/pthread_semaphore' into 'master'
pthread: POSIX unnamed semaphore

Closes IDF-6936

See merge request espressif/esp-idf!22585
2023-03-22 19:03:12 +08:00
Tomas Rezucha
f3de7e574d Merge branch 'bugfix/usb_reg_header_definition_upd' into 'master'
USB: usb_reg.h update missing register bitfield description

See merge request espressif/esp-idf!22766
2023-03-22 17:43:43 +08:00
Armando
abb03b8dc4 doc: added memory management programming guides 2023-03-22 16:33:52 +08:00
zhangyanjiao
c7e0fa5f6a wifi_mesh: update mesh doc 2023-03-22 16:32:43 +08:00
Darian Leung
54deed0566 freertos: Uncrustify FreeRTOSConfig files 2023-03-22 16:32:29 +08:00
Darian Leung
6895e92fd2 freertos: Combine Amazon SMP FreeRTOS and IDF FreeRTOS config files
This commit merges the "FreeRTOSConfig_smp.h" file into the "FreeRTOSConfig.h".
The configurations for all FreeRTOS implementations are now stored in a single
file.
2023-03-22 16:32:29 +08:00
Darian Leung
63f318b85b freertos: Refactor FreeRTOSConfig_arch.h
This commit removes or adds some misplaced configs from the
FreeRTOSConfig_arch.h headers of each architecture.
2023-03-22 16:32:29 +08:00
Darian Leung
05bda6595d freertos: Move FreeRTOSConfig_arch.h
This commit moves the FreeRTOSConfig_arc.h to the "esp_additions" directory
so that they can also be used for SMP FreeRTOS builds.
2023-03-22 16:32:29 +08:00
Island
ec030b358a Merge branch 'feature/ble_mesh_console_stack_update' into 'master'
ble_mesh: stack: Update stack to solve several problems

See merge request espressif/esp-idf!22499
2023-03-22 16:17:46 +08:00
Jiang Jiang Jian
0fc51ea908 Merge branch 'bugfix/hfp_ag_cannot_init_conn' into 'master'
bt: Fixed the index out of bounds of hfp_ag BTC control block

Closes IDFGH-9452

See merge request espressif/esp-idf!22485
2023-03-22 15:45:38 +08:00
Jin Cheng
439d285c4a Fixed memory leak in AVDT delay report 2023-03-22 15:30:06 +08:00
David Čermák
826c927c09 Merge branch 'bugfix/lwip_remove_afl' into 'master'
lwip: Remove AFL based fuzzer tests

See merge request espressif/esp-idf!22805
2023-03-22 14:59:50 +08:00
Jin Cheng
1d32c85f18 Fixed the index out of bounds of hfp_ag BTC control block 2023-03-22 13:17:33 +08:00
zhangyanjiao
1cd056b49e wifi_mesh: Fix several bugs on mesh network 2023-03-22 11:44:12 +08:00
Marius Vikhammer
b7fcf1c139 ulp-fsm: fixed potential sleep tests failures
If the ULP sent the wake-up signal before the main CPU went to sleep,
then the test case would get stuck in sleep.

Increased delay before sending the wake-up signal.
2023-03-22 11:39:33 +08:00
wangjialiang
c266dedb1f ble_mesh: stack: bug fix in bqb 2023-03-22 11:28:29 +08:00
wangjialiang
45015940eb ble_mesh: add BQB LOG 2023-03-22 11:27:09 +08:00
luoxu
f4f192ed70 ble_mesh: stack: forward rfu dst for the case NODE/RLY/BV-01 2023-03-22 11:27:09 +08:00
luoxu
a7d8caf7c6 ble_mesh: stack: add send transaction ack befor provisioner send prov failed msg 2023-03-22 11:27:09 +08:00
luoxu
c159572004 ble_mesh: stack: for the case MESH/PVNR/PBADV/BV-01, add the close link reason before reset link 2023-03-22 11:27:09 +08:00
Shen Wei Long
ab63aaa4a2 Merge branch 'feature/update_bluedriod_examples_for_esp32h2_ble' into 'master'
Feature/update bluedriod examples for esp32h2 ble

Closes IDF-6921

See merge request espressif/esp-idf!22634
2023-03-22 10:56:28 +08:00
KonstantinKondrashov
efbafb873b bootloader_support: Adds API to detect Factory reset has happened
Closes https://github.com/espressif/esp-idf/issues/10753
2023-03-22 02:21:54 +08:00
Ondrej Kosta
531e23c802 Merge branch 'bugfix/dm9051_rcv_mcast' into 'master'
esp_eth: allowed DM9051 to receive multicast packets

See merge request espressif/esp-idf!22768
2023-03-21 22:55:44 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be Merge branch 'feat/merge_nuttx_patch' into 'master'
G0, G1: fix issues that prevents using G0/G1 components on other platforms

See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00
Jiang Jiang Jian
4c75ad94d7 Merge branch 'bugfix/sta_sa_query_process' into 'master'
esp_wifi: Improve station SA query procedure handling

Closes WIFI-5525

See merge request espressif/esp-idf!22686
2023-03-21 17:23:28 +08:00
Rahul Tank
e32083c859 Merge branch 'feature/write_blob' into 'master'
NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN

See merge request espressif/esp-idf!22808
2023-03-21 16:33:01 +08:00
Mahavir Jain
bdf8f1c382 Merge branch 'contrib/github_pr_10715' into 'master'
Add user_data accessor and mutator to esp_http_client (GitHub PR)

Closes IDFGH-9337 and IDFGH-9221

See merge request espressif/esp-idf!22751
2023-03-21 14:07:31 +08:00
Armando (Dou Yiwen)
75fc5a2512 Merge branch 'bugfix/mspi_timing_tuning_ll_assertion_disable_build_fail_issue' into 'master'
mspi: fix build failure under  assertion disable

Closes IDF-7077

See merge request espressif/esp-idf!22835
2023-03-21 12:37:21 +08:00
zhangwenxu
2f952f308f coex: fix unused macro on esp32h2 2023-03-21 11:51:06 +08:00
wanlei
45d745f853 spi_slave: add multi board test case for spi slave hd append mode 2023-03-21 11:30:17 +08:00
wanlei
66ca403bc6 spi_slave: support spi slave hd append mode on chips other than s2 2023-03-21 11:30:17 +08:00
Jakob Hasse
45c8b8ba10 pthread: Implemented POSIX unnamed semaphore 2023-03-21 10:23:58 +08:00
Armando
eee34bcf70 mspi: fix build failure under assertion disable 2023-03-21 10:14:59 +08:00
David Cermak
924bac9956 lwip: Remove AFL based fuzzer tests
Also removed compilation pre-checks and jobs from the CI, and test data
2023-03-20 17:47:23 +00:00
Sarvesh Bodakhe
56dd04c7f6 esp_wifi: improve station SA query procedure handling
1. disable SA query timers when station disconnect and other SA query related improvements
2. send appropriate reason code in 4 way handshake failure
2023-03-20 19:35:42 +05:30
Jiang Jiang Jian
29737e1bc8 Merge branch 'feat/dynamic_carrier_sense' into 'master'
esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env and fix tx fragment issue

Closes WIFI-5106 and WIFI-5529

See merge request espressif/esp-idf!21919
2023-03-20 20:24:53 +08:00
Shen Weilong
90d6b9cbd7 ble: Update README files for bluedroid host examples on ESP32-H2
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00
Shen Weilong
16a05153c9 esp_phy: delete phy_multiple_init_data.bin for esp32h2 2023-03-20 19:09:29 +08:00
Darian
bd87e61e6f Merge branch 'refactor/freertos_remove_xTaskRemoveFromUnorderedEventList_define' into 'master'
FreeRTOS: Remove xTaskRemoveFromUnorderedEventList compatibility define

See merge request espressif/esp-idf!22813
2023-03-20 19:01:27 +08:00
Jiang Jiang Jian
bb9200acec Merge branch 'support/esp32c6_csl_feature_merge' into 'master'
openthread_port: support CSL on esp32c6

Closes TZ-41

See merge request espressif/esp-idf!22259
2023-03-20 17:01:29 +08:00
Jiang Jiang Jian
e4cf722248 Merge branch 'bugfix/lwip_no_garp_for_any_addr' into 'master'
lwip: Send Periodic Gratuitous ARP only on valid IPv4

See merge request espressif/esp-idf!22807
2023-03-20 16:51:14 +08:00
zhiweijian
3be3bef3a6 set BT_CTRL_BLE_MAX_ACT default value to 6 2023-03-20 15:54:47 +08:00
zhiweijian
7ad9e885e4 If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED 2023-03-20 15:54:32 +08:00
Jiang Jiang Jian
deb966c6a7 Merge branch 'bugfix/fix_esp32c2_espnow_enter_modem_sleep_unexpectly' into 'master'
esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2

See merge request espressif/esp-idf!22809
2023-03-20 14:19:18 +08:00
Jiang Jiang Jian
fdea5289a2 Merge branch 'bugfix/static_ram_size' into 'master'
system: fixed USE_FIXED_STATIC_RAM_SIZE option

See merge request espressif/esp-idf!21368
2023-03-20 13:57:38 +08:00
Mahavir Jain
7b995355ba
startup: fix incorrect MMU configuration issue for the RAM loadable ELF
For RAM loadable ELF, entire firmware is running from RAM and hence the
IROM/DROM size must be treated as 0 (no cache mappings created for
code/rodata).
2023-03-20 11:12:06 +05:30
Mahavir Jain
bad4cd7072
spi_flash: RAM loadable ELF should have dangerous writes option allowed
For RAM loadable ELF case, there is no application or the bootloader on
the flash. And hence the check for getting current running OTA partition
or looking up partition table fails during dangerous writes option.

We are disabling the dangerous writes option for RAM loadable ELF case
and allowing writes to entire flash memory.
2023-03-20 11:10:29 +05:30
Jiang Jiang Jian
0b043f0488 Merge branch 'feature/add_menuconfig_of_calibration_mode' into 'master'
esp_phy: add menuconfig of phy calibration mode

Closes WIFI-5409 and WIFI-5485

See merge request espressif/esp-idf!22714
2023-03-20 12:46:45 +08:00
Jiang Jiang Jian
12b44b3a0a Merge branch 'bugfix/update_config_in_esp32h2_chip' into 'master'
ble: update config in esp32h2 chip

See merge request espressif/esp-idf!22708
2023-03-20 12:09:52 +08:00
Island
b5549cb373 Merge branch 'feature/ble_mesh_add_bqb_log_test_macro' into 'master'
ble_mesh: stack: Add macros for BQB test to enable some internal function or log

See merge request espressif/esp-idf!22540
2023-03-20 11:43:53 +08:00
muhaidong
f1cec643a7 esp_phy: add menuconfig of phy calibration mode 2023-03-20 11:16:37 +08:00
muhaidong
7207194442 disable reduce PHY TX power when brownout reset 2023-03-20 11:10:32 +08:00
zhangwenxu
29d5873819 openthread_port: support CSL on esp32c6 2023-03-20 10:24:28 +08:00
Jakob Hasse
7dbe9687f9 Merge branch 'bugfix/esp_shared_stack_watchpoint_setting' into 'master'
bugfix(esp_system): made watchpoint setting configuration-dependent

Closes IDFGH-9003

See merge request espressif/esp-idf!21738
2023-03-20 10:19:05 +08:00
Alexey Lapshin
9176f83a0b Merge branch 'fix/app_trace_fwrite_fread' into 'master'
app_trace: fix fwrite/fread return value

See merge request espressif/esp-idf!22757
2023-03-19 20:27:28 +08:00
Wu Zheng Hui
a79c5ef7ed Merge branch 'bugfix/esp32c6_deep_sleep_minor_fixes' into 'master'
bugfix: esp32c6 deep sleep minor fixes

Closes WIFI-5559, WIFI-5425, WIFI-3494, WIFI-3495, WIFI-4163, and WIFI-4164

See merge request espressif/esp-idf!22697
2023-03-18 14:41:43 +08:00
Kevin (Lao Kaiyao)
d659991bbb Merge branch 'feature/gpio_runtime_preserve' into 'master'
gpio: support runtime reserve

Closes IDF-6731

See merge request espressif/esp-idf!22223
2023-03-18 10:55:44 +08:00
Kevin (Lao Kaiyao)
2d14ba2b91 Merge branch 'feature/analog_comparator_h2' into 'master'
Introduce the Analog Comparator driver

Closes IDF-6817

See merge request espressif/esp-idf!22355
2023-03-18 00:42:20 +08:00
Darian Leung
4f8c6c6277 freertos: Remove xTaskRemoveFromUnorderedEventList compatibility define
xTaskRemoveFromUnorderedEventList is a scheduler internal function, thus will
never be called by users. Therefore, the compatbility define is not necessary.
2023-03-17 20:15:13 +08:00
wuzhenghui
cb55d51be4 bugfix: set I2C_MST_SEL_160M always be 1 2023-03-17 19:45:56 +08:00
wuzhenghui
bace80016d bugfix: fix misspell 2023-03-17 19:45:56 +08:00
wuzhenghui
94034246b2 bugfix: close rf in deep sleep prepare to reduce base current 2023-03-17 19:45:56 +08:00
wuzhenghui
8e397f9bd9 bugfix: no need to do retention in deepsleep 2023-03-17 19:45:56 +08:00
wuzhenghui
c50e5d45a3 feature: add deep sleep prepare callback hook 2023-03-17 19:45:56 +08:00
wuzhenghui
acecfe4ba5 bugfix: Slow clock power domain management has been maintained in pd_flags 2023-03-17 19:42:01 +08:00
wuzhenghui
902064df7d soc_caps: enable SOC_PM_SUPPORT_RTC_PERIPH_PD 2023-03-17 19:42:01 +08:00
Jiang Jiang Jian
68185c11bd Merge branch 'bugfix/fix_unit_test_for_esp_phy' into 'master'
esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6

Closes WIFI-5112

See merge request espressif/esp-idf!22787
2023-03-17 17:56:21 +08:00
isha.pardikar@espressif.com
e985cc521b NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN 2023-03-17 15:25:08 +05:30
liuning
a36caf48fe esp_wifi: fix espnow unexpectly enter modem sleep on esp32c2 2023-03-17 17:33:46 +08:00
Jiang Jiang Jian
73c06b5039 Merge branch 'bugfix/sleep_current_issue_caused_by_sar_adc' into 'master'
sleep current issue caused by sar adc

Closes IDF-6111 and WIFI-4370

See merge request espressif/esp-idf!22769
2023-03-17 17:32:59 +08:00
David Cermak
97e785c01d lwip:esp_netif: Send Periodic Gratuitous ARP only on valid IPv4
It was possible that the device would send a Gratuitous ARP before
acquiring a valid address, advertising it has 0.0.0.0 address.
2023-03-17 09:18:53 +01:00
Jiang Jiang Jian
16f6ea4e3a Merge branch 'feature/support_esp32h2_libcoex' into 'master'
coex: support esp32h2 coex lib

See merge request espressif/esp-idf!22654
2023-03-17 16:02:19 +08:00
Jiang Jiang Jian
159edc5d86 Merge branch 'bugfix/h2_controller' into 'master'
Bluetooth : Fixed h2 controller function definition

See merge request espressif/esp-idf!22796
2023-03-17 15:20:35 +08:00
Jiang Jiang Jian
2658fb7623 Merge branch 'feature/add_memprot_support_for_esp32h2' into 'master'
esp32h2: enable memory protection scheme using PMA and PMP

Closes IDF-6452 and IDF-6332

See merge request espressif/esp-idf!22699
2023-03-17 15:19:52 +08:00
Marius Vikhammer
43784e7a24 memprot: move memprot functions out of IRAM
Memprot functions are no longer placed by default in IRAM,
selecting ESP_PANIC_HANDLER_IRAM will still force panic related memprot
functions to be placed in IRAM.
2023-03-17 14:51:20 +08:00
laokaiyao
53584bb5a7 ana_cmpr: add programming guide 2023-03-17 14:35:55 +08:00
Jiang Jiang Jian
3f3a2cf560 Merge branch 'bugfix/fix_systimer_stall_issue_in_lightsleep' into 'master'
rtc_sleep: workaround systimer stall issue during sleep on ESP32C3

See merge request espressif/esp-idf!22739
2023-03-17 14:16:36 +08:00
Li Shuai
a25ce78392 sleep: fix sleep current issue caused by sar adc 2023-03-17 13:06:39 +08:00
laokaiyao
c9f780dc2e gpio: support runtime preserve 2023-03-17 11:59:49 +08:00
laokaiyao
24361f232d ana_cmpr: add an example and test cases 2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8 ana_cmpr: designed driver layer 2023-03-17 11:38:32 +08:00
morris
11cdbf2da0 driver: added analog comparator driver 2023-03-17 11:38:32 +08:00
morris
eb7ccbd174 hal: added analog comparator's LL driver 2023-03-17 11:38:32 +08:00
chenjianxing
b09a4e29c9 esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env.
esp_wifi: fix potential issue when tx fragment pkt

Closes WIFI-5106

Closes WIFI-5529
2023-03-17 11:23:59 +08:00
Alexey Lapshin
8c7c653a7f app_trace: fix fwrite/fread return value 2023-03-17 00:15:07 +08:00
Mahavir Jain
4f0769d2ed Merge branch 'ci/fix_efuse_tests_when_blocks_are_not_free' into 'master'
efuse: Fix some tests, some CI chips may already have blocks written

See merge request espressif/esp-idf!22794
2023-03-16 21:43:56 +08:00
isha.pardikar@espressif.com
7d3e347ba2 Bluetooth : Fixed h2 controller function definition 2023-03-16 18:03:39 +05:30
Zim Kalinowski
7c090d9a42 Merge branch 'bugfix/bootloader-ignored-warnings' into 'master'
bootloader: fix and re-enable no-format warnings

Closes IDF-6789

See merge request espressif/esp-idf!22715
2023-03-16 19:57:58 +08:00
KonstantinKondrashov
77a8b1afef efuse: Fix some tests, some CI chips may already have blocks written 2023-03-16 18:19:08 +08:00
zhangwenxu
b596c28a22 coex: support esp32h2 coex lib 2023-03-16 17:23:43 +08:00
Marius Vikhammer
585f05596b system: fixed USE_FIXED_STATIC_RAM_SIZE option
The USE_FIXED_STATIC_RAM_SIZE was not actually causing the heap to start
at a fixed address.

Closes https://github.com/espressif/esp-idf/issues/10270
Closes https://github.com/espressif/esp-idf/issues/10271
2023-03-16 16:23:59 +08:00
Andrew Clink
82cdcc5de5
Add user_data accessor and mutator to esp_http_client
Closes: https://github.com/espressif/esp-idf/pull/10715
2023-03-16 12:36:16 +05:30
lly
fd799153cf ble_mesh: stack: Minor updates for BQB test log 2023-03-16 14:23:22 +08:00
Wan Lei
3b62bf59c4 Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
mspi: turn down freq to fix crash when sleep

Closes IDF-6881

See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
Shu Chen
e995db71c1 Merge branch 'openthread/disable_ipv4' into 'master'
openthread: Fix errors after disabling IPv4 in LwIP

See merge request espressif/esp-idf!22658
2023-03-16 13:57:04 +08:00
Mahavir Jain
361f6821a0 Merge branch 'feature/esp_http_client_esp_events' into 'master'
esp_http_client: Add support for esp_events

See merge request espressif/esp-idf!21113
2023-03-16 13:25:38 +08:00
Aditya Patwardhan
85b1efc729 Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
Update common cert authorities csv

See merge request espressif/esp-idf!22713
2023-03-16 12:59:48 +08:00
wangjialiang
87c694f44c ble_mesh: stack: Add a BQB macro for BQB test to enable some internal function or log 2023-03-16 12:29:44 +08:00
wangmengyang
20e596bbcf esp_phy: fix failure of unit test for test_phy_rtc_init on ESP32-C6
- esp_phy_enable() blocks in the unit test due to the FE related functions in modem clock registers are not enabled. This MR adds dependency of FE for PHY module.
2023-03-16 12:13:00 +08:00
wanlei
a48d1a85c1 mspi: add test_app measuring time cost of mspi APIs
and merge mspi unit test into this
2023-03-16 11:11:43 +08:00
Gustavo Henrique Nihei
866c5cefa4 hal: Fix missing definition for "bool" type
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Gustavo Henrique Nihei
459ebff4ff esp_hw_support: Fix check for SOC_MODEM_CLOCK_IS_INDEPENDENT definition
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:22 +08:00
Gustavo Henrique Nihei
29d85e3fa1 log: Fix function name in OS-independent implementation
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Gustavo Henrique Nihei
50145ed179 esp_rom: Remove STATUS struct in favor of ETS_STATUS
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Gustavo Henrique Nihei
3672144c9f efuse: Remove dependency on bootloader component headers
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-16 01:50:21 +08:00
Sudeep Mohanty
c77b5752ef Merge branch 'feature/freertos_schedule_unblocked_task_on_unsuspended_core' into 'master'
FreeRTOS-IDF: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches

Closes IDF-5856

See merge request espressif/esp-idf!22627
2023-03-16 00:20:44 +08:00
KonstantinKondrashov
776a0e8a20 efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR 2023-03-15 23:15:32 +08:00
cjin
e317f07798 ble: update config in esp32h2 chip 2023-03-15 21:02:12 +08:00
liuning
14ca81f03f rtc_sleep: workaround systimer stall issue during lightsleep on ESP32C3 2023-03-15 20:33:03 +08:00
David Čermák
76730607a7 Merge branch 'bugfix/lwip_opts_sock_macro_param' into 'master'
lwip: Fix lwiopts macro expansion

See merge request espressif/esp-idf!22745
2023-03-15 20:24:45 +08:00
Rahul Tank
a945b85543 Merge branch 'bugfix/add_debug_check' into 'master'
Nimble: Added debug relate flag around debug code

See merge request espressif/esp-idf!22764
2023-03-15 18:04:09 +08:00
Mahavir Jain
233d8e1a33
esp32c6: Ensure that previous PMP entry is correctly set for TOR case 2023-03-15 13:16:27 +05:30
Mahavir Jain
891df4eff9
Cleanup soc_memprot_types.h for C6/H2
This header is not required as there is no PMS peripheral in C6/H2

Closes IDF-6332
2023-03-15 13:16:27 +05:30
Mahavir Jain
b29ed0ba0b
test_apps: enable memprot tests for ESP32-H2 target 2023-03-15 13:16:26 +05:30
Mahavir Jain
fb1ef7c6d6
esp32h2: enable memory protection scheme using PMA and PMP
Closes IDF-6452
2023-03-15 13:16:18 +05:30
Sudeep Mohanty
9b81e2b189 freertos: Schedule tasks unblocked by an ISR on a core with scheduler running if core affinity matches
FromISR APIs would put an unblocked task on the pending ready list if
the scheduler is suspended on the current core, irrespective of the
task's core affinity and the state of the scheduler on the other core.
This commit updates this behavior by allowing tasks to get scheduled on
a core which has the scheduler running as long as the task's core
affinity allows it.
2023-03-15 07:43:33 +00:00
Darian
d3d5b77363 Merge branch 'bugfix/flakey_task_snapshot_tests' into 'master'
FreeRTOS: Fix flakey task snapshot tests

See merge request espressif/esp-idf!22743
2023-03-15 15:41:55 +08:00
Harshit Malpani
0cc243a8cc
esp_http_client: remove dependency of esp_stubs from esp_http_client. Add esp_event stubs in linux component 2023-03-15 11:48:11 +05:30
Harshit Malpani
674fd8feb8
esp_http_client: Add support for esp_events 2023-03-15 11:48:11 +05:30
Jiang Jiang Jian
745c06626d Merge branch 'h2/support-ecc' into 'master'
esp32h2: Add support for ECC hardware accelerator

See merge request espressif/esp-idf!22274
2023-03-15 14:06:23 +08:00