Commit Graph

20333 Commits

Author SHA1 Message Date
Rahul Tank
72968880ec Nimble: Fixes for memory leak / optimization 2023-05-23 11:56:23 +05:30
Ondrej Kosta
5ebe6b51d8 esp_eth: fixed esp_eth_transmit_vargs to transmit only when link is up
esp_eth test: clear unicast Rx event before wait
2023-05-23 08:23:34 +02:00
Rahul Tank
658ce48ca9 Merge branch 'bugfix/fix_pcl_enh_rsp' into 'master'
Nimble: Removed the extra status field in the enh read transmit power level

Closes BLEQABR23-196

See merge request espressif/esp-idf!23864
2023-05-23 14:21:26 +08:00
Ondrej Kosta
5da56ea361 Merge branch 'contrib/github_pr_11337' into 'master'
w5500: mac: poll VERSIONR to ensure the chip is initialised (GitHub PR)

Closes IDFGH-10061

See merge request espressif/esp-idf!23792
2023-05-23 13:23:51 +08:00
Wang Fang
b4a9078f98 docs: update the description for check_speed_hz 2023-05-23 11:44:47 +08:00
Mahavir Jain
8c1369f3aa Merge branch 'test/combined_ecc_mpi_hmac_ds_hal_verification_app' into 'master'
Create a combined security peripherals hal verification appliaction

See merge request espressif/esp-idf!23718
2023-05-23 11:27:53 +08:00
Island
72bf74f904 Merge branch 'feature/update_ble_doc_for_esp32c6_esp32h2' into 'master'
ble docs: Update ble doc for esp32c6 and esp32h2

Closes IDF-5926 and IDF-6686

See merge request espressif/esp-idf!23796
2023-05-22 18:50:55 +08:00
harshal.patil
21c6d5392f hal: add ecdsa peripheral verification tests 2023-05-22 15:19:34 +05:30
harshal.patil
7330851db0 hal: add digital signature peripheral verification tests
- also renamed the security test app to crypto test app
2023-05-22 15:19:34 +05:30
harshal.patil
9b27fa73a7 hal: add hmac peripheral verification tests 2023-05-22 15:19:34 +05:30
harshal.patil
da2c29751e hal: combine ecc hal test app into security peripherals test app 2023-05-22 15:19:34 +05:30
harshal.patil
56ac7eee3b ecc: added SOC_ECC_SUPPORT_POINT_VERIFY_QUIRK soc caps for esp32c2
as the ESP32C2 ECC peripheral has a bug in ECC point verification,
if value of K is zero the verification fails
2023-05-22 15:19:34 +05:30
harshal.patil
647c2dabfe hal: combine security peripherals test applications 2023-05-22 15:19:34 +05:30
Alexey Lapshin
a77f723962 Merge branch 'feature/riscv-gdbstub-runtime' into 'master'
esp_gdbstub: implement runtime gdbstub for riscv

Closes IDF-5621

See merge request espressif/esp-idf!23110
2023-05-22 17:20:17 +08:00
KonstantinKondrashov
aef81cceee efuse(H2): Adds RF Calibration Information 2023-05-22 08:40:26 +00:00
Wan Lei
b4e601989b Merge branch 'contrib/github_pr_11405' into 'master'
Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp (GitHub PR)

Closes IDFGH-10134

See merge request espressif/esp-idf!23771
2023-05-22 15:16:52 +08:00
Jiang Guang Ming
11062e45fb Merge branch 'feature/spi_flash_remove_unnecessary_header_includes' into 'master'
spi_flash: remove unnecessary header includes in test_app

See merge request espressif/esp-idf!23844
2023-05-22 14:50:50 +08:00
Armando (Dou Yiwen)
a938fe0beb Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue' into 'master'
adc: fixed adc continuous driver conv frame issue

Closes IDFGH-10109

See merge request espressif/esp-idf!23772
2023-05-22 14:44:28 +08:00
zhangwenxu
1a0d86e77c openthread: add kconfig for enabling mac filter 2023-05-22 14:09:50 +08:00
Rahul Tank
ed30c4a106 Nimble: Removed the extra status field in the enh read transmit power level 2023-05-22 10:17:01 +05:30
Armando
bd6cd85b8e adc: added big conv_frame test 2023-05-22 10:55:28 +08:00
Armando
73791ff4e0 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-05-22 10:55:28 +08:00
Mahavir Jain
2fc770a1a3 Merge branch 'contrib/github_pr_11190' into 'master'
[HTTPD] support for multiple simultaneous requests (try 3)  (GitHub PR)

Closes IDFGH-9868 and IDFGH-9204

See merge request espressif/esp-idf!23281
2023-05-22 02:10:52 +08:00
Sudeep Mohanty
efe919275e Merge branch 'feature/add_support_for_lp_i2c' into 'master'
lp-i2c: Added support for LP I2C peripheral to LP core

Closes IDF-6833

See merge request espressif/esp-idf!22846
2023-05-19 23:35:11 +08:00
Jackson Ming Hu
896a07e5d6 w5500: rework version check to avoid a false alarm on fault detection
See: https://github.com/espressif/esp-idf/issues/11331
2023-05-19 15:33:22 +02:00
Jiang Jiang Jian
2a56f66e25 Merge branch 'feature/nan_ifx_support_for_api' into 'master'
Add NAN ifx support for API's

Closes WIFI-5719 and WIFI-5830

See merge request espressif/esp-idf!23512
2023-05-19 20:22:04 +08:00
Alexey Lapshin
af1334782c esp_gdbstub: fix bp and wp numbers 2023-05-19 20:15:58 +08:00
Alexey Lapshin
71cd5cb2a1 esp_gdbstub: fix build for USB serial/jtag protocol 2023-05-19 20:15:58 +08:00
Alexey Lapshin
6a54c25823 esp_gdbstub: add tests for riscv jump instructions decoding 2023-05-19 20:15:58 +08:00
Alexey Lapshin
9322c2b82d esp_gdbstup: implement runtime gdbstub for riscv 2023-05-19 20:15:58 +08:00
Alexey Lapshin
36588c4b35 riscv: remove outdated macros 2023-05-19 20:15:58 +08:00
Alexey Lapshin
a89b799642 riscv: fix trigger add from trap handlers 2023-05-19 20:15:58 +08:00
Alexey Lapshin
d41d12fe7a riscv: fix & refactor triggers add/delete 2023-05-19 20:15:58 +08:00
Wu Zheng Hui
9894697037 Merge branch 'bugfix/close_phy_tsens_before_sleep' into 'master'
sleep: fix deepsleep current leakage caused by phy_tsens

Closes WIFI-5608

See merge request espressif/esp-idf!23823
2023-05-19 19:17:22 +08:00
Adam Múdry
e5d0e3c676 Merge branch 'bugfix/sdmmc_driver_vtaskdelay_slowdown' into 'master'
sdmmc: incrementally increase delay of vTaskDelay

Closes IDF-7361

See merge request espressif/esp-idf!23765
2023-05-19 18:22:51 +08:00
Rahul Tank
59b7a4989f Merge branch 'bugfix/host_flw_ctrl' into 'master'
NimBLE: Fixed mismatch of number of completed packtes in host flow control

Closes BLEQABR23-113

See merge request espressif/esp-idf!23432
2023-05-19 17:33:39 +08:00
Harshit Malpani
af06168328 Merge branch 'contrib/pr_11147' into 'master'
Fix to allow streaming of PUT data in the HTTP_EVENT_HEADERS_SENT callback (GitHub PR)

Closes IDFGH-9813

See merge request espressif/esp-idf!23794
2023-05-19 17:14:43 +08:00
Jiang Jiang Jian
cd53393e0b Merge branch 'bugfix/mbo_ie_absent_prob_req' into 'master'
wpa_supplicant : Add MBO IE in probe request and fix issues with parsing GCMP ciphers in scan results.

