Commit Graph

20729 Commits

Author SHA1 Message Date
wuzhenghui
14ea226351 fix(rtc_clk): fix i2c master clock missing in bbpll configure 2023-07-13 14:07:35 +08:00
Armando
3461449494 feat(esp32p4): added esp_rom support 2023-07-13 12:38:54 +08:00
Armando
59ed00a784 fix(soc): fix wrong register names in axi_dma_reg.h 2023-07-13 12:38:29 +08:00
chenjianhua
4e140bd2f9 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-13 12:12:57 +08:00
Marius Vikhammer
91aaf8b1a0 ci(qemu): temporarily allow qemu tests to fail 2023-07-13 11:16:38 +08:00
xuxiao
4960c10664 feat(wifi): itwt support itwt wake duration unit 2023-07-13 11:15:17 +08:00
Chen Jichang
b9c22b126a bugfix(driver/gpio):update the incorrect comment
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.

Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
Planck (Lu Zeyu)
c190beb4d9 bugfix(esp_lcd): propagate the errors in the IO link layer
Closes https://github.com/espressif/esp-idf/issues/11741
Check the result of each esp_lcd_panel_io_tx_param/esp_lcd_panel_io_tx_color call
Add runner and modify test rules
Update .build-test-rules.yml
2023-07-13 10:23:05 +08:00
Shu Chen
8019d6dbe3 Merge branch 'bugfix/openthread_sleep_esp32s3_build' into 'master'
fix(openthread): call sleep api only in native radio

See merge request espressif/esp-idf!24751
2023-07-13 10:10:17 +08:00
Jiang Jiang Jian
d04928a9c0 Merge branch 'feature/external_coexist_improve_esp32s3_master_performance' into 'master'
Feature/external coexist improve esp32s3 master performance

Closes WIFI-5583, IDF-6640, IDF-6652, and FCC-52

See merge request espressif/esp-idf!23150
2023-07-13 07:51:06 +08:00
Konstantin Kondrashov
dd08ec095b Merge branch 'feature/add_new_pkg_and_flash_efuses_esp32c3' into 'master'
feat(efuse): Add flash efuses for esp32c3

Closes IDF-7609

See merge request espressif/esp-idf!24685
2023-07-13 00:57:58 +08:00
Konstantin Kondrashov
9708952fa8 Merge branch 'feature/add_new_pkg_and_flash_psram_efuses' into 'master'
feat(efuse): Add flash&psram efuses for S3

Closes IDF-7439

See merge request espressif/esp-idf!24624
2023-07-13 00:57:14 +08:00
xiaqilin
afd76b85fe fix(openthread): call sleep api only in native radio 2023-07-12 20:49:11 +08:00
Jiang Jiang Jian
5995cab9c1 Merge branch 'bugfix/multiple_btm_rrm_task' into 'master'
Fix esp_supplicant_common_deinit to post delete btm_rrm_t task.

Closes IDFGH-9553

See merge request espressif/esp-idf!22674
2023-07-12 19:55:00 +08:00
muhaidong
444760b9e6 feat(external coex): add set tx line flag api 2023-07-12 19:24:29 +08:00
muhaidong
de03939923 external coex: rename coex gpio struct field names 2023-07-12 19:23:39 +08:00
Song Ruo Jing
9526273085 Merge branch 'bugfix/fix_uart_ll_compatible_with_cpp' into 'master'
fix(uart): Fixed C++ type conversion compile error in uart_ll_get_sclk

Closes IDFGH-10573

See merge request espressif/esp-idf!24690
2023-07-12 17:42:18 +08:00
xiaqilin
19a6f10d3c external coex: add slave mode support 2023-07-12 17:28:13 +08:00
muhaidong
a20047b7cc external_coex: add extern coex wire 4 2023-07-12 17:28:03 +08:00
liuning
2421997131 external coex: add txline, apply coex schm and half tx, apply lowest pti 2023-07-12 17:27:44 +08:00
Rahul Tank
4918dca3dc Merge branch 'bugfix/fix_exception_in_wifi_prov' into 'master'
fix (nimble): Increase the number of semaphore count for allocation