See merge request espressif/esp-idf!23390
2023-05-19 16:58:12 +08:00
Jiang Jiang Jian
d888f54c1f Merge branch 'bugfix/fix_lp_bod_if_bt_i154_init_phy_before_wifi' into 'master'
fix(phy): fix lp_bod reset if bt/i154 init phy before wifi

See merge request espressif/esp-idf!23829
2023-05-19 16:24:47 +08:00
zhangwenxu
57925730b8 openthread: fix frame counter when re-transmition 2023-05-19 13:36:12 +08:00
Zim Kalinowski
0e5098e4a6 Merge branch 'feature/esp_log_master_option' into 'master'
log: Add master log option

Closes IDFGH-9721

See merge request espressif/esp-idf!23538
2023-05-19 13:29:40 +08:00
Sudeep Mohanty
ec742abb25 lp-i2c: Added support for LP I2C peripheral to LP core
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:27:51 +02:00
C.S.M
224430f6b4 Merge branch 'bugfix/tempsensor_wifi_conflict' into 'master'
temperature_sensor: Fix issue that have conflict with phy

Closes IDF-5227, IDF-5992, IDF-5504, and IDF-6113

See merge request espressif/esp-idf!20210
2023-05-19 12:46:55 +08:00
Shyamal Khachane
063460a0d3 1. Support NAN ifx for API's esp_wifi_internal_set_fix_rate and esp_wifi_set_protocol
2. Remove user configurable flag fsd_reqd from NAN publish config
3. Fix issue wherein NDL of previously cancelled service is obtained in peer record of new service with no NDL
2023-05-19 10:07:57 +05:30
Chip Weinberger
3824eba04d
feat(httpd): add support for asynchronous request handling
This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively.

Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache.

An example have been added to demonstrate the usage of these new functions.

Closes https://github.com/espressif/esp-idf/issues/10594

Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-05-19 10:05:42 +05:30
jiangguangming
8c075ea61f spi_flash: remove unnecessary header includes in test_app 2023-05-19 11:28:50 +08:00
Jiang Jiang Jian
0501f87f33 Merge branch 'feature/use_api_to_enable_modem_on_esp32h2' into 'master'
ble: use modem_clock api to set clocks on ESP32-H2

See merge request espressif/esp-idf!23805
2023-05-19 11:01:15 +08:00
Shen Weilong
2900ed4858 ble docs: Update the ble docs for esp32c6 and esp32h2 2023-05-19 11:01:11 +08:00
Mahavir Jain
1747f2e0d1 Merge branch 'contrib/github_pr_11402' into 'master'
esp_ds: ignore releasing mutex if not called from same task (GitHub PR)

Closes IDFGH-10131

See merge request espressif/esp-idf!23763
2023-05-19 10:59:33 +08:00
liuning
5bfb5baecf fix(phy): fix lp_bod reset if bt/i154 init phy before wifi 2023-05-18 20:58:44 +08:00
Island
4f9f50cb4a Merge branch 'feature/esp32c2_enable_rf_temp_compensation' into 'master'
Feature/esp32c2 enable rf temp compensation

See merge request espressif/esp-idf!23728
2023-05-18 20:34:06 +08:00
Jeff H
628b633e50 log: Add master log option
Closes https://github.com/espressif/esp-idf/issues/11049
Closes https://github.com/espressif/esp-idf/pull/11057

Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>

Result from an example in 11057:
When this option is not enabled:
1000 iterations took 10914 microseconds (10.9 microseconds per invocation)
1000 iterations took 10909 microseconds (10.9 microseconds per invocation)

When this option is enabled:
1000 iterations took 10960 microseconds (10.9 microseconds per invocation)
1000 iterations took 107 microseconds (0.1 microseconds per invocation)
2023-05-18 18:35:19 +08:00
wuzhenghui
f8b72615e5 bugfix: close phy_tsens before deepsleep 2023-05-18 16:38:48 +08:00
Konstantin Kondrashov
1d25057a24 Merge branch 'feature/iram_optimization_app_elf_sha256_2' into 'master'
esp_app_format: IRAM space optimization

Closes IDF-7131

See merge request espressif/esp-idf!23572
2023-05-18 15:29:31 +08:00
isha.pardikar@espressif.com
aceaa87ea0 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-05-18 12:56:47 +05:30
Wu Zheng Hui
fa6a743f67 Merge branch 'bugfix/move_adc_onshot_power_management_to_shot_read_func' into 'master'
bugfix: Switch the adc power mode when in use to save power

Closes IDFGH-9205

See merge request espressif/esp-idf!23575
2023-05-18 15:05:32 +08:00
Cao Sen Miao
faa10947a8 temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-05-18 15:00:36 +08:00
David Čermák
f21505da46 Merge branch 'bugfix/linux_freertos_select_wrap' into 'master'
freertos/linux: Fix use after scope exit in select() wrap

See merge request espressif/esp-idf!23755
2023-05-18 13:16:47 +08:00
C.S.M
a754efc548 Merge branch 'flash/add_new_module_sony' into 'master'
spi_flash: Add GD25LQ255E flash support (sony one 📷)

Closes IDF-7378

See merge request espressif/esp-idf!23723
2023-05-18 11:48:19 +08:00
Adam Múdry
f13c9f746f sdmmc: incrementally increase delay of vTaskDelay
Prevents unnecessary slowdown in polling functions
2023-05-18 05:33:25 +02:00
Zhang Wen Xu
8c5a395483 Merge branch 'bugfix/fix_typo_set_channel' into 'master'
ieee802154: fix a typo in set_channel API

See merge request espressif/esp-idf!23760
2023-05-18 10:36:47 +08:00
wuzhenghui
d197c59eaa bugfix: move adc_oneshot_power_acquire/release to adc_oneshot_read
Closes https://github.com/espressif/esp-idf/issues/10595
Closes https://github.com/espressif/esp-idf/issues/11386
2023-05-18 10:29:50 +08:00
KonstantinKondrashov
b605404b06 esp_app_format: IRAM space optimization 2023-05-17 23:40:59 +08:00
Shen Weilong
c7f357523a ble: use modem_clock api to set clock on ESP32-C6 2023-05-17 20:02:21 +08:00
Cao Sen Miao
1ec55b7d1a spi_flash: Add GD25LQ255E flash support 2023-05-17 18:28:57 +08:00
Cao Sen Miao
e304db558b temperature_sensor: Add new interface and reference counts so that phy and driver can use together 2023-05-17 17:40:59 +08:00
Kenneth Furge
90be9cc3e8
Set state to HTTP_STATE_REQ_COMPLETE_HEADER prior to calling the
HTTP_EVENT_HEADERS_SENT callback to allow streaming of PUT data
in the callback.
2023-05-17 14:06:51 +05:30
Lu Ai Jun
d7a141f3ea Merge branch 'bugfix/update_test_dl_esp_cert' into 'master'
tests: update Root certificate for the test endpoints

Closes IDFCI-1710

See merge request espressif/esp-idf!23770
2023-05-17 14:18:44 +08:00
Shu Chen
dc848707db ieee802154: fix a typo in set_channel API 2023-05-17 14:11:34 +08:00
chenjianhua
9c8958d73b esp_hid: fixed ble hid battery level setting 2023-05-17 12:18:56 +08:00
Jiang Jiang Jian
5838c2ec66 Merge branch 'bugfix/fix_iphone_disconnects_immediately_after_connecting_when_BLE_wifi_coexist' into 'master'
Fix the  iPhone disconnects immediately after connecting when BLE and wifi coexist

See merge request espressif/esp-idf!23656
2023-05-17 11:28:23 +08:00
cjin
41ea20908b BLE: update ble lib
Added version support for esp32c6 eco1
2023-05-16 19:18:53 +08:00
cjin
1952a26d5e ble:add version num support for esp32c6 chip 2023-05-16 19:18:53 +08:00
Mahavir Jain
2688dfe982
tests: update Root certificate for the test endpoints
Use Root certificate (`DigiCert Global Root G2`) for the
`dl.espressif.com` and `espressif.com` test endpoints.

This fixes the test failure introduced due to renewal of
the intermediate certificate.
2023-05-16 15:56:29 +05:30
Rahul Tank
134d87848b Merge branch 'bugfix/add_debug_print_for_event' into 'master'
Nimble: Add debug code to print HCI events information

See merge request espressif/esp-idf!23712
2023-05-16 17:43:53 +08:00
Zhang Xiao Yan
81558fb77d Merge branch 'docs/update_algorithm_and_key_from_aes-xts_to_xts-aes' into 'master'
docs: update the algorithm and key name from AES-XTS to XTS-AES

See merge request espressif/esp-idf!23742
2023-05-16 17:39:58 +08:00
zwl
69571dfebf ble:fixed build error when disable smp 2023-05-16 16:07:01 +08:00
zwl
9b50d4e2ef ble:esp32c2 add rf temperature compensation 2023-05-16 16:07:01 +08:00
Armando (Dou Yiwen)
e3fea3ad71 Merge branch 'feature/support_32MB_psram_s3' into 'master'
psram: supported 32MB psram on esp32s3

Closes IDF-7365

See merge request espressif/esp-idf!23753
2023-05-16 16:03:17 +08:00
Jiang Jiang Jian
31f34b95cf Merge branch 'bugfix/nvs_softap_pmk' into 'master'
esp_wifi: fix softap nvs <ssid,password,pmk> not match issue

Closes FCS-1196

See merge request espressif/esp-idf!23619
2023-05-16 15:59:43 +08:00
Zim Kalinowski
bdeeae7a52 Merge branch 'bugfix/remove-bootloader-random-line' into 'master'
bootloader: bootloader_random line

Closes IDF-4498

See merge request espressif/esp-idf!23325
2023-05-16 15:25:04 +08:00
Zim Kalinowski
dc7ff8676c Merge branch 'feature/libunwind_backtracing' into 'master'
System: implement libunwind library for RISC-V backtracing

Closes IDFGH-6189

See merge request espressif/esp-idf!18147
2023-05-16 14:19:16 +08:00
C.S.M
50b4d5c6be Merge branch 'ci/move_timer_into_unity' into 'master'
spi_flash: migrate spi_flash UT to pytest component test app

Closes IDF-6730

See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Song Ruo Jing
a9c78245a0 clk: Add warning log if RC_FAST clock calibration is needed on esp32h2 2023-05-16 03:52:11 +00:00
Justin Ong
a18d7e24d6 Fix initialization macros for twai_timing_config_t not setting .clk_src and .brp 2023-05-16 10:34:24 +08:00
Marius Vikhammer
0036e555e9 Merge branch 'contrib/github_pr_11388' into 'master'
Update esp_cpu.h to include esp_attr.h (GitHub PR)

Closes IDFGH-10113

See merge request espressif/esp-idf!23711
2023-05-16 09:20:07 +08:00
Zim Kalinowski
e9405e42ab bootloader: bootloader_random line 2023-05-15 22:06:47 +02:00
Christoph Baechler
704dfc9185 esp_ds: ignore releasing mutex if not called from same task 2023-05-15 15:02:38 +02:00
Linda
65ee4992ce docs: update the algorithm and key name from AES-XTS to XTS-AES 2023-05-15 17:54:50 +08:00
Zim Kalinowski
bd1ac6a566 Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app

Closes IDFGH-7206 and IDFGH-7573

See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Martin Vychodil
61e694d2f3 Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
CI: sdcard tests fail fix

Closes IDFCI-1700

See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
David Cermak
a41d360842 freertos/linux: Fix use after scope exit in select() wrap 2023-05-15 10:28:54 +02:00
Armando
e495d41de8 psram: supported 32MB psram on ESP32S3 2023-05-15 15:36:43 +08:00
Cao Sen Miao
36aace3f47 spi_flash: Move most tests in unit-test to pytest 2023-05-15 14:58:51 +08:00
Cao Sen Miao
0f83970368 ci: Delete ccomp_timer in IDF(witch has been moved to component manager) 2023-05-15 14:58:51 +08:00
Alexey Lapshin
2327c5cd00 Merge branch 'feature/remove_coredump_tests' into 'master'
coredump: remove tests (moved to esp-coredump repo)

See merge request espressif/esp-idf!22858
2023-05-15 12:31:42 +08:00
Omar Chebib
eeaa40f71d System: implement libunwind library for RISC-V backtracing
Closes https://github.com/espressif/esp-idf/issues/7866

A minimal x86 implementation has also been added, it is used to perform a host test.
2023-05-15 11:19:03 +08:00
Shu Chen
bb12cdaa08 Merge branch 'openthread/default_dnsserver_address' into 'master'
openthread: Add menuconfig to set the default dns server address

See merge request espressif/esp-idf!23581
2023-05-15 10:33:14 +08:00
Marius Vikhammer
a0be5e9ebf Merge branch 'bugfix/c2_wdt_reset_reason' into 'master'
wdt: fix IWDT reset reason for esp32c2

Closes IDF-3843 and IDF-5059

See merge request espressif/esp-idf!23722
2023-05-15 10:17:47 +08:00
Jiang Jiang Jian
8fe688c4f8 Merge branch 'bugfix/fix_multicast_example_map_wrong_address_issue' into 'master'
netdb:fix multicast address map wrong dns address issue

Closes IDFGH-8200

See merge request espressif/esp-idf!23565
2023-05-12 22:32:39 +08:00
Marius Vikhammer
2272509978 ci: re-enable reset reason tests for all targets except H2. 2023-05-12 19:00:27 +08:00
Marius Vikhammer
9eadb6b12a esp-system: fixed int WDT reset reason being reported as task WDT on C2 2023-05-12 18:32:24 +08:00
Armando (Dou Yiwen)
ca2624e0eb Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
sdmmc: supported host timing tuning on esp32s3

Closes IDF-7240 and IDF-7250

See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Rahul Tank
713e4391f8 Nimble: Add debug code to print HCI events information 2023-05-12 15:17:53 +05:30
Ondrej Kosta
a76eab4d39 Merge branch 'bugfix/emac_structs_cpp_build' into 'master'
fixed emac soc structs names to be able to build under C++

Closes IDFGH-10003

See merge request espressif/esp-idf!23658
2023-05-12 16:38:12 +08:00
movsb
2ff12460dd fix(c++): invalid conversion from int to enumeration 2023-05-12 15:08:53 +08:00
Rahul Tank
f4f8d4eaa2 Merge branch 'bugfix/fix_compilation_error_optimization' into 'master'
Nimble: Fix compilation issues seen while enabling -O2 optimization

Closes IDFGH-10023

See merge request espressif/esp-idf!23590
2023-05-12 15:05:22 +08:00
Roshan Bangar
03cad657f3 Merge branch 'bugfix/macro_changes_in_nimble-1.5' into 'master'
NimBLE : Update macro name changes in nimble-1.5

See merge request espressif/esp-idf!23682
2023-05-12 15:01:26 +08:00
C.S.M
12190809f9 Merge branch 'feature/flash_suspend_support' into 'master'
spi_flash: One more step for supporting flash suspend. 1. Support more esp chips 2. Improve real-time performance 3. Make timing more stable

See merge request espressif/esp-idf!22755
2023-05-12 14:16:11 +08:00
morris
a7d79456e2 Merge branch 'bugfix/mcpwm_bldc_example' into 'master'
mcpwm: test generator force level with dead time module

See merge request espressif/esp-idf!23649
2023-05-12 12:11:17 +08:00
Michael (XIAO Xufeng)
e20a57d42e Merge branch 'Bugfix/fix_tsen_issue' into 'master'
Temperature sensor: fix return value issue @low temp on H2

See merge request espressif/esp-idf!23648
2023-05-12 11:55:47 +08:00
xueyunfei
b1a07a0a8c netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address
Closes https://github.com/espressif/esp-idf/issues/9693
2023-05-12 03:07:14 +00:00
Jakob Hasse
c291b6a58c Merge branch 'bugfix/use_safe_noreturn_attr' into 'master'
compiler: replaced noreturn by __noreturn__ in header files