See merge request espressif/esp-idf!24333
2023-07-12 17:14:13 +08:00
harshal.patil
990e1e9307 refactor(mbedtls): refactored the return values check in some esp-aes APIs 2023-07-12 14:41:41 +05:30
harshal.patil
38255c048a fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.

- Also, zeroised the output buffer in case of error condition.
2023-07-12 14:41:41 +05:30
Zim Kalinowski
33e2985b95 driver: fixed log related warnings in i2s and uart 2023-07-12 15:50:06 +08:00
Sonika Rathi
571831b2ee UART: UART_SELECT_WRITE_NOTIF event added in UART driver
Closes https://github.com/espressif/esp-idf/issues/10986
2023-07-12 09:19:41 +02:00
Jiang Guang Ming
695c7ed793 Merge branch 'bugfix/update_esp_rom_include' into 'master'
fix(esp_rom): remove unsupported rom headers

See merge request espressif/esp-idf!24713
2023-07-12 15:16:07 +08:00
Jiang Jiang Jian
60fd11dbf7 Merge branch 'doc/update_wifi_security_mode' into 'master'
docs: update wifi security mode

Closes IDFGH-8565, IDFGH-8232, WIFI-6124, and WIFI-6125

See merge request espressif/esp-idf!23943
2023-07-12 15:06:14 +08:00
zhangyanjiao
7ae5822f0e fix(wifi): Add bugfixes and improvements
1. Update wifi security mode
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
2023-07-11 21:25:24 +08:00
Chen Jichang
cdd18fd232 refactor(gpio):add gpio linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-07-11 20:44:36 +08:00
Jiang Guang Ming
67c3334b4a fix(esp_rom): remove unsupported rom headers 2023-07-11 05:09:34 -07:00
KonstantinKondrashov
b95dfc67fa feat(efuse): Add flash efuses for esp32c3 2023-07-11 19:49:17 +08:00
Rahul Tank
027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
KonstantinKondrashov
cf46ef954f feat(efuse): Add flash&psram efuses for S3 2023-07-11 19:41:40 +08:00
Rahul Tank
f274a8bb06 Merge branch 'bugfix/handle_signed_power_level_pcl' into 'master'
fix(nimble): Fix data type of power level and delta to handle negative values

See merge request espressif/esp-idf!24116
2023-07-11 19:29:24 +08:00
Armando (Dou Yiwen)
9b17cce08c Merge branch 'refactor/s_adc_tsen_enabled_logic' into 'master'
refactor(adc): maintain s_adc_tsen_enabled in adc driver

See merge request espressif/esp-idf!24627
2023-07-11 18:15:49 +08:00
Ondrej Kosta
35d4dd74f5 Merge branch 'feature/lwip_bridge_wifi' into 'master'
lwip bridge wifi

Closes IDFGH-3778

See merge request espressif/esp-idf!24112
2023-07-11 17:54:10 +08:00
Armando
ec88a3f018 fix(ahb_dma): temporarily disable ahb_dma on p4 2023-07-11 16:59:02 +08:00
Kapil Gupta
01a9b46ea9 Fix(esp_wifi): Fix race conditions in btm task deletion 2023-07-11 14:22:10 +05:30
Chen Jian Xing
576ce647f8 Merge branch 'bugfix/fix_sometimes_sta_can_not_get_ip_from_softap_issue' into 'master'
lower the dhcp discover and request retry backoff time

Closes WIFI-5646, WIFI-5647, WIFI-4774, WIFI-4823, and WIFI-5823

See merge request espressif/esp-idf!24224
2023-07-11 15:18:41 +08:00
david zuhn
3d8f7b3895 spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-11 14:33:44 +08:00
Rocha Euripedes
23796e7f20 Merge branch 'mqtt/remove_no_format_on_tests' into 'master'
mqtt: Removes no-format from test_apps build