Closes IDFGH-10064

See merge request espressif/esp-idf!23688
2023-05-12 10:48:00 +08:00
Magnus Sörensen
004d55a5ed
Update esp_cpu.h
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-11 21:23:57 +02:00
Armando
01a3d79b6f sdmmc: support tuning input delay on esp32s3 2023-05-11 12:25:22 +00:00
Armando
e7fcfa43e9 sdmmc: use clk_tree api inside 2023-05-11 12:25:22 +00:00
Cao Sen Miao
5bd535e9e0 spi_flash: Add strict test for flash suspend 2023-05-11 20:12:41 +08:00
Cao Sen Miao
ed96dadd06 spi_flash: 2nd stage for supporting flash suspend. (1). Support more esp chips (2). Improve real-time performance (3). Making timing more stable (4) Add documents 2023-05-11 20:10:30 +08:00
chenjianxing
786b1642e6 esp_wifi: fix softap nvs <ssid,password,pmk> not match issue
Closes FCS-1196
2023-05-11 17:11:39 +08:00
Darian
6281606986 Merge branch 'feature/freertos_add_v10.5.1_files' into 'master'
FreeRTOS: Add v10.5.1 upstream files

See merge request espressif/esp-idf!23502
2023-05-11 16:14:50 +08:00
Jakob Hasse
c8791f30c0 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
Ondrej Kosta
621d5ef724 fixed emac soc structs names to be able to build under C++
Closes https://github.com/espressif/esp-idf/pull/11283
2023-05-11 08:50:49 +02:00
Alexey Lapshin
0b078f5cd3 coredump: remove tests (moved to esp-coredump repo) 2023-05-11 12:13:52 +08:00
Armando (Dou Yiwen)
476e50b026 Merge branch 'bugfix/fix_mspi_octal_psram_timing_tuning_point_fallback_id' into 'master'
mspi: modified 80mhz octal psram timing tuning point fallback id on s3

See merge request espressif/esp-idf!23627
2023-05-11 11:11:51 +08:00
Marius Vikhammer
d40145d2ff Merge branch 'bugfix/newlib_test_misc_fix' into 'master'
ci: misc fixes for newlib test app

Closes IDF-6962 and IDF-6964

See merge request espressif/esp-idf!23640
2023-05-11 09:20:29 +08:00
Adam Múdry
fa16ed3898 CI: sdcard tests fail fix 2023-05-10 16:48:03 +02:00
KonstantinKondrashov
69838403f9 esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Zhi Wei Jian
c0ab96b65d Merge branch 'bugfix/fix_some_bluedroid_bugs' into 'master'
Fixed some bluedroid bugs

See merge request espressif/esp-idf!23616
2023-05-10 20:44:15 +08:00
zhiweijian
d565a7825d Fix the bug that the iPhone disconnects immediately after connecting when BLE and wifi coexist 2023-05-10 20:15:10 +08:00
Alexey Lapshin
e634137a03 Merge branch 'feature/libstd++-use-posix-pthread' into 'master'
tools: enable libstd++ to use idf posix-semaphores

Closes GCC-305 and IDFGH-9209

See merge request espressif/esp-idf!23588
2023-05-10 20:06:16 +08:00
wuyuanyi135
97c44ee95d
Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
Fix https://github.com/espressif/esp-idf/issues/11373
2023-05-10 19:52:40 +08:00
morris
5680d28b0e mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
morris
6a7f730c77 Merge branch 'feature/efuse_settings' into 'master'
hal: Explicit setting of efuse time settings

See merge request espressif/esp-idf!23533
2023-05-10 19:11:01 +08:00
Roshan Bangar
f0fa24c176 NimBLE : Update macro name changes in nimble-1.5 2023-05-10 16:02:07 +05:30
Darian Leung
d044e63b39 freertos(IDF): Update kernel version tag of V10.5.1 source files
This commit updates the kernel version tags of all V10.5.1 source files to
indicate that the source files are modified.
2023-05-10 16:58:57 +08:00
Darian Leung
f76194add9 freertos(IDF): Add hidden build option for V10.5.1 kernel
This commit adds a "CONFIG_FREERTOS_USE_KERNEL_10_5_1" hidden option to enable
building of the v10.5.1 kernel for development/testing purposes. Currently
enabling this option will just cause CMake to error out.

Also added a markdown file to record the code changes made to the V10.5.1 source
when porting over SMP behavior.
2023-05-10 16:53:00 +08:00
Darian Leung
74f37f50ec freertos(IDF): Add upstream V10.5.1 files
This commit adds the source files for the FreeRTOS Kernel V10.5.1 in
preparation for upgrading ESP-IDF FreeRTOS Kernel version (files copied from
https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.1)

The following modifications were made to the files when copying

- Added "SPDX-FileCopyrightText" and "SPDX-FileContributor" tags to all files
  to pass ESP-IDF pre-commit checks.
- Left out some files unnecessary to ESP-IDF (e.g., URLs, "History.txt", and
"portable" folder).
2023-05-10 16:52:22 +08:00
Li Shuai
87dd7bb51a Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link' into 'master'
support extra linked list retention for BLE and 15.4

Closes IDF-6528

See merge request espressif/esp-idf!22985
2023-05-10 15:07:03 +08:00
Kevin (Lao Kaiyao)
9ee4c48f54 Merge branch 'bugfix/fix_several_bugs_in_i2s' into 'master'
i2s: fix several bugs in std and tdm mode

Closes IDF-7288

See merge request espressif/esp-idf!23465
2023-05-10 11:39:51 +08:00
Marius Vikhammer
1590fbd31c ci: misc fixes for newlib test app
Enabled additional tests for C2, added config for testing with newlib nano
as well as cleaned up old configs
2023-05-10 11:14:15 +08:00
morris
6ef187d4fb Merge branch 'doc/update_mcpwm_deadtime' into 'master'
MCPWM: don't allow to apply the same delay module to multiple generators

Closes IDFGH-10050

See merge request espressif/esp-idf!23601
2023-05-10 09:55:36 +08:00
Zim Kalinowski
099ffe6243 Merge branch 'feature/c6_ulp_timer' into 'master'
ulp: lp timer support for lp core

Closes IDF-6956, IDF-6830, and IDF-6835

See merge request espressif/esp-idf!23453
2023-05-10 03:06:35 +08:00
Zim Kalinowski
54576b7528 Merge branch 'bugfix/freertos_fix_unordered_event_list' into 'master'
freertos: Updated vTaskRemoveFromUnorderedEventList() to consider scheduler state before adding task to ready list

Closes IDF-5785

See merge request espressif/esp-idf!23482
2023-05-10 01:48:47 +08:00
Zim Kalinowski
a495f4729b Merge branch 'ci/fix_system_invalid_kconfigs' into 'master'
ci: fix invalid kconfig options in system test apps

See merge request espressif/esp-idf!23582
2023-05-10 01:38:46 +08:00
KonstantinKondrashov
e48130246a hal: Explicit setting of efuse time settings
EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
2023-05-10 00:41:35 +08:00
Sudeep Mohanty
02d473615d Merge branch 'bugfix/ulp_i2c_timeout_config' into 'master'
ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option

Closes IDFGH-9822

See merge request espressif/esp-idf!23470
2023-05-09 21:06:51 +08:00
Wang Meng Yang
e156fcec8a Merge branch 'bugfix/hfp_ag_idx_invalid_master' into 'master'
bt: Fixed out of bounds access due to variable length array

Closes IDFGH-9979

See merge request espressif/esp-idf!23481
2023-05-09 19:51:42 +08:00
zlq
ff88f42819 H2:fix tsensor issue @low temp 2023-05-09 19:40:53 +08:00
Wu Zheng Hui
35bb946653 Merge branch 'bugfix/update_esp32c6eco1_sleep_fosc_cal_cycles' into 'master'
bugfix: update esp32c6eco1 / esp32h2eco2 fosc calibration cycles during sleep and support calibrate OSC clock every N times lightsleep