See merge request espressif/esp-idf!24525
2023-07-11 14:21:29 +08:00
Jiang Jiang Jian
cc1fe58ba3 Merge branch 'bugfix/sae_crypto_optimization_esp32' into 'master'
esp_wifi: Optimize sae crypto operations for esp32

See merge request espressif/esp-idf!24279
2023-07-11 13:57:29 +08:00
Jiang Jiang Jian
ccb6e2887a Merge branch 'bugfix/fix_ftm_dist_est' into 'master'
Enable FTM for ESP32C2, fix other FTM issues

Closes WIFI-3464, WIFI-4127, WIFI-4600, WIFI-4655, WIFI-5001, WIFI-5444, WIFI-5472, WIFI-5742, and WIFI-5893

See merge request espressif/esp-idf!22798
2023-07-11 12:20:42 +08:00
Song Ruo Jing
b60f4a6f37 fix(uart): Fixed C++ type conversion compile error in uart_ll_get_sclk
Closes https://github.com/espressif/esp-idf/issues/11813
2023-07-11 11:18:00 +08:00
morris
682e5ae450 Merge branch 'feature/esp_gdma_ops' into 'master'
feat(esp_gdma): add hal interface for common operations

Closes IDF-7809

See merge request espressif/esp-idf!24433
2023-07-11 10:40:42 +08:00
Song Ruo Jing
a9523b2cef Merge branch 'contrib/github_pr_11810' into 'master'
ledc.c: Fix frequency calculation. (GitHub PR)

Closes IDFGH-10569

See merge request espressif/esp-idf!24618
2023-07-11 10:32:58 +08:00
Armando (Dou Yiwen)
282e3b03bb Merge branch 'feature/add_esp32p4_hal_support' into 'master'
hal: add esp32p4 hal support

See merge request espressif/esp-idf!24427
2023-07-11 10:09:16 +08:00
Marius Vikhammer
39b9113f13 Merge branch 'bugfix/heap_trace_depth_assert' into 'master'
core-systems/heap: fixed wrong error message from assert in heap trace

See merge request espressif/esp-idf!24071
2023-07-11 09:15:59 +08:00
Jiang Jiang Jian
8bfbd28535 Merge branch 'feature/phy_track_pll_logic_refactor' into 'master'
esp_phy: phy track pll logic refactor

See merge request espressif/esp-idf!24108
2023-07-11 04:11:00 +08:00
Marius Vikhammer
b70aaa16f1 Merge branch 'contrib/github_pr_11509' into 'master'
[Heap Trace Standalone] do not allocate memory until init is called (GitHub PR)

Closes IDFGH-10247

See merge request espressif/esp-idf!23958
2023-07-10 19:59:00 +08:00
C.S.M
58e7cb600e Merge branch 'test/temperature_phy' into 'master'
temperature sensor: Add test for temperature sensor and phy

See merge request espressif/esp-idf!24317
2023-07-10 19:36:02 +08:00
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
zhangwenxu
4d6b13f395 esp_phy: phy track pll logic refactor 2023-07-10 17:54:04 +08:00
Zhang Wen Xu
453dc6ab40 Merge branch 'fix/openthread_settings_out_of_range_issue' into 'master'
fix(openthread): fix ot settings out of range issue

See merge request espressif/esp-idf!24631
2023-07-10 17:25:03 +08:00
Armando
c5e99100e7 feat(hw stack): added todo for hw stack guard in soc_caps.h 2023-07-10 16:11:47 +08:00
Armando
fb420725d2 feat(hal): unify hal cmake for spi_flash_hal_gpspi.c 2023-07-10 16:11:47 +08:00
Armando
ea05ae6af2 feat(esp32p4): added hal support 2023-07-10 16:11:47 +08:00
Jiang Jiang Jian
cdaf1fd518 Merge branch 'fix/esp32s3_sysview_trace_corrupt' into 'master'
fix(app_trace): Fix apptrace data corruption on ESP32-S3