Closes IDF-7287

See merge request espressif/esp-idf!23489
2023-05-09 18:44:20 +08:00
Zim Kalinowski
ead5f19f7c Merge branch 'bugfix/freertos_nested_sched_suspension' into 'master'
freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()

Closes IDF-7299

See merge request espressif/esp-idf!23537
2023-05-09 18:07:47 +08:00
laokaiyao
563b223ab7 i2s_std: enable left alignment as default 2023-05-09 17:53:53 +08:00
laokaiyao
bebcaad35f i2s_tdm: add check for slot mask 2023-05-09 17:53:53 +08:00
laokaiyao
fd8042cf5b i2s_tdm: fixed half sample bit calculation 2023-05-09 17:51:33 +08:00
laokaiyao
382059699e i2s_std: fixed mclk check for 24-bit data 2023-05-09 17:51:33 +08:00
Sudeep Mohanty
662e0812f4 ulp-riscv-i2c: Add ULP RISC-V I2C read/write timeout config option
The commit 88e4c06028 introduced a loop timeout for all ULP RISC-V I2C
transactions to avoid getting stuck in a forever loop. The loop timeout
was set to 500 msec by default. This commit improves on the concept by
making the loop timeout configurable via a Kconfig option in terms of
CPU ticks. If the timeout is set to -1 value then the transaction loops
will never timeout, therefore restoring the driver behavior before the
timeout was introduced.

The commit also updates the I2C Fast mode timings for esp32s2 which need
to be adjusted due to bus timing constraints.

Closes https://github.com/espressif/esp-idf/issues/11154
2023-05-09 11:17:01 +02:00
Zim Kalinowski
3947688d54 Merge branch 'bugfix/make_clean_files' into 'master'
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES

Closes IDF-2444

See merge request espressif/esp-idf!23628
2023-05-09 16:53:18 +08:00
Sudeep Mohanty
abe5311a22 freertos: Updated vTaskRemoveFromUnorderedEventList() to consider scheduler state before adding task to ready list
vTaskRemoveFromUnorderedEventList() runs under the assumption that the
scheduler is suspended during the call. However, for IDF FreeRTOS, this
is not true. When dual-core system is active, this API call is made in
a critical section but without suspending the scheduler. This commit
updates the vTaskRemoveFromUnorderedEventList() function to now consider
the scheduler state on either cores before adding a task to the ready list.
2023-05-09 10:47:24 +02:00
morris
06b1e10273 Merge branch 'feature/reset_mcpwm_in_restart' into 'master'
mcpwm: reset peripheral in restart, panic and halt

Closes IDFGH-10047

See merge request espressif/esp-idf!23591
2023-05-09 16:44:55 +08:00
morris
72d0f5b35b mcpwm: can't apply the same delay module to multiple generators
This is a hardware limitation, one delay module can only be used by one generator at one time.

Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-09 16:41:47 +08:00
Sudeep Mohanty
1acd2b5ce7 freertos-idf: Fixed incorrect scheduler suspension check in xTaskRemoveFromEventList()
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the
check for scheduler suspension did not account for nested suspensions.
Additionally, this commit updates all checks for scheduler
suspension to follow a uniform way.
2023-05-09 10:28:02 +02:00
morris
2b707decfc Merge branch 'feature/rgb_lcd_pclk_gpio_optional' into 'master'
rgb_lcd: make pclk gpio setting optional

Closes IDFGH-10021

See merge request espressif/esp-idf!23626
2023-05-09 14:47:37 +08:00
Rahul Tank
732c921c65 Nimble: Fix compilation issues seen while enabling -O2 optimization 2023-05-09 04:57:28 +00:00
Marius Vikhammer
a300b3eb81 ci: fix invalid kconfig options in system test apps 2023-05-09 11:27:55 +08:00
Zim Kalinowski
75d00928f5 Merge branch 'feature/migrate-newlib-to-pytest' into 'master'
newlib: move test to pytest

Closes IDF-5595 and IDF-6961

See merge request espressif/esp-idf!20984
2023-05-08 23:40:50 +08:00
Darian
e1dba0fa9e Merge branch 'refactor/freertos_component_structure' into 'master'
FreeRTOS: Refactor copmonent structure

See merge request espressif/esp-idf!23367
2023-05-08 21:18:37 +08:00
Darian Leung
66499f17a5 freertos: Refactor component structure
This commit refactors the "freertos" component's structure as follows:

- "FreeRTOSConfig.h" related files moved to "./config" directory
- Refactored CMakeLists.txt file in preparation for v10.5.1 upgrade
    - Grouped list appends based on component organization
    - Removed some unecessarily public "include_dirs"
- Removed FreeRTOS-openocd.c
    - uxTopUsedPriority has been added back to tasks.c since v10.4.2
    - Thus the workaround in FreeRTOS-openocd.c is no longer needed and can
      be removed.
2023-05-08 18:40:03 +08:00
Zim Kalinowski
a825dde9c0 newlib: move test to pytest 2023-05-08 12:31:48 +02:00
Mahavir Jain
17451f1fb3 Merge branch 'fix/sha512_block_mode' into 'master'
mbedtls: fix sha-512 block mode build error

See merge request espressif/esp-idf!23569
2023-05-08 16:09:50 +08:00
Marius Vikhammer
d17248ecdf build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-08 15:51:48 +08:00
Armando
8e4974d66f mspi: modified mspi 80mhz octal psram timing tuning point fallback id on s3 2023-05-08 14:57:12 +08:00
morris
5ba53c9294 rgb_lcd: make pclk gpio setting optional
PCLK may not be necessary in VGA use case.
Closes https://github.com/espressif/esp-idf/issues/11298
2023-05-08 14:55:26 +08:00
Wang Meng Yang
9652d8ed6f Merge branch 'bugfix/fix_idfgh_9931' into 'master'
Fixed remote mic error during encryption procedure

See merge request espressif/esp-idf!23609
2023-05-08 14:44:40 +08:00
harshal.patil
9a87b26294 mbedtls: fix sha-512 block mode build error 2023-05-08 10:27:34 +05:30
Kevin (Lao Kaiyao)
e9e5f1b90f Merge branch 'feature/add_default_config_for_i2s_pdm_dac_mode' into 'master'
i2s: public bclk_div and add a default config for PDM TX DAC

Closes IDF-7289

See merge request espressif/esp-idf!23466
2023-05-08 12:36:05 +08:00
Armando (Dou Yiwen)
38e84bdd4f Merge branch 'refactor/mspi_timing_tuning_compatible_on_all_chips' into 'master'
mspi: timing tuning driver framework

Closes IDF-7004

See merge request espressif/esp-idf!22786
2023-05-08 10:27:29 +08:00
Armando (Dou Yiwen)
4fd45f2483 Merge branch 'bugfix/fix_adc_filter_acquire_logic' into 'master'
adc: fix adc filter acquire logic

Closes IDF-7311

See merge request espressif/esp-idf!23566
2023-05-08 10:10:35 +08:00
Michael (XIAO Xufeng)
4e24516ee2 Merge branch 'feat/i2s_ng_stailq' into 'master'
driver: use STAILQ_NEXT instead empty to improve readability

See merge request espressif/esp-idf!23528
2023-05-06 22:30:23 +08:00
WanqQixiang
a61b937577 openthread: Add menuconfig to set the default dns server address 2023-05-06 17:44:27 +08:00
morris
083d9e7c0f mcpwm: reset peripheral in restart, panic and halt
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.

closes https://github.com/espressif/esp-idf/issues/11324
2023-05-06 15:58:58 +08:00
chenjianhua
b87f96e115 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-06 15:26:45 +08:00
chenjianhua
7593466dc6 bluedroid: fix ble adv data construct for device name 2023-05-06 15:26:45 +08:00
chenjianhua
f7ff6b127e bluedroid: fix ble smp key distribution setting 2023-05-06 15:26:45 +08:00
cjin
7a708c35cb pau: fix logic error in extra link retention 2023-05-06 14:58:02 +08:00
Li Shuai
2e22491b02 sleep retention: implement the extra linked list retention for modules with retention clock bugs 2023-05-06 14:58:00 +08:00
laokaiyao
bf8419fd6e i2s: public bclk_div and add a default config for PDM TX DAC 2023-05-06 14:19:48 +08:00
Marius Vikhammer
3ced7b12e8 ulp: add support for using lp timer with lp core on C6 2023-05-06 14:13:14 +08:00
Marius Vikhammer
97aab3bedc Merge branch 'bugfix/gdma_log_nano' into 'master'
gdma: fixed crash from logging when using newlib nano

Closes IDFGH-8134

See merge request espressif/esp-idf!23579
2023-05-06 13:46:50 +08:00
Marius Vikhammer
e806d9c9cb gdma: fixed crash from logging when using newlib nano
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.

Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 10:51:03 +08:00
Armando
d7cbd04d43 adc: added adc filter exhausted allocation test 2023-05-06 10:31:19 +08:00
Armando
108ce25750 adc: fix adc filter acquire logic 2023-05-06 10:31:19 +08:00
chenjianhua
6c10a7f60d Update bt lib for ESP32-C3 and ESP32-S3
- Fixed remote mic error during encryption procedure
2023-05-05 21:54:01 +08:00
David Čermák
292d16b440 Merge branch 'bugfix/linux_target_with_out_lwip' into 'master'
linux: Add lwip support to networking components under linux

See merge request espressif/esp-idf!23053
2023-05-05 17:26:45 +08:00
morris
eaa4ad502a Merge branch 'bugfix/check_filter_range' into 'master'
rmt: check filter and idle threashold

Closes IDFGH-9977

See merge request espressif/esp-idf!23518
2023-05-05 17:19:45 +08:00
Jiang Jiang Jian
05d1104d28 Merge branch 'bugfix/reduce_logging_for_SAE_master' into 'master'
Modify log level for SAE

See merge request espressif/esp-idf!23548
2023-05-05 17:00:50 +08:00
Armando (Dou Yiwen)
313f8cdbb7 Merge branch 'bugfix/add_len_check_per_spi_master_transaction' into 'master'
spi master: added transaction length check to refuse longer than hardware supported length

Closes IDF-7236

See merge request espressif/esp-idf!23199
2023-05-05 16:25:05 +08:00
Jiang Jiang Jian
5c4ffe47d6 Merge branch 'bugfix/c6_tx_callback_issue' into 'master'
esp_wifi: Fix tx_callback issue for ESP32C6

See merge request espressif/esp-idf!23531
2023-05-05 15:57:40 +08:00
Michael (XIAO Xufeng)
120d848ef8 Merge branch 'bugfix/fix_wrong_hp_ldo_h2' into 'master'
ESP32H2: Fix wrong hp ldo

See merge request espressif/esp-idf!23501
2023-05-05 14:39:54 +08:00
Alexey Lapshin
dfcab42a01 pthread: fix restrict keyword usage in function declarations
See https://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html
2023-05-05 13:35:19 +08:00
David Cermak
b2af4d9689 lwip/linux: Add lwip support for networking component under linux
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
jgujarathi
e803554654 wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-05-05 10:13:17 +05:30
jgujarathi
00c0bf683f wpa_supplicant : Add MBO ie in probe request.
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-05-05 10:12:29 +05:30
Rahul Tank
ef232423dd Merge branch 'bugfix/add_event_cb_for_pcl' into 'master'
Nimble: Add support to send power control event in registered callback

See merge request espressif/esp-idf!23522
2023-05-05 11:59:36 +08:00
Xiao Xufeng
b24ce390c0 dac: use STQILA instead empty to improve readability 2023-05-05 01:18:49 +08:00
Zim Kalinowski
4ba38c2105 Merge branch 'fix/console-build-error' into 'master'
console: Fix building issue when serial JTAG is set

Closes IDFGH-9327

See merge request espressif/esp-idf!23311
2023-05-04 20:15:42 +08:00
morris
d0258a57d0 Merge branch 'refactor/use_ccomp_timer_for_dma_performance_test' into 'master'
dma: use ccomp_timer in the test_app by component manager

See merge request espressif/esp-idf!23526
2023-05-04 18:42:06 +08:00
morris
6f749ae038 Merge branch 'test/enlarge_gptimer_test_threshold' into 'master'
gptimer: enlarge test threshold

Closes IDFCI-1702

See merge request espressif/esp-idf!23511
2023-05-04 18:40:22 +08:00
Armando
dbf3612d6d spi_flash: replace flash clock src change API with mspi timing API 2023-05-04 17:05:35 +08:00
Armando
8eec6558d1 mspi: refactor timing tuning driver to make it compatible with p4 2023-05-04 17:05:35 +08:00
Sarvesh Bodakhe
bb88774286 esp_wifi: Fix tx_callback issue for ESP32C6 2023-05-04 14:13:39 +05:30
Jiang Jiang Jian
39e93a95a3 Merge branch 'bugfix/sae_pk_improvements' into 'master'
wpa_supplicant: fixes in mbedtls porting to parse compressed EC public key and remove unnecessary code

See merge request espressif/esp-idf!23440
2023-05-04 16:06:51 +08:00
xiongweichao
a7519e17c8 bt: Deleted some redundant variables in HFP_AG 2023-05-04 15:36:23 +08:00
morris
da3b3cf4a4 dma: use ccomp_timer component for testing performance metric
ccomp_timer now becomes a standalone component, located in the component registry.
we can use that in the test app by component manager.
2023-05-04 14:09:36 +08:00
Shyamal Khachane
032305a74f wpa_supplicant: Reduce logging for SAE 2023-05-04 11:21:57 +05:30
wuzhenghui
dcab6368ce feature: support configuration of sleep clock calibration frequency 2023-05-04 12:09:26 +08:00
wuzhenghui
dd4d1bbe90 bugfix: fix esp32c6eco1 fosc calibration cycles during sleep 2023-05-04 11:46:21 +08:00
Armando
0e72940001 spi: added an API to get max transaction length and use in spi lcd driver 2023-05-04 11:37:23 +08:00
Armando
ea10aac4f0 spi: added transaction length check to refuse longer than hardware supported length 2023-05-04 11:37:23 +08:00
morris
1438d9a02c Merge branch 'bugfix/bootloader_support/flash' into 'master'
bootloader_support: fix register backup

See merge request espressif/esp-idf!23507
2023-05-04 10:52:28 +08:00
Jakob Hasse
0a3cfce671 Merge branch 'contrib/github_pr_10895' into 'master'
Fix possible conversion errors by using __builtin_ffsll (GitHub PR)

Closes IDFGH-9541

See merge request espressif/esp-idf!23429
2023-05-04 10:41:46 +08:00
Chen Jian Hua
3aa1ac99c7 Merge branch 'bugfix/fix_ble_hop_sel' into 'master'
Fixed BLE connection failed to be established when disabled 5.0 feature

See merge request espressif/esp-idf!23516
2023-05-04 10:16:07 +08:00
Marek Matej
d1a447f6c0 bootloader_support: fix register backup
By storing the 'user2' register during the early init
we fix the flash access issue, which occurs in the
Zephyr/MCUboot ports for ESP32.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2023-05-03 15:11:10 +02:00
Ivan Grokhotkov
3775ce8bd8 Merge branch 'feature/sdmmc_test_app' into 'master'
sdmmc: new component test app

Closes IDF-7108

See merge request espressif/esp-idf!19699
2023-05-03 03:07:06 +08:00
Ivan Grokhotkov
500b5b2103 Merge branch 'contrib/github_pr_11215' into 'master'
improve thread safety in esp_timer (GitHub PR)

Closes IDFGH-9920

See merge request espressif/esp-idf!23295
2023-05-03 02:21:07 +08:00
Ivan Grokhotkov
1f7c4b5690 Merge branch 'bugfix/xtensa_cmake_stderr_message' into 'master'
xtensa: don't print debug messages to stderr