Closes OCD-647 and IDFGH-9216

See merge request espressif/esp-idf!24500
2023-07-10 16:01:43 +08:00
Zhang Wen Xu
b8e71140ad Merge branch 'feature/add_ieee802154_modem_reset' into 'master'
ieee802154: add modem reset and fix ieee802154 test app reg command error

See merge request espressif/esp-idf!24384
2023-07-10 14:45:23 +08:00
Zhang Wen Xu
80e1c5a2b7 Merge branch 'fix/txpower_max_value' into 'master'
IEEE802154: match C6/H2 max txpower value with datasheet

See merge request espressif/esp-idf!24325
2023-07-10 14:42:22 +08:00
Shu Chen
4365a03bdd Merge branch 'support/ieee802154_test_based_on_opensource' into 'master'
ieee802154: add CONFIG_IEEE802154_TEST for supporting ieee802154 test

See merge request espressif/esp-idf!24148
2023-07-10 14:06:03 +08:00
morris
9eb145aa21 feat(esp_gdma): adapt the gdma driver to ahb-dma and axi-dma 2023-07-10 13:45:57 +08:00
morris
56a376c696 feat(esp_gdma): add hal interface for common operations
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Nachiket Kukade
6e6139061d fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-10 10:41:37 +05:30
IhorNehrutsa
909d8b6db5 fix(ledc): fix frequency calculation
ledc.c: Fix frequency calculation.
Round int instead of truncate.

Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-10 11:45:09 +08:00
Shen Wei Long
e46e3f18f1 Merge branch 'feature/update_ble_libs' into 'master'
ble: Added APIs for QA test

See merge request espressif/esp-idf!24616
2023-07-07 19:53:30 +08:00
Rahul Tank
64a01af42d Merge branch 'feature/services_proximity' into 'master'
NimBLE : Added proximity sensor as a service

See merge request espressif/esp-idf!24357
2023-07-07 16:51:22 +08:00
morris
65e1ced886 Merge branch 'bugfix/ringbuf_coverity_issues' into 'master'
esp_ringbuf: Fix "USE_AFTER_FREE" coverity issue

Closes IDF-7671

See merge request espressif/esp-idf!24530
2023-07-07 14:44:32 +08:00
morris
ad4ab84fd8 Merge branch 'refactor/esp_lcd_linker' into 'master'
refactor(esp_lcd): move hal function placement to the driver layer

See merge request espressif/esp-idf!24617
2023-07-07 14:34:44 +08:00
Song Ruo Jing
ea48030514 Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Armando (Dou Yiwen)
adb93a3770 Merge branch 'feature/add_esp32p4_soc_support_part_3' into 'master'
soc: added soc headers for esp32p4 (part 3)

See merge request espressif/esp-idf!24481
2023-07-07 11:44:46 +08:00
Wu Zheng Hui
94613a5904 Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_master' into 'master'
ci: fix deepsleep wakestub example ci failure

See merge request espressif/esp-idf!24466
2023-07-07 11:38:14 +08:00
Jiang Jiang Jian
625f1bae6e Merge branch 'feature/add_api_to_get_rssi_for_sta' into 'master'
feat(wifi): Add new API to get rssi info after station connected to AP

Closes AUD-4662, WIFI-5066, and TCI-1326

See merge request espressif/esp-idf!24505
2023-07-07 11:32:01 +08:00
Marius Vikhammer
450618c39d docs(heap): fixed typo in heap trace docs 2023-07-07 10:49:15 +08:00
Cao Sen Miao
53dee1abe0 feat(temperature_sensor_test): Add test for temperature sensor and phy 2023-07-07 10:15:07 +08:00
Mahavir Jain
ca6d4a571e Merge branch 'feature/make_read_otadata_api_public' into 'master'
feat: Made read_otadata() API public

Closes IDFGH-10345

See merge request espressif/esp-idf!24560
2023-07-06 22:23:16 +08:00
zhangwenxu
0d94cefe4b fix(openthread): fix ot settings out of range issue 2023-07-06 21:04:01 +08:00
Kevin (Lao Kaiyao)
a6e2ea141a Merge branch 'refactor/adc_2nd_step_calib_coeff_stuff' into 'master'
adc_calib: refactor 2nd step coeff

Closes IDF-7653

See merge request espressif/esp-idf!24397
2023-07-06 20:32:31 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
78c33778a9 Merge branch 'bugfix/refactor_nimble_header' into 'master'
refactor (nimble): Refactor nimble header files

Closes DOC-5615

See merge request espressif/esp-idf!24432
2023-07-06 20:17:35 +08:00
Armando
93d4095fb0 feat(soc): added pmu_icg_mapping.h on p4 2023-07-06 18:57:41 +08:00
Armando
1c3aedf45e remove p4 rtc_io related files as requested 2023-07-06 18:23:18 +08:00
Armando
a9365b8049 feat(soc): rename rtc_timer_reg to lp_timer_reg 2023-07-06 18:23:18 +08:00
Armando
369f8ba459 feat(soc): update interrupts.c 2023-07-06 18:23:18 +08:00
Armando
9d755f855e feat(soc): update efuse registers 2023-07-06 18:23:18 +08:00
Armando
e921d03a0d feat(soc): update gpio_ext_reg.h and its base addr 2023-07-06 18:23:18 +08:00
Armando
65bfa590da feat(soc): soc updates 2023-07-06 18:23:18 +08:00
Armando
2f6ce0cc17 fix(regi2c): wrong ADC_CALI_PD_WORKAROUND on c6, h2 2023-07-06 17:54:31 +08:00
Armando
8cf0e5d5b8 feat(soc): rename rtc_wdt_reg to lp_wdt_reg 2023-07-06 17:54:31 +08:00
Armando
0959c0cb96 feat(soc): rename mspi registers 2023-07-06 17:54:31 +08:00
Armando
611c1037a2 feat(soc): added soc_caps.h on esp32p4 2023-07-06 17:54:31 +08:00
Armando
8bcef5abb0 refactor(adc): maintain s_adc_tsen_enabled in adc driver 2023-07-06 17:28:49 +08:00
zhangyanjiao
277f0f4470 feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-06 17:27:42 +08:00
laokaiyao
edc1abc8ea refactor(adc_calib): Simplify 2nd step coefficient calculation
- remove unnecessary variables and calculations
- improve readability of code
2023-07-06 14:22:03 +08:00
Harshit Malpani
941eb4e61e
feat: Made read_otadata() API public
Updated the read_otadata() API name to bootloader_common_read_otadata() and made the API public.

Closes https://github.com/espressif/esp-idf/issues/11603
2023-07-06 11:40:49 +05:30
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
morris
6f3e07d97b Merge branch 'feature/gptimer_linker_file' into 'master'
feat(gptimer): add gptimer linker.lf to control the placement of driver and hal

See merge request espressif/esp-idf!24598
2023-07-06 12:42:47 +08:00
morris
2e5eb30382 Merge branch 'origin/bugfix/fix_header_violations_in_hal_component' into 'master'
Fix(components/hal): fix header violations in hal component

Closes IDF-7658

See merge request espressif/esp-idf!24493
2023-07-06 10:32:25 +08:00
Jiang Jiang Jian
781d2717cd Merge branch 'bugfix/nan_sd_dp_fixes' into 'master'
NAN Service discovery and datapath bugfixes

Closes WIFI-5588

See merge request espressif/esp-idf!24302
2023-07-06 10:30:05 +08:00
morris
b72df43a3f refactor(esp_lcd): control hal function placement in the esp_lcd component
because G1 component can't rely on G2 component, thus  we shouldn't use the esp_lcd's Kconfig in the hal's linker.lf
2023-07-05 22:54:01 +08:00