See merge request espressif/esp-idf!23439
2023-05-02 18:51:22 +08:00
Ivan Grokhotkov
a0f4664625 Merge branch 'contrib/github_pr_11245' into 'master'
app_trace: fix out of bounds array write (GitHub PR)

Closes IDFGH-9952

See merge request espressif/esp-idf!23345
2023-05-02 18:10:00 +08:00
Rahul Tank
1f92c349a2 Nimble: Add support to send power control event in registered callback 2023-05-02 12:14:23 +05:30
Rahul Tank
329eec289b Merge branch 'feature/services_health_therm' into 'master'
NimBLE: Added health thermometer profile

See merge request espressif/esp-idf!23065
2023-05-02 13:28:08 +08:00
morris
9ae742eb85 rmt: check filter and idle threashold
Closes https://github.com/espressif/esp-idf/issues/11262
2023-04-29 06:51:35 +00:00
Darian Leung
76d4c9f592 freertos: Refactor port_systick
This commit refactors port_systick.c so that all ports (RISC-V vs Xtensa) of
all FreeRTOS implementations (IDF vs Amazon SMP FreeRTOS) use the same set of
tick interrupt functions. Thus, these funcitons are now common:

- vPortSetupTimer() to setup the tick interrupt's timer
- xPortSysTickHandler() that is called on each tick interrupt
2023-04-28 23:03:00 +08:00
Darian Leung
cf595293af freertos: Move port_systick to common directory
This commit moves port_systick to a directory that ia accessible to both
IDF FreeRTOS and Amazon SMP FreeRTOS.
2023-04-28 23:03:00 +08:00
Sarvesh Bodakhe
cd0d42d43b wpa_supplicant: Use 'mbedtls_pk_parse_public_key' to parse compressed EC public key and remove unnecessary code
Support to parse compressed EC public key is added from 'mbedtls-3.4.0'
2023-04-28 18:23:42 +05:30
Sarvesh Bodakhe
9e4915b81b esp-wifi: add station SAE-PK (Public Key) configuration note 2023-04-28 18:23:42 +05:30
Darian
1a5249d7e7 Merge branch 'bugfix/ana_cmpr_negative_enum' into 'master'
driver: Fix ana_cmpr negative enum comparison and bad test

See merge request espressif/esp-idf!23508
2023-04-28 20:05:53 +08:00
isha.pardikar@espressif.com
8c3ba9e2dc NimBLE: Added health thermometer profile 2023-04-28 17:20:16 +05:30
Xiao Xufeng
7dd054fe6b i2s: use STAILQ_NEXT instead empty to improve readability 2023-04-28 18:49:10 +08:00
Jiang Jiang Jian
cac7a5c9cb Merge branch 'bugfix/fix_bleqabr23_28' into 'master'
Bluedroid: report disconnect event after BLE link closed

See merge request espressif/esp-idf!23156
2023-04-28 17:59:29 +08:00
Jiang Jiang Jian
968ef8c24f Merge branch 'bugfix/fix_esp32_ble_disconnect_failed' into 'master'
Fixed BLE disconnection failure on ESP32

See merge request espressif/esp-idf!23450
2023-04-28 17:57:41 +08:00
Jiang Jiang Jian
b0d595d057 Merge branch 'bugfix/hf_cind_ind_index' into 'master'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator

Closes IDFGH-4674

See merge request espressif/esp-idf!23431
2023-04-28 17:48:14 +08:00
Island
d6b7fc9c55 Merge branch 'bugfix/fixed_ble_mic_error' into 'master'
ble: [ESP32C6][ESP32H2][ESP32C2] updata libble to 182858c1

Closes BLEQABR23-108, BLEQABR23-121, BLEQABR23-132, BLEQABR23-152, BLEQABR23-166, WIFI-5739, WIFI-5755, and COEX823-22

See merge request espressif/esp-idf!23327
2023-04-28 17:13:06 +08:00
Darian Leung
03ce2fbaf0 driver: Fix ana_cmpr negative enum comparison
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.

This commit fixes the following issues with ana_cmpr:

- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-04-28 14:52:50 +08:00
Wang Meng Yang
00687a1fb6 Merge branch 'bugfix/fix_ble_battery_profile_error' into 'master'
Fixed battery profile wrong condition in bluedroid host

Closes IDFGH-9937

See merge request espressif/esp-idf!23358
2023-04-28 14:50:03 +08:00
chenjianhua
5908cd968f Update bt lib for ESP32-C3 and ESP32-S3
- Fixed ble hopping selection for connection when disabled 5.0 feature
2023-04-28 14:17:37 +08:00
Mahavir Jain
b5055b9bfa Merge branch 'feature/add_mbedtls_ciphersuites_set_get_api' into 'master'
esp-tls: Add config and api to set and get ciphersuites list

Closes IDF-7183

See merge request espressif/esp-idf!23320
2023-04-28 13:01:59 +08:00
morris
542c705282 Merge branch 'bugfix/lcd_cam_reg_clk_sel' into 'master'
soc: fix lcd_cam clock selection description

Closes IDFGH-9972

See merge request espressif/esp-idf!23391
2023-04-28 12:22:32 +08:00
morris
36c134bdc3 gptimer: enlarge test threshold 2023-04-28 11:43:50 +08:00
Shen Weilong
64c9dfd7d2 ble: [ESP32C6][ESP32H2][ESP32C2] updata libble
Fixed the occasional mic error caused by wrong tx cnt
Fixed the BLE connection timeout issue
2023-04-28 11:21:39 +08:00
Marius Vikhammer
47dda378ca Merge branch 'bugfix/pm_trace_pins_c6' into 'master'
pm: fix invalid trace pins for C6 and H2

Closes IDFCI-1697

See merge request espressif/esp-idf!23496
2023-04-28 09:17:58 +08:00
morris
de72ac217c Merge branch 'bugfix/rmt_one-wire' into 'master'
rmt_onewire: refactor example with component registry

Closes IDFGH-9422

See merge request espressif/esp-idf!23288
2023-04-28 04:51:32 +08:00
Jiang Jiang Jian
25222163b9 Merge branch 'bugfix/fix_softap_pairwise_cipher_issue' into 'master'
esp_wifi: update pairwise cipher in softAP

Closes WIFI-5768 and WIFI-5779

See merge request espressif/esp-idf!23270
2023-04-27 21:31:19 +08:00
yuanjianmin
f74447103f esp-tls: Add config and api to set and get ciphersuites list 2023-04-27 19:22:27 +08:00
Mahavir Jain
cba923788e Merge branch 'feature/tls1_3_support' into 'master'
esp-tls: add initial support for TLS1.3 connections (client mode)

Closes IDF-7251 and IDF-7252

See merge request espressif/esp-idf!23442
2023-04-27 18:13:43 +08:00
hongshuqing
430776fc46 fix wrong hp ldo for h2 2023-04-27 17:29:10 +08:00
morris
fb3d24739a soc: sync lcd_cam register description with TRM
Closes https://github.com/espressif/esp-idf/issues/11257
2023-04-27 16:28:05 +08:00
Guillaume Souchere
c84f0b25ac console: Fix building issue when serial JTAG is set
Closes https://github.com/espressif/esp-idf/issues/10707
2023-04-27 15:28:23 +08:00
Marius Vikhammer
220bb4452f pm: fix invalid trace pins for C6 and H2 2023-04-27 15:19:17 +08:00
morris
af2085b789 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-27 15:02:55 +08:00
Jiang Jiang Jian
afd0e384db Merge branch 'feature/support_fosc_calibration_h2_eco2' into 'master'
ESP32H2: Fix fosc calibration fail bug for ECO2 & Above

See merge request espressif/esp-idf!23464
2023-04-27 14:37:38 +08:00
Marius Vikhammer
68088c6371 Merge branch 'ci/fix_overwrite_pytest_configs' into 'master'
ci: fixed test apps overriding idf_build_apps configs

See merge request espressif/esp-idf!23387
2023-04-27 14:32:18 +08:00
Chen Jian Hua
b2906d412d Merge branch 'feature/support_periodic_adv_sync_trans' into 'master'
Bluedroid: add periodic adv sync transfer API and EVT

See merge request espressif/esp-idf!22146
2023-04-27 14:19:43 +08:00
Chen Jian Hua
809bd5a52c Merge branch 'feature/support_gatt_read_multi_variable' into 'master'
Bluedroid: add GATT read multi variable API and EVT

See merge request espressif/esp-idf!21990
2023-04-27 14:18:22 +08:00
muhaidong
bd77a74c9d esp_wifi: update pairwise cipher in softAP 2023-04-27 14:08:28 +08:00
Rahul Tank
aaefc8ce46 Merge branch 'feature/expose_addr_resolv_out_stack' into 'master'
Nimble:Added change to expose addr resolution API outside stack

See merge request espressif/esp-idf!23183
2023-04-27 13:02:59 +08:00
Jiang Jiang Jian
670c086807 Merge branch 'bugfix/pmkid_sha256_bug' into 'master'
wpa_supplicant: Fix PMKID SHA__256 related regression

Closes WIFI-5741 and WIFI-5740

See merge request espressif/esp-idf!23476
2023-04-27 12:47:04 +08:00
Shu Chen
8fd6e7311e Merge branch 'bugfix/border_router_connect_with_SSED' into 'master'
OpenThread BR: support link metrics registration and csl.

See merge request espressif/esp-idf!23441
2023-04-27 11:19:10 +08:00
muhaidong
bd16d6feeb esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-04-27 10:56:36 +08:00
muhaidong
76ac4add53 esp_supplicant: wpa pmf should be disabled 2023-04-27 10:56:25 +08:00
Jiang Jiang Jian
ef91be6a71 Merge branch 'bugfix/reject_tkip_in_owe' into 'master'
Reject TKIP cipher incase of OWE connection

See merge request espressif/esp-idf!23457
2023-04-27 10:21:01 +08:00
xiongweichao
f04b663ac4 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-04-27 10:06:18 +08:00
Xu Si Yu
fc1fdca416 OpenThread border router: support border router to connect with SSED 2023-04-27 01:13:41 +00:00
Almir Okato
8d84a5315a Merge branch 'fix/bootloader_missing_include' into 'master'
bootloader_support: add missing header to bootloader_flash.c

See merge request espressif/esp-idf!23221
2023-04-27 06:26:49 +08:00
Xu Si Yu
55c3bbed85 Merge branch 'bugfix/increase_timeout_for_ieee802154_ci' into 'master'
ieee802154: increase the timeout for ieee802.15.4 CI test

See merge request espressif/esp-idf!23463
2023-04-27 06:17:05 +08:00
Sarvesh Bodakhe
0518d2eb65 wpa_supplicant: Fix PMKID SHA-256 related regression
Fixed regression caused by commit 38e9c8b4
2023-04-26 18:00:32 +05:30
Laukik Hase
56123c52aa Merge branch 'ci/migrate_nvs_flash_to_component_test_apps' into 'master'
nvs_flash: Migrate UTs to component test-apps

Closes IDF-5596

See merge request espressif/esp-idf!23411
2023-04-26 20:23:25 +08:00
Rahul Tank
10e93dc1f4 Nimble:Added change to expose addr resolution API outside stack 2023-04-26 17:47:47 +05:30
Zhi Wei Jian
0b5b9520ba Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
Fixed no error report when own address type is rpa_random and no random address setting

Closes BLEQABR23-159

See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
xiongweichao
481034060a bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-04-26 19:31:07 +08:00
Jakob Hasse
ca44fc3847 cxx/esp_hw_support: added build test, changed parameter types
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.

The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.

Closes https://github.com/espressif/esp-idf/pull/10895
2023-04-26 19:06:39 +08:00
xiongweichao
de24e9b86e bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-04-26 17:51:16 +08:00
Marius Vikhammer
9357f0977c Merge branch 'ci/chip_support_network_invalid_kconfigs' into 'master'
ci: remove redundant ci configs for chip support and network components

See merge request espressif/esp-idf!23430
2023-04-26 17:26:05 +08:00
hongshuqing
cbc5a38e26 support h2 eco2 fosc calibration 2023-04-26 15:31:18 +08:00
Xu Si Yu
c985267ccf ieee802154: increase the timeout for ieee802.15.4 CI test 2023-04-26 15:06:33 +08:00
Shyamal Khachane
e16b6f9369 esp_wifi: Reject TKIP cipher incase of OWE connection 2023-04-26 11:24:11 +05:30
Laukik Hase
4ac95a33fd
nvs_flash: Migrate UTs to component test-apps 2023-04-26 10:21:03 +05:30
zhiweijian
025fe44edb Fixed BLE disconnection failure on ESP32 2023-04-26 11:20:09 +08:00
Marius Vikhammer
1a5e47bd07 ci: fixed test apps overriding pytest configs 2023-04-26 11:07:35 +08:00
Shu Chen
5d222db12f Merge branch 'support/ieee802154_driver_opensrc' into 'master'
ieee802154: Support driver code open src

See merge request espressif/esp-idf!22857
2023-04-26 10:35:42 +08:00
Marius Vikhammer
bca026455c ci: remove redundent ci configs for chip support and network components
CI would build psram config test apps even for target with no psram.
2023-04-26 09:54:29 +08:00
Martin Vychodil
668521dfe7 Merge branch 'feature/vfs_test_app' into 'master'
VFS: move tests from unit-test-app to a component test app

See merge request espressif/esp-idf!23145
2023-04-26 09:23:28 +08:00
Kapil Gupta
f73bd61ebe Merge branch 'bugfix/dpp_retry_start_listening_issue' into 'master'
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure

See merge request espressif/esp-idf!23369
2023-04-26 01:07:03 +08:00
Zim Kalinowski
4a647d08de Merge branch 'feature/c6_ulp_sleep' into 'master'
ulp: added sleep support for lp core

Closes IDF-7012

See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Jakob Hasse
af2d326a95 Merge branch 'feature/freertos_plus_posix_SMP' into 'master'
[FreeRTOS/Linux] POSIX/Linux and SMP

Closes IDF-6087

See merge request espressif/esp-idf!21818
2023-04-25 20:21:26 +08:00
Mahavir Jain
3fd171f092
mbedtls: fix small typo in the config file 2023-04-25 17:44:28 +05:30
Mahavir Jain
7fd1378fbb
esp_tls: add initial support for TLS 1.3 connection 2023-04-25 17:40:01 +05:30
Sonika Rathi
d83c681078 VFS: move tests from unit-test-app to a component test app 2023-04-25 17:24:20 +05:30
Mahavir Jain
a8b6a70620 Merge branch 'feature/add_bignum_ll_layer' into 'master'
bignum: added bignum hal and ll layer

Closes IDF-7071

See merge request espressif/esp-idf!22823
2023-04-25 19:50:25 +08:00
Song Ruo Jing
e2a5c092f7 Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx

See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Ivan Grokhotkov
9d82d6bf7f
xtensa: don't print debug messages to stderr
By default, CMake message() commands prints to stderr.
IDEs like Eclipse show stderr output in red, which looks as if this is
some kind of error.

Use message(STATUS) instead.
2023-04-25 12:59:41 +02:00
Isha Pardikar
08a21e3e26 Merge branch 'bugfix/wifi_prov_deinit_github' into 'master'
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.

See merge request espressif/esp-idf!23413
2023-04-25 18:22:02 +08:00
Jiang Jiang Jian
58272a70b4 Merge branch 'esp32c6/bugfix_for_memory_leak_cause_by_timer' into 'master'
esp_wifi: bugfix for esp32c6 memory leak

See merge request espressif/esp-idf!23401
2023-04-25 18:04:36 +08:00
Radek Tandler
d8f2c0e715 Merge branch 'feature/storage_host_test_ffs' into 'master'
fatfs: host test migrated to CMake and esp_partition emulation for linux

See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00