Commit Graph

21459 Commits

Author SHA1 Message Date
morris
94a662995b Merge branch 'feature/support_hp_regi2c_for_esp32c6' into 'master'
feature: support_hp_regi2c_for_esp32c6

Closes IDF-7025

See merge request espressif/esp-idf!24303
2023-08-10 16:54:56 +08:00
C.S.M
96bf37ab78 Merge branch 'feature/i2c_master_new_driver' into 'master'
I2C: Add new i2c master impl APIs and i2c eeprom example

See merge request espressif/esp-idf!23592
2023-08-10 16:51:31 +08:00
nilesh.kale
b4f9dd1fa5 fix(mbedtls): IRAM optimization analyzed on mbedtls/test_apps 2023-08-10 14:05:22 +05:30
Armando (Dou Yiwen)
337aeb4b78 Merge branch 'feature/add_esp32p4_hello_world' into 'master'
esp32p4: introduced new chip ESP32P4: Hello World! 🌏

Closes IDF-7523

See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Marius Vikhammer
9bb6a04e87 Merge branch 'bugfix/console_init_caps' into 'master'
fix(console): fixed esp_console_init not working if heap_alloc_caps was 0

See merge request espressif/esp-idf!25294
2023-08-10 14:34:11 +08:00
Jakob Hasse
efd46fc140 Merge branch 'refactor/public_header_checker_cxx' into 'master'
Add C++ check to public header file checker

Closes IDF-7286

See merge request espressif/esp-idf!25263
2023-08-10 14:17:22 +08:00
Lou Tian Hao
0878b9bdcd Merge branch 'feature/support_EXT1_WAKEUP_MODE_PER_PIN_for_esp32c6_and_esp32h2' into 'master'
Feature: support ext1 wakeup mode per pin for esp32c6 and esp32h2

See merge request espressif/esp-idf!24875
2023-08-10 14:01:03 +08:00
Cao Sen Miao
262dac9c4d change(ulp): change some hal(ll) function name to new ones 2023-08-10 11:55:54 +08:00
Cao Sen Miao
b6cbeeae01 feat(lcd): Add new version LCD implementation to adapt new I2C APIs 2023-08-10 11:55:54 +08:00
Cao Sen Miao
4ef94fc0dc feat(i2c): Add new API and implementation for I2C driver 2023-08-10 11:55:54 +08:00
Jiang Jiang Jian
70e223a867 Merge branch 'bugfix/fix_phy_rx_issue' into 'master'
fix(phy): Fix 11b/g rx issue for ESP32

See merge request espressif/esp-idf!25223
2023-08-10 10:56:33 +08:00
Marius Vikhammer
f80430911f fix(console): fixed esp_console_init not working if heap_alloc_caps was 0 2023-08-10 10:35:32 +08:00
Armando
32ed3538af fix(pwm): fix struct def 2023-08-10 10:16:20 +08:00
cjin
5a8e51f24c ble: move phy enabled/disable to controller enable/disable 2023-08-10 10:14:29 +08:00
Mahavir Jain
3befd5fff7 Merge branch 'contrib/github_pr_11869' into 'master'
bugfix: avoid warning in espcoredump when log disabled (GitHub PR)

Closes IDFGH-10636

See merge request espressif/esp-idf!25134
2023-08-10 02:19:32 +08:00
Rahul Tank
301b322245 Merge branch 'feature/enc_adv_data' into 'master'
NimBLE: Added support of encrypted advertising data

See merge request espressif/esp-idf!23746
2023-08-09 23:00:40 +08:00
wuzhenghui
a425d8816a feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently 2023-08-09 20:19:50 +08:00
radek.tandler
28f82d8de7 refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00
radek.tandler
1da6a4f5fa fix(spiffs): Corrected buffer size and allocation in host test 2023-08-09 14:14:20 +02:00
radek.tandler
4c13bf53ea change(esp_partition): Improved granularity of power-off emulation for Linux 2023-08-09 14:14:14 +02:00
Lou Tianhao
808a01e656 feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN 2023-08-09 19:46:25 +08:00
Armando
06782d1623 change(esp32p4): update rtc interrupt registration todo list 2023-08-09 19:33:36 +08:00
Armando
00df6b378d refactor(sar): build sar_periph_ctrl related files by chip 2023-08-09 19:33:36 +08:00
KonstantinKondrashov
c09d823b6a change(efuse): Update eFuses for esp32p4 chip 2023-08-09 19:33:35 +08:00
Armando
aa245489fb change(bootloader): added address check in bootloader.ld 2023-08-09 19:33:26 +08:00
Armando
706d684418 feat(esp32p4): introduced new target esp32p4, supported hello_world 2023-08-09 19:33:25 +08:00
gaoxu
fd759d65b0 refactor(cache): abstract cache rom API in cache_ll.h 2023-08-09 10:32:12 +00:00
Darian Leung
1620d97299 change(freertos): Optimized xTaskRemoveFromEventList()
This commit optimizes xTaskRemoveFromEventList() by removing the
listLIST_IS_EMPTY() check from single core builds. The scenario of the event
list being empty when the function is called can only occur on multi-core
builds.
2023-08-09 16:43:52 +08:00
Darian Leung
5947314431 fix(freertos): Fix vTaskRemoveFromUnorderedEventList()
This commit fixes and optimizes vTaskRemoveFromUnorderedEventList() in the
following ways:

- Fixed bug in single core builds where the unblocked task would be placed on
xPendingReadyList.
    - If an ISR occurs while accessing xPendingReadyList, and the ISR also
      accesses the xPendingReadyList, xPendingReadyList would be corrupted.
    - In single core builds, this function is only called from event groups with
      the scheduler suspended. Thus the function should have exclusive access to
      pxReadyTasksLists instead of xPendingReadyList.
    - The function's single core logic has now been updated to match upstream
      behavior, by always placing the unblocked task on pxReadyTasksLists.

- Optimized the function for single core builds by removing the
taskCAN_BE_SCHEDULED() check.
    - In single core builds, given that the function is always called with the
      scheduler suspended
    - Thus, the taskCAN_BE_SCHEDULED (and the subsequent routine to place the
      unblocked task on the xPendingReadyList) is not necessary for single core
      builds.
    - The function now matches upstream behavior in single core builds.

Closes https://github.com/espressif/esp-idf/issues/11883
2023-08-09 16:43:52 +08:00
Jakob Hasse
44e4ef79e2 fix(esp_system): Fixed C++ compilation of libunwind.h 2023-08-09 16:17:08 +08:00
Jakob Hasse
342a5b428c fix(esp_event): made #include <stdint.h> explicit 2023-08-09 16:17:06 +08:00
Darian Leung
fdcab76128 fix(freertos): taskCAN_BE_SCHEDULED macro parenthesis
This commit adds missing parenthesis around the taskCAN_BE_SCHEDULED macro so
that it can properly used with a negation operator.
2023-08-09 15:54:14 +08:00
Radek Tandler
db4308888d Merge branch 'feature/storage_nvs_stat' into 'master'
nvs_flash: nvs_get_stats extended by available_entries, API documentation updated

See merge request espressif/esp-idf!24523
2023-08-09 15:40:35 +08:00
Xiao Xufeng
5ee8add38c refactor(esp_hw_support): Move rtc_8md256 and rtc_power_modes test apps to esp_hw_support 2023-08-09 14:57:57 +08:00
Chen Jichang
3fed3cf50e feat(pcnt): add support for ESP32P4 2023-08-09 14:41:22 +08:00
Lou Tianhao
d59e91c030 feature: support_hp_regi2c_for_esp32c6 2023-08-09 14:24:31 +08:00
Zhang Xiao Yan
30983a25d5 Merge branch 'docs/fix_typos_adc_continuous.h' into 'master'
docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h

See merge request espressif/esp-idf!25241
2023-08-09 14:20:51 +08:00
Konstantin Kondrashov
a12c06367f Merge branch 'ci/test_verify_image' into 'master'
fix(bootloader_support): Fix memory leak for unit tests

Closes IDFCI-1754 and IDFCI-1755

See merge request espressif/esp-idf!24870
2023-08-09 13:44:22 +08:00
morris
bd8eaf7a38 Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
feat(MCPWM): Add support for ESP32P4

Closes IDF-7493

See merge request espressif/esp-idf!25029
2023-08-09 11:00:00 +08:00
Jakob Hasse
bb227e0d84 Merge branch 'refactor/semaphore_to_platform_includes' into 'master'
refactor: moved semaphore.h to newlib platform_include

Closes IDFGH-10281

See merge request espressif/esp-idf!24088
2023-08-08 23:45:37 +08:00
Sudeep Mohanty
397825af93 Merge branch 'bugfix/lp_i2c_bugfixes' into 'master'
Fixed multiple LP I2C bugs

Closes IDFGH-10740

See merge request espressif/esp-idf!25255
2023-08-08 23:37:53 +08:00
Alexey Gerenkov
f8e020b1d7 feat(newlib): Implement getentropy() function
Closes https://github.com/espressif/esp-idf/issues/11963
2023-08-08 18:06:58 +03:00
morris
3e31826719 Merge branch 'bugfix/gptimer_hal_placement_wrong_condition' into 'master'
fix(gptimer): hal function placement under wrong condition

Closes IDFGH-10809

See merge request espressif/esp-idf!25237
2023-08-08 22:15:55 +08:00
morris
259dea3912 Merge branch 'feature/drivers_use_creation_with_caps_functions' into 'master'
Drivers: Update drivers to use CreateWithCaps() API

See merge request espressif/esp-idf!24378
2023-08-08 22:04:49 +08:00
alanmaxwell
52751c2a3a fix(phy): Fix 11b/g rx issue for ESP32 2023-08-08 12:57:01 +00:00
satish.solanke
b250e598dc fix(Bluedroid) : Fix the memory corruption issue 2023-08-08 12:16:55 +00:00
Jiang Guang Ming
eaca3316b1 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable' into 'master'
feat(mbedtls): support ecp fixed-point multiplication configurable

See merge request espressif/esp-idf!25152
2023-08-08 19:32:05 +08:00
Chen Jichang
72f66b6d1d feat(mcpwm): add support for ESP32P4 2023-08-08 18:12:58 +08:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
Jakob Hasse
8042362e2a refactor: moved semaphore.h to newlib platform_include
Closes https://github.com/espressif/esp-idf/issues/11540
2023-08-08 16:45:57 +08:00
wuzhenghui
e9c6083729 fix(light_sleep): shouldn't backup uart fifo reg in pd_top light sleep 2023-08-08 16:45:17 +08:00
radek.tandler
3ffb8f8ffd nvs: nvs_get_stats fixed test, improved comment 2023-08-08 08:43:19 +02:00
radek.tandler
ac6c03fad1 change(nvs_flash): nvs_get_stats extended, API documentation improved 2023-08-08 08:43:19 +02:00
Sudeep Mohanty
00955f7e59 fix(lp_i2c): Fixed a bug where the LP_I2C did not send NACK for 16-byte reads
This commit updates the LP_I2C driver used by the LP CPU wherein the
driver did not send out a NACK when we do a read of multiple of the FIFO
depth bytes. This was because the LP I2C controller was configured to
send an ACK when the Rx FIFO reaches the threshold instead of a NACK.
This commit updates the behavior.
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
5b46ef3cdd fix(lp_i2c): Fixed a bug where LP I2C write got stuck
This commit fixes a bug where an I2C write got stuck when using the
lp_core_i2c_master_write_read_device() API. This was because the LP I2C
HW was not programmed with an END condition and therefore did not know
the end of a transaction.

Closes: https://github.com/espressif/esp-idf/issues/11958
2023-08-08 06:35:15 +00:00
Sudeep Mohanty
4464599dad fix(lp_i2c): Fixed incorrect clock setting for LP_I2C
The LP_I2C clock setting was incorrect and a lower frequency value was
being set during initialization. This commit fixes the behavior.
2023-08-08 06:35:15 +00:00
Linda
df85758c7e docs: fix typos in esp_adc/include/esp_adc/adc_continuous.h 2023-08-08 06:11:30 +00:00
Jiang Guang Ming
3f2746688c feat(mbedtls): support ecp fixed-point multiplication configurable 2023-08-08 14:03:57 +08:00
isha.pardikar@espressif.com
e0b5ab3cef fix(nimble): Added checks before accessing event pointers 2023-08-08 04:58:20 +00:00
Darian Leung
9ed58bf564 feat(driver): updated drivers to use CreateWithCaps() API
This commit simplifies various drivers by using the ...CreateWithCaps() API
when creating driver objects in internal RAM.
2023-08-08 04:26:42 +00:00
morris
a662ec0a8d fix(gptimer): hal function placement under wrong condition
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.

Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-08 04:26:02 +00:00
Marius Vikhammer
31d87a0c59 Merge branch 'ci/mpi_public_header_fix' into 'master'
fix(mpi): fixed missing include in mpi_ll.h for P4

See merge request espressif/esp-idf!25257
2023-08-08 11:58:43 +08:00
Marius Vikhammer
54f327a380 Merge branch 'contrib/github_pr_11562' into 'master'
[Console] add setting to use PSRAM (GitHub PR)

Closes IDFGH-10303

See merge request espressif/esp-idf!25136
2023-08-08 09:34:47 +08:00
Marius Vikhammer
ff15d4045e fix(mpi): fixed missing include in mpi_ll.h for P4 2023-08-08 09:29:28 +08:00
Chen Jian Hua
f5d9986246 Merge branch 'bugfix/fix_bleqabr23_178' into 'master'
fix(bt/bluedroid): Fix address check when using NRPA as random device address

See merge request espressif/esp-idf!25074
2023-08-07 20:38:32 +08:00
Chen Jian Hua
ad149a6a80 Merge branch 'feature/support_high_duty_adv_interval' into 'master'
feat(bt/bluedroid): Support high duty adv interval setting

See merge request espressif/esp-idf!25108
2023-08-07 20:38:17 +08:00
Lou Tian Hao
791360336a Merge branch 'feature/support_pd_hp_aon_domain_in_deepsleep' into 'master'
Feature: support pd hp aon domain in deepsleep

See merge request espressif/esp-idf!25175
2023-08-07 17:28:40 +08:00
morris
5748ce45fe Merge branch 'bugfix/i80_lcd_reset_gpio_config' into 'master'
fix(i80_lcd): reset cs gpio on exit

See merge request espressif/esp-idf!25209
2023-08-07 15:50:42 +08:00
morris
27eec5bb6f Merge branch 'feature/twai_linker_file' into 'master'
feat(twai): Add twai linker.lf to control the placement of driver and hal

Closes IDF-7806

See merge request espressif/esp-idf!25126
2023-08-07 15:21:37 +08:00
Mahavir Jain
f089cd5fab Merge branch 'esp32p4/add_mpi_support' into 'master'
feat(mpi): add MPI peripheral support for esp32p4

See merge request espressif/esp-idf!25110
2023-08-07 13:37:14 +08:00
Roland Dobai
1f6fd9027a Merge branch 'feature/add_esp32p4_public_header_check' into 'master'
CI: enable esp32p4 public header check

See merge request espressif/esp-idf!25166
2023-08-07 12:24:01 +08:00
morris
aacd7d84d9 fix(i80_lcd): reset cs gpio on exit 2023-08-07 03:15:21 +00:00
Planck (Lu Zeyu)
7469f34948 feat(twai): Add twai linker.lf to control the placement of driver and hal
- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
2023-08-07 10:21:47 +08:00
Adam Múdry
ebde53bbb9 docs(fatfs): Move mentioned APIs to a separate API reference section 2023-08-04 23:47:44 +00:00
Armando
b9708d933f fix(soc): fix ecc_mult_struct.h struct size check 2023-08-04 14:13:59 +02:00
Armando
de68029de9 change(header): modify p4 headers issues from check_header_py 2023-08-04 14:13:59 +02:00
morris
55ea6b78a7 Merge branch 'feature/async_memcpy_rewrite' into 'master'
feat(async_memcpy): refactor driver code to support different DMA backends

See merge request espressif/esp-idf!25050
2023-08-04 17:52:13 +08:00
Jiang Jiang Jian
025be6bbba Merge branch 'bugfix/manage_i2c_clock_with_modem_clock_driver' into 'master'
fix(esp_hw_support): manage i2c_ana_mst clock with modem clock driver

Closes IDF-7939 and BT-3368

See merge request espressif/esp-idf!25132
2023-08-04 17:34:51 +08:00
Wang Meng Yang
3da60ec6e7 Merge branch 'bugfix/remove_deprecated_err_code' into 'master'
fix(bt): Removed an incorrectly defined HCI error code in Bluedroid

See merge request espressif/esp-idf!25162
2023-08-04 17:26:47 +08:00
morris
a296532715 Merge branch 'bugfix/temperature_get_value_negative' into 'master'
bugfix(temperature_sensor): Fix issue that get the value is negative

See merge request espressif/esp-idf!25165
2023-08-04 15:24:11 +08:00
wuzhenghui
8b5052f213 fix(light_sleep): save vddsdio_config before lightsleep 2023-08-04 11:58:07 +08:00
wuzhenghui
0b0e8ab80b fix(light_sleep): suspend/resume cache correspondingly after light sleep 2023-08-04 11:56:55 +08:00
C.S.M
40532cb820 Merge branch 'bugfix/esp32s3_lack_boot_resume' into 'master'
bugfix(spi_flash): Add flash resuem in bootloader on esp32s3

See merge request espressif/esp-idf!25163
2023-08-04 11:24:56 +08:00
Wang Meng Yang
8e5aebe69e Merge branch 'bugfix/fix_bt_3379' into 'master'
fix(bt): Fix phy enable and disable for bt controller on esp32c3

See merge request espressif/esp-idf!25012
2023-08-04 10:52:24 +08:00
wuzhenghui
c34cdd05e9 fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 10:39:43 +08:00
Xiong Wei Chao
0331e6fabd Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout' into 'master'
bt: Fix disconnection due to lmp messages not being processed by both sides

Closes BTQABR2023-38 and BTQABR2023-37

See merge request espressif/esp-idf!24757
2023-08-04 10:23:26 +08:00
Jiang Jiang Jian
ea33db32ac Merge branch 'bugfix/fix_ftm_error_propagation' into 'master'
Fix error propagation while initiating FTM

Closes WIFIBUG-23

See merge request espressif/esp-idf!25118
2023-08-04 08:35:58 +08:00
Jiang Jiang Jian
5ab6f5f0bb Merge branch 'bugfix/allow_owe_traffic_after_eapol' into 'master'
Fix some OWE issues

Closes WIFIBUG-10, WIFIBUG-29, and WIFIBUG-58

See merge request espressif/esp-idf!25071
2023-08-04 05:01:23 +08:00
morris
6eabfc2c9f Merge branch 'feature/gptimer_interrupt_priority' into 'master'
feat(gptimer): support set interrupt priority

Closes IDF-7954

See merge request espressif/esp-idf!25125
2023-08-04 04:10:45 +08:00
Bogdan Kolendovskyy
87d8273bda Merge branch 'feature/eth_loopback_test' into 'master'
esp_eth/test_apps: add loopback test

Closes IDF-6186

See merge request espressif/esp-idf!23858
2023-08-04 02:12:10 +08:00
Aditya Patwardhan
e468d2220f Merge branch 'bugfix/secure_ota_without_padding' into 'master'
fix(secure_ota): secure app verification issue without padding bytes

Closes IDFGH-10784

See merge request espressif/esp-idf!25156
2023-08-03 22:07:07 +08:00
Nachiket Kukade
fc3798f590 fix(wifi): Fix error propagation while initiating FTM 2023-08-03 16:59:28 +05:30
Bogdan Kolendovskyy
224ba396f1 esp_eth: add loopback test, change chip drivers to reflect chip specific behaviour
In esp_eth_test_apps.c:
Add test of loopback functionality. Change speed/duplex/autonegotiation test - remove need to enable loopback (required
for it to work on some phys supported by ESP-IDF)

In Kconfig.projbuild:
Add parameters to select which configuration is used - standard or custom.
Add for custom configuration parameters to select MDC and MDIO pins (required to work with WESP-32 and other boards that
use non-standard pin assignments).

In esp_eth_test_common.c:
Add code to support changes made in Kconfig

In sdkconfig.ci.default_rtl8201:
Change config which is used. Now custom is used and MDC is gpio 16, MDIO is gpio 17. Reuqired to work with WESP-32

In esp_eth_phy_802_3.h:
Make 802.3 API public.

In esp_eth_phy_802_3.c:
Add loopback check in eth_phy_802_3_set_duplex(). Now ESP_ERR_INVALID_STATE is invoked on attempt to set duplex to half
when loopback is enabled.
Remove static property from esp_eth_phy_802_3_autonego_ctrl and esp_eth_phy_802_3_loopback.

In esp_eth_phy_dm9051.c:
Add dm9051_loopback() because DM9051 requires setting additional bit to enable auto-negotiation loopback for data to be
received. Add dm9051_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is
enabled because such speed configuration is unsupported.

In esp_eth_phy_ksz80xx.c:
Add ksz80xx_set_speed() which invokes ESP_ERR_INVALID_STATE on attempt to set speed to 10 Mbps when loopback is enabled
because such speed configuration is unsupported.

In esp_eth_phy_ksz8851snl.c:
Change phy_ksz8851_set_duplex() to invoke ESP_ERR_INVALID_STATE on attempt to set duplex to half when loopback is enabled.

In  esp_eth_phy_dp83848.c, esp_eth_phy_rtl8201.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.

In esp_eth_phy_lan87xx.c:
Add autonego_ctrl implementation which prevents enabling autonegotiation when loopback is enabled.
Add loopback implementation which disables autonegotiation prior to enabling loopback.
Fix link indicating being down when loopback is enabled by force setting link up.
2023-08-03 13:18:44 +02:00
morris
c32cabc7f8 feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
Cao Sen Miao
91ad084c15 bugfix(spi_flash): Add flash resuem in bootloader on esp32s3 2023-08-03 18:26:00 +08:00
Lou Tianhao
caddc10bf3 feat(pm/deepsleep): support pd hp aon domain in deepsleep 2023-08-03 17:23:02 +08:00
Jin Cheng
99eb6bf3ec fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-03 16:52:50 +08:00
Roman Leonov
e297470e62 Merge branch 'bugfix/usb/host/urb_compliance_verification_add' into 'master'
feature(usb/host) added URB check args and transfer check compliance for regular EP transfer submit

See merge request espressif/esp-idf!24106
2023-08-03 16:20:49 +08:00
Island
b43914770f Merge branch 'bugfix/fix_duplicate_disable_compile_issue' into 'master'
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.

See merge request espressif/esp-idf!25003
2023-08-03 16:09:44 +08:00
Kapil Gupta
d0fb902789 Merge branch 'bugfix/update_supplicant_copyrights' into 'master'
change(esp_wifi): Update copyright info for wpa_supplicant

See merge request espressif/esp-idf!24919
2023-08-03 13:17:31 +08:00
Jin Cheng
79bb7b6c8a fix(bt): Removed an incorrectly defined HCI error code 2023-08-03 12:15:03 +08:00
harshal.patil
031175d22a
feat(mpi): add MPI peripheral support for esp32p4 2023-08-03 09:44:02 +05:30
Rahul Tank
bae1838f66 Merge branch 'bugfix/handle_NULL_data_periodic_adv' into 'master'
fix(nimble): Add check to set length only if data is valid in periodic adv

Closes BLEQABR23-351

See merge request espressif/esp-idf!24498
2023-08-03 12:11:55 +08:00
Shyamal Khachane
e986bda085 fix(esp_wifi): Fix some OWE issues
1. Allow flow of traffic after 4 way handshake is completed
2. Fix beacon timeout issue in transition mode
2023-08-03 09:41:43 +05:30
morris
956ec54aed fix(heap): use _SAFE version of critical section
because we allow to call malloc and free in an ISR context
2023-08-03 12:02:09 +08:00
morris
fd3d1aa101 feat(async_memcpy): refactor driver code to support different DMA backen
To support AHB and AXI DMA memory copy for the same target (esp32p4).
2023-08-03 12:02:09 +08:00
Cao Sen Miao
4ccbec93e2 bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-03 11:16:42 +08:00
chenjianhua
e43e4b83fc feat(bt/bluedroid): Support high duty adv interval setting 2023-08-03 11:14:38 +08:00
chenjianhua
6719002dd1 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-08-03 10:53:03 +08:00
Liu Ning
de409c2ec3 Merge branch 'bugfix/fix_no_mac_retention_at_wifi_start' into 'master'
fix(esp_wifi): fix no mac retention at wifi start

Closes WIFI-6068 和 WIFI-3695

See merge request espressif/esp-idf!25122
2023-08-03 10:47:52 +08:00
Michael (XIAO Xufeng)
1317d9a5b5 Merge branch 'feat/psram_support_d2wd_single_clk_u4wdh' into 'master'
spiram: Add support for U4WDH, and fixed D0WD/D2WD cannot share CLK pins

Closes IDF-4485

See merge request espressif/esp-idf!17665
2023-08-03 10:37:46 +08:00
Marius Vikhammer
1ec1a69ed0 feature(console): updated console alloc config to use static config struct
No need to store the config in a separate variable, can re-use the config struct
2023-08-03 10:19:15 +08:00
Jiang Jiang Jian
494c33e8d1 Merge branch 'bugfix/fix_pmf_set_race' into 'master'
fix(wifi): Prevent PMF config overwritten by tx_cb

Closes WIFIBUG-42

See merge request espressif/esp-idf!25119
2023-08-03 09:36:18 +08:00
Aditya Patwardhan
ef320349fe Merge branch 'bugfix/nitpick_in_esp_http_client' into 'master'
fix: nitpick in esp_http_client

See merge request espressif/esp-idf!25066
2023-08-03 02:49:51 +08:00
Mahavir Jain
36d42625af Merge branch 'fix/mmu_hal_valid_vaddr_check' into 'master'
fix(hal): Fix the external memory vaddr region validity check

See merge request espressif/esp-idf!25101
2023-08-02 23:05:16 +08:00
Mahavir Jain
56fb618733
fix(secure_ota): secure app verification issue without padding bytes
For the following configuration case:

 - CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
 - CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
 - CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION

verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.

This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.

Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:31:20 +05:30
liuning
12b894fd5d fix(esp_wifi): fix no mac retention at wifi start 2023-08-02 21:33:41 +08:00
Kapil Gupta
fb908dfe98 change(esp_wifi): Update copyright info for wpa_supplicant 2023-08-02 18:51:37 +05:30
Island
24d9ea4939 Merge branch 'ble_mesh/esp32c6_BLEQABR23-266' into 'master'
ble mesh: stack: return error when scanning failed to be enabled

See merge request espressif/esp-idf!24771
2023-08-02 21:08:10 +08:00
Wu Meng Shi
d57bf77699 ble mesh: stack: return error when scanning failed to be enabled 2023-08-02 21:08:10 +08:00
Kapil Gupta
2b18dd4899 fix(wifi): Prevent PMF config overwritten by tx_cb 2023-08-02 11:33:33 +00:00
Jiang Jiang Jian
7bab23130e Merge branch 'bugfix/revert_send_wake_up_and_sleep_null_between_scanning' into 'master'
Fix(esp_wifi):revert send wake up and sleep null between scaning

See merge request espressif/esp-idf!25115
2023-08-02 18:28:37 +08:00
Harshit Malpani
8d95e45c05
fix: nitpick in esp_http_client 2023-08-02 13:48:14 +05:30
Mahavir Jain
172f086c6e Merge branch 'feat/update_cjson_submodule' into 'master'
feat: Update cJSON version to v1.7.16

Closes IDF-7827

See merge request espressif/esp-idf!25064
2023-08-02 15:50:03 +08:00
Rahul Tank
a43c37ff75 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-02 12:34:26 +05:30
Chip Weinberger
9178748ff3 [Console] add heap caps settings 2023-08-01 23:38:47 -07:00
Rahul Tank
4b6f22e3f8 Merge branch 'feature/add_duplicate_excep_list_vsc' into 'master'
feat(mesh): Add support for Duplicate Exception list update VSC for Nimble

Closes BLEQABR23-390

See merge request espressif/esp-idf!24772
2023-08-02 14:35:56 +08:00
Armando (Dou Yiwen)
92419363aa Merge branch 'feat/const_ptr_adc_io_channel' into 'master'
feat(adc): use const pointer in io_to_channel APIs

See merge request espressif/esp-idf!24672
2023-08-02 14:10:35 +08:00
Laukik Hase
f281c08ce7
fix(hal): Fix the external memory vaddr region validity check
- For c6, h2 and p4, the vaddr end calculated was off by 1
  byte.
2023-08-02 10:53:26 +05:30
Mahavir Jain
56b8741e38 Merge branch 'esp32p4/add_ecc_support' into 'master'
esp32p4: Add ecc support

See merge request espressif/esp-idf!24984
2023-08-02 12:14:03 +08:00
Jiang Jiang Jian
1210a3e96b Merge branch 'bugfix/vtasksteptick_assert_failed_issue' into 'master'
fix the issue of esp32c6 enable light sleep, vTaskStepTick assert failed caused by wifi baseband sleep retention linked list

Closes WIFI-6173

See merge request espressif/esp-idf!25039
2023-08-02 11:22:03 +08:00
Wu Zheng Hui
016cb6a19a Merge branch 'bugfix/fix_cache_data_mem_corrupt_after_sleep' into 'master'
fix(lightsleep): Suspend cache before goto sleep to avoid cache load wrong data

Closes IDFCI-1760

See merge request espressif/esp-idf!25084
2023-08-02 11:02:01 +08:00
Jiang Jiang Jian
871943a63c Merge branch 'update/openthread_lib' into 'master'
feat(openthread): update openthread lib

See merge request espressif/esp-idf!25088
2023-08-02 10:43:38 +08:00
Omar Chebib
0368aa5257 Merge branch 'feature/bootloader_ignore_extra_component' into 'master'
bootloader: add the possibility to ignore extra components

Closes IDF-7825

See merge request espressif/esp-idf!24806
2023-08-02 10:28:41 +08:00
Armando (Dou Yiwen)
aedc9f06fe Merge branch 'bugfix/fix_potential_cache_msync_issue_on_psram_stack' into 'master'
cache: improve esp_cache_msync() test cases, added psram stack test

Closes IDF-7833

See merge request espressif/esp-idf!24837
2023-08-02 10:27:59 +08:00
Alexey Lapshin
a120ea823e Merge branch 'contrib/github_pr_11569' into 'master'
[GDBStub] kconfig gdbstub runtime should be separate bool (GitHub PR)

Closes IDF-7846 and IDFGH-10309

See merge request espressif/esp-idf!24775
2023-08-02 07:50:47 +08:00
Island
22914f2a13 Merge branch 'doc/c2_h2_c6' into 'master'
c2 h2 c6 headfile re-organized

See merge request espressif/esp-idf!25078
2023-08-01 23:11:29 +08:00
Rahul Tank
9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank
8467e37bc9 Merge branch 'bugfix/fix_gcc_13_warning' into 'master'
fix (nimble): Fix compilation warnings generated in GCC13

See merge request espressif/esp-idf!25105
2023-08-01 21:54:00 +08:00
Lou Tian Hao
3f6be5938b Merge branch 'docs/rewrite_all_low_to_any_low_when_not_esp32' into 'master'
Docs: rewrite_all_low_to_any_low_when_not_esp32

See merge request espressif/esp-idf!24997
2023-08-01 20:56:36 +08:00
Xu Si Yu
36511a3005 Merge branch 'feature/add_sleep_test_for_ot_ci' into 'master'
OpenThread CI: add a test case of sleepy device

See merge request espressif/esp-idf!24715
2023-08-01 20:38:29 +08:00
xueyunfei
217226d3c9 Fix(esp_wifi):revert send wake up and sleep null between scaning 2023-08-01 20:27:22 +08:00
Darian
84eedefca2 Merge branch 'refactor/freertos_port_types_usage' into 'master'
FreeRTOS: Remove usage of portXXX_TYPE

See merge request espressif/esp-idf!25107
2023-08-01 19:57:32 +08:00
Jiang Jiang Jian
8ed9671c2c Merge branch 'bugfix/optimize_beacon_rx' into 'master'
fix(esp_phy): improve 11b rx for esp32c3.

See merge request espressif/esp-idf!24691
2023-08-01 19:48:02 +08:00
Jiang Jiang Jian
d00506892d Merge branch 'bugfix/action_tx_sleep_fix_v5.2' into 'master'
Trigger null data frame TX before going offchannel.

Closes WIFI-6124

See merge request espressif/esp-idf!25094
2023-08-01 19:47:14 +08:00
Armando
8382b75cac refactor(cache): improved cache test with set cache dirty first 2023-08-01 11:00:49 +00:00
Armando
88c64f609b change(cache): remove similar aim test 2023-08-01 11:00:49 +00:00
Armando
75cec2d58a feat(cache): added psram stack test 2023-08-01 11:00:49 +00:00
Alexey Lapshin
47e400c296 feature(gdbstub): Move runtime gdbstub out of panic config
Closes https://github.com/espressif/esp-idf/pull/11569
2023-08-01 14:28:07 +04:00
Lou Tian Hao
3b14a9d58e Merge branch 'support/deep_sleep_test_for_esp32h2' into 'master'
Support: enable CI test for esp32h2 deep_sleep

Closes IDF-7838

See merge request espressif/esp-idf!25002
2023-08-01 17:37:10 +08:00
Mahavir Jain
53ff7d43db Merge branch 'ci/fix_test_switch_ota' into 'master'
fix(app_update): Fix CI test_switch_ota by increasing deepsleep

See merge request espressif/esp-idf!24801
2023-08-01 16:49:25 +08:00
Mahavir Jain
6f5f7fd9d8 Merge branch 'bugfix/sha_dma_mode_incorrect_result' into 'master'
fix(sha): DMA mode iteration calculation issue for certain data lengths

Closes IDFGH-10690

See merge request espressif/esp-idf!25010
2023-08-01 16:44:47 +08:00
wuzhenghui
26618ad536 fix(lightsleep): suspend cache before goto sleep
There is a possibility that the cache is still accessing the
SPI flashwhen sleep isolating SPI IO, so it is necessary to
wait for the cache to be free before requesting sleep.
2023-08-01 16:29:04 +08:00
Zhang Xiao Yan
0fc252bc1f Merge branch 'docs/fix_Doxygen_syntax_in_adc_continuous' into 'master'
fix(adc_continuous.h): Fix Doxygen syntax error

See merge request espressif/esp-idf!25077
2023-08-01 15:50:23 +08:00
Jiang Jiang Jian
e6e0b0dc40 Merge branch 'bugfix/neighbour_report_crash' into 'master'
Fix crash in RRM neighbour report requests.

Closes WIFI-5838

See merge request espressif/esp-idf!24993
2023-08-01 15:24:56 +08:00
Jiang Jiang Jian
07dd194fdb Merge branch 'bugfix/minor_enterprise_fixes' into 'master'
Minor enterprise fixes

See merge request espressif/esp-idf!24987
2023-08-01 15:16:23 +08:00
zhangwenxu
ce878cb563 feat(thread): update openthread lib 2023-08-01 14:56:43 +08:00
harshal.patil
f2801ae4c9 feat(ecc): add ECC peripheral support for esp32p4 2023-08-01 10:20:30 +05:30
harshal.patil
b4cf035608 feat(soc): Add hwcrypto_reg.h for esp32p4 2023-08-01 10:19:18 +05:30
Lou Tianhao
f33188fb35 docs(pm/sleep): rewrite_all_low_to_any_low_when_not_esp32 2023-08-01 11:53:14 +08:00
Vincent Hamp
d975a26666 feat: Add support for NVS image generation from CMake
Closes: https://github.com/espressif/esp-idf/pull/11926
Closes: https://github.com/espressif/esp-idf/pull/11785

Co-authored-by: Nebojša Cvetković <nebkat@gmail.com>
2023-07-31 18:26:06 +02:00
Darian Leung
6fc935e584 refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
Darian Leung
1e51387222 refactor(freertos): Refactor usage of portSTACK_TYPE to StackType_t
portSTACK_TYPE is an internal macro defined by the porting layer. This commit
changes all references to StackType_t which is the official type exposed by
FreeRTOS.
2023-07-31 16:59:41 +02:00
Rahul Tank
8ce1c45d6d fix (nimble): Fix warnings generated in GCC13 2023-07-31 18:37:01 +05:30
jgujarathi
cabb41d889 fix(esp_wifi) : Trigger null data frame TX before offchan channel switch.
Moves the location of null data frame TX to before channel switch during
offchannel action frame TX req.
2023-07-31 16:51:57 +05:30
Sonika Rathi
02f5b9a898 Merge branch 'update/littlefs_demo_example' into 'master'
LittleFS demo example added

See merge request espressif/esp-idf!24472
2023-07-31 18:24:50 +08:00
Xu Si Yu
753f74cb99 feat(openthread): add sleep debug message 2023-07-31 17:01:37 +08:00
Geng Yuchao
bcdf8964d6 fix(ble): Fix compile issue when disable duplicate config option in kconfig. 2023-07-31 14:53:48 +08:00
luomanruo
1636061b81 c2 h2 c6 headfile re-organized
c2 c6 h2 cfg_t and addr_t documented

comments for controller_enable
2023-07-31 12:39:43 +08:00
Linda
3c1e129ac3 fix(adc_continuous.h): Fix Doxygen syntax error 2023-07-31 12:11:00 +08:00
Dai Zi Yan
8b9610b94f Merge branch 'docs/udpate_memory-types' into 'master'
Docs/udpate memory types

Closes DOC-5388 and DOC-5157

See merge request espressif/esp-idf!24392
2023-07-31 10:45:12 +08:00
morris
1ef1d9354b Merge branch 'bugfix/remove__warning_for_rc_fast_calibration_h2' into 'master'
remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2

Closes IDF-7917

See merge request espressif/esp-idf!25015
2023-07-31 10:43:20 +08:00
chenjianhua
7083222a2f fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-07-30 19:53:16 +08:00
Harshit Malpani
778bdbd99f
feat: Update cJSON version to v1.7.16
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.16
2023-07-28 16:45:00 +05:30
Shyamal Khachane
d64a3d7755 fix(esp_wifi): Drop Eapol msg if EAP success is not processed 2023-07-28 15:00:03 +05:30
Mahavir Jain
224a308fd5
ci(test): add SHA DMA mode test for large data in PSRAM
Covers a test scenario described in following issue:
https://github.com/espressif/esp-idf/issues/11915
2023-07-28 14:23:02 +05:30
Alexey Lapshin
5f07ed87f6 Merge branch 'fix/esp32c2-gdbstub-runtime' into 'master'
fix(freertos): enable esp32c2 runtime-gdbstub

See merge request espressif/esp-idf!24858
2023-07-28 15:41:07 +08:00
morris
d1055758e4 Merge branch 'feature/gptimer_support_p4' into 'master'
Feature/gptimer support p4

Closes IDF-6515

See merge request espressif/esp-idf!24746
2023-07-28 15:17:45 +08:00
Omar Chebib
c98d1f1619 feat(bootloader): add the possibility to ignore extra components 2023-07-28 15:04:21 +08:00
Michael (XIAO Xufeng)
2253d3fe83 Merge branch 'test/s3_emmc_powerdown' into 'master'
sdmmc: support power down card on S3 emmc board

See merge request espressif/esp-idf!24871
2023-07-28 15:02:07 +08:00
Zim Kalinowski
456d288a2e Merge branch 'bugfix/remove-unnecessary-define' into 'master'
fix(bt): Removed unnecessary define

See merge request espressif/esp-idf!24918
2023-07-28 14:12:58 +08:00
Li Shuai
6ba55e1b78 fix(wifi/phy): fix the issue of vTaskStepTick assert failed caused by wifi baseband retention linked list 2023-07-28 13:46:30 +08:00
Mahavir Jain
89c7608f05 Merge branch 'update/mbedtls_mpi_assert' into 'master'
fix(mbedtls): Update redundant assert for H/W MPI operations

See merge request espressif/esp-idf!24922
2023-07-28 13:16:02 +08:00
Bogdan Kolendovskyy
c5ec77d9ca Merge branch 'bugfix/eth_netif_speed_after_connected' into 'master'
esp_eth/eth_netif_glue: Move reporting speed from action start to action connected.

Closes IDF-5545

See merge request espressif/esp-idf!24434
2023-07-28 00:02:43 +08:00
chenjianxing
0672067e6c fix(esp_phy): WIFI RX multipath optimization.
fix(esp_phy): BLE TX sideband optimization for C3/S3.
2023-07-27 20:55:37 +08:00
morris
5aaba6c877 Merge branch 'feature/update_etm_source_on_p4' into 'master'
feat(etm): update etm source on p4

See merge request espressif/esp-idf!25021
2023-07-27 19:23:55 +08:00
Bogdan Kolendovskyy
a28d87e72a fix(eth_netif_glue): Move reporting speed to action connected
esp_eth_netif_glue.c:
Moved reporting link speed to action connected, removed speed reportg code from action start.
2023-07-27 13:15:42 +02:00
daiziyan
1037135761 docs: provided translation for storage.rst and system.rst and updated a typo for memory-types.rst 2023-07-27 16:24:29 +08:00
Laukik Hase
521dd35f2f
fix(mbedtls): Updated redundant assert for H/W MPI operations 2023-07-27 11:40:23 +05:30
Lou Tianhao
34b269fb03 remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep 2023-07-27 12:11:35 +08:00
laokaiyao
8d993931b5 feat(etm): update etm source on p4 2023-07-27 11:30:31 +08:00
morris
22cfbf30c3 Merge branch 'bugfix/fix_c6_wrong_pwdet_register' into 'master'
pwdet: fix pwdet wrong base address on c6 h2

Closes WIFI-6168

See merge request espressif/esp-idf!25001
2023-07-27 11:10:46 +08:00
Roland Dobai
240deaaabe Merge branch 'tools/added_chip_rev_field_into_coredump_header' into 'master'
coredump: added the chip_rev field into the coredump header

See merge request espressif/esp-idf!21315
2023-07-26 21:03:18 +08:00
Song Ruo Jing
8b574fb87f remove(clk): remove warning log if RC_FAST clock calibration is needed on esp32h2 2023-07-26 20:29:58 +08:00
morris
9cd16a8f95 feat(gptimer): driver support on esp32p4 2023-07-26 19:27:49 +08:00
Jiang Jiang Jian
ad99c16200 Merge branch 'bugfix/fix_rx_error_for_softap_add_espnow' into 'master'
fix(wifi): fix the RX error when softAP/station and ESP-NOW both encrypted

Closes WIFI-4116

See merge request espressif/esp-idf!24996
2023-07-26 18:39:02 +08:00
Luo Man Ruo
aa6a8b79c9 Merge branch 'feature/controller_log' into 'master'
ble: bugfix for esp32c6 and esp32h2

See merge request espressif/esp-idf!24951
2023-07-26 18:07:20 +08:00
Mahavir Jain
735c0c325b
fix(sha): DMA mode iteration calculation issue for certain data lengths
SHA hardware DMA mode calculation had off-by-one error for specific
input lengths. This was causing last chunk of the input data not being
fed to the hardware accelerator and hence resulting in an incorrect
final result.

Closes: https://github.com/espressif/esp-idf/issues/11915
2023-07-26 15:31:12 +05:30
Zhang Hai Peng
5d9821829a Merge branch 'doc/organize_header_files_for_esp32c3_esp32s3' into 'master'
docs(bt): Support organizing header files for esp32c3 and esp32s3

See merge request espressif/esp-idf!24874
2023-07-26 16:20:42 +08:00
Xiao Xufeng
df7e887d18 test(sdmmc): support power down card on S3 emmc board 2023-07-26 15:44:45 +08:00
Armando
dd71c7fe17 fix(pwdet): fix pwdet wrong base address on c6 h2 2023-07-26 14:39:34 +08:00
Aditya Patwardhan
6d3db47187 Merge branch 'fix/wifi_prov_mgr_retry_auth_expire' into 'master'
fix (wifi_prov): Retry provisioning on `WIFI_AUTH_EXPIRE` event

Closes IDFGH-10503 and IDFGH-9793

See merge request espressif/esp-idf!24548
2023-07-26 12:25:33 +08:00
Wang Meng Yang
27ad736356 Merge branch 'test/bqb_test_btdm_sync_20230711' into 'master'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support

See merge request espressif/esp-idf!24782
2023-07-26 10:54:15 +08:00
Aleksei Apaseev
ba51b09cb2 coredump: added the chip_rev field into the coredump header 2023-07-26 10:53:28 +08:00
Jiang Jiang Jian
8ef5a0f723 Merge branch 'bugfix/ccmp_decrypt_log' into 'master'
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose

See merge request espressif/esp-idf!24331
2023-07-26 10:37:06 +08:00
Zhang Hai Peng
2c3454ea8b Merge branch 'bugfix/set_addr_resolution_enable_while_advertising' into 'master'
Bugfix/Fix bug with address resolution enabling during non-connected activities

See merge request espressif/esp-idf!24923
2023-07-26 10:36:41 +08:00
Zhang Hai Peng
47ae2c2c3a Merge branch 'bugfix/support_periodic_adv_len_0' into 'master'
fix(bt): Fix ble periodic advertising data length 0 error

See merge request espressif/esp-idf!24853
2023-07-26 10:34:37 +08:00
zhangyanjiao
a33a78f73f fix(wifi): fix the RX error when softAP and ESP-NOW both encrypted 2023-07-26 10:32:01 +08:00
Jiang Jiang Jian
f7ef577f4c Merge branch 'bugfix/fix_dhcp_server_address_pool_issue' into 'master'
fix(dhcp server): Fix dhcp server address pool issue

Closes IDF-7316

See merge request espressif/esp-idf!24818
2023-07-26 10:14:12 +08:00
zhanghaipeng
9a9ce20e41 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-25 21:53:04 +08:00
xueyunfei
15be9a0c3a fix(dhcp server): Fix dhcp server address pool issue 2023-07-25 20:48:19 +08:00
Wan Lei
f5e26a595d Merge branch 'bugfix/spi_bus_unify_defualt_mosi_level' into 'master'
spi: unify default mosi level on all targets

Closes IDF-7683

See merge request espressif/esp-idf!24591
2023-07-25 20:06:09 +08:00
jgujarathi
c610594abb fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-07-25 16:38:59 +05:30
morris
ed36b91517 Merge branch 'feature/mcpwm_trigger_driver' into 'master'
feature(MCPWM): Add MCPWM trigger driver

Closes IDF-3613

See merge request espressif/esp-idf!24829
2023-07-25 18:50:57 +08:00
Armando (Dou Yiwen)
6bc9a39010 Merge branch 'feature/add_esp32p4_esp_system_support' into 'master'
system: added p4 base support for system related parts

See merge request espressif/esp-idf!24850
2023-07-25 16:50:40 +08:00
Erhan Kurubas
8e69e0a468 Merge branch 'bugfix/coredump_build_error' into 'master'
fix(coredump): fix build error

Closes IDFGH-10200

See merge request espressif/esp-idf!24959
2023-07-25 15:56:16 +08:00
morris
facb9a02d3 Merge branch 'bugfix/fix_gdma_build_failure_on_p4' into 'master'
fix(gdma): fixed compilation failure of gdma

See merge request espressif/esp-idf!24964
2023-07-25 15:10:40 +08:00
Chen Jichang
5ab755915b feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-07-25 14:44:41 +08:00
luomanruo
c291b02651 esp_rom_printf 2023-07-25 14:40:39 +08:00
luomanruo
3ece525e26 ble update for doc: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
luomanruo
2a2251487b ble update: bugfix for esp32c6 and esp32h2 2023-07-25 14:40:39 +08:00
wanglai@espressif.com
c9d77f7028 fix(bt/bqb): Modify BQB related configurations 2023-07-25 14:17:28 +08:00
Armando
e8bbb490ec feat(cache): added cache init configurations on p4 2023-07-25 05:59:10 +00:00
Armando
756c36504a feat(tcm): added tcm basic support on esp32p4 2023-07-25 05:59:10 +00:00
Armando
a336b94527 feat(esp_system): base support on p4 2023-07-25 05:59:10 +00:00
Armando
fd096c012d change(vector.S): port hw stack guard change to p4 2023-07-25 05:59:10 +00:00
Armando
ecf1461f1c feat(panic): base support on p4 2023-07-25 05:59:10 +00:00
Armando
5986e63c47 change(riscv): added fence after CLIC_INT_THRESH_REG is set 2023-07-25 05:59:10 +00:00
Armando
48ee1ba36e feat(freertos): base support on p4 2023-07-25 05:59:10 +00:00
Armando
e11b154c99 feat(interrupt): mtvt, mtvec base support on p4 2023-07-25 05:59:10 +00:00
Armando
c156e56684 feat(spinlock): added spinlock base support on p4 2023-07-25 05:59:10 +00:00
Armando
019e68bb15 feat(interrupt): added clic support on p4 2023-07-25 05:59:10 +00:00
Armando
c76de79f4c feat(cpu): added cpu utils base support on p4 2023-07-25 05:59:10 +00:00
Armando
bc182ef010 feat(brc_predictor): p4 base support for branch predictor 2023-07-25 05:59:10 +00:00
Armando
211c3c0e05 feat(esp_timer): added esp_timer p4 base support 2023-07-25 05:59:10 +00:00
morris
6d46cf739c feat(gdma): test non-cacheable DMA descriptor
To avoid different DMA descriptors reside in the same cache line,
we want the CPU to access the DMA descriptor in a non-cachable way
2023-07-25 10:59:07 +08:00
morris
3b7da7eae5 feat(gdma): gdma descriptor alignment 2023-07-25 10:43:17 +08:00
laokaiyao
274e1c0089 fix(gdma): fixed compilation failure of gdma 2023-07-24 19:36:31 +08:00
wanlei
8f5851d064 fix(all): unify default mosi level to low on all targets 2023-07-24 15:45:21 +08:00
Lou Tian Hao
57c6c0a1a3 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase' into 'master'
esp32h2: support deep_sleep

Closes IDF-6268, IDF-6572, and IDF-7406

See merge request espressif/esp-idf!24438
2023-07-24 10:47:51 +08:00
Darian
2032c9029f Merge branch 'bugfix/freertos_1051_remove_croutine' into 'master'
FreeRTOS: Remove croutine.h from v10.5.1

See merge request espressif/esp-idf!24911
2023-07-24 10:35:20 +08:00
zhanghaipeng
f4b10bd304 docs(bt): Organize header files for esp32c3 and esp32s3 2023-07-23 11:42:03 +08:00
Erhan Kurubas
912f5afefa fix(coredump): Fix strncpy error in core_dump_elf.c
core_dump_elf.c:504:5: error: 'strncpy' specified bound 66 equals
destination size [-Werror=stringop-truncation]
2023-07-22 02:22:58 +02:00
David Čermák
70951831c0 Merge branch 'bugfix/netif_default_sta_init' into 'master'
wifi: Fix default wifi-netif creation to assert if no event loop

Closes IDFGH-10321

See merge request espressif/esp-idf!24361
2023-07-21 21:56:37 +08:00
Lou Tianhao
0d30bbe855 change(pm/deepsleep): rewrite the option all low as any low for esp32s2, esp32s3, esp32c6 and esp32h2 2023-07-21 20:44:15 +08:00
Lou Tianhao
44cd96b543 change(pm/deepsleep): remove disable rtcio before hold it when ext1 wakeup 2023-07-21 20:44:09 +08:00
sonika.rathi
c9b2b03d3d feat(example/storage/littlefs): add LittleFS demo example 2023-07-21 11:08:01 +02:00
C.S.M
7927ec44f1 Merge branch 'bugfix/gd25lq255e_unlock' into 'master'
spi_flash: fix gd25lq255e unlock mistake

See merge request espressif/esp-idf!24859
2023-07-21 15:29:45 +08:00
Jiang Jiang Jian
c720d0167a Merge branch 'bugfix/mem_leak_assoc_deinit' into 'master'
fix(wifi): Fix memory leak caused by assoc IE and retry timer

See merge request espressif/esp-idf!24895
2023-07-21 15:12:11 +08:00
Island
a313fcb34d Merge branch 'feature/ble_mesh_example_support_duplicate_scan' into 'master'
ble_mesh: stack: Supporting duplicate scan on esp32c6 and esp32h2

See merge request espressif/esp-idf!24683
2023-07-21 15:07:20 +08:00
Kevin (Lao Kaiyao)
7219e50579 Merge branch 'feature/gdma_support_err_eof_callback' into 'master'
feat(gdma): supported rx err_eof interrupt

See merge request espressif/esp-idf!24557
2023-07-21 14:41:46 +08:00
KonstantinKondrashov
28aec9594a fix(app_update): Fix CI test_switch_ota by increasing deepsleep
It increases the deepsleep time from 2000 to 20000.
2000 is too small for esp32-s3 chip.
2023-07-21 13:58:20 +08:00
Xu Si Yu
42e18dde97 Merge branch 'feature/enable_ot_border_agent_id' into 'master'
feat(openthread): enable openthread border agent id support

See merge request espressif/esp-idf!24872
2023-07-21 12:22:40 +08:00
Jiang Jiang Jian
9a1cc59338 Merge branch 'bugfix/cache_writeback_bug' into 'master'
esp_rom: patch Cache_WriteBack_Addr,  avoid accessing cachelines that are being writebacked

Closes AUD-4678

See merge request espressif/esp-idf!24663
2023-07-21 10:42:41 +08:00
wangjialiang
def6442044 feat(ble_mesh: stack: esp32c6/h2): update Kconfig file to support duplicate scan. 2023-07-21 02:02:21 +00:00
Song Ruo Jing
4b9f601ac3 Merge branch 'feature/esp32p4_clock_prework_support' into 'master'
feat(clk): Add support to get xtaL freq for ESP32P4

See merge request espressif/esp-idf!24927
2023-07-21 00:12:18 +08:00
Xu Si Yu
fa8971d76d feat(openthread): enable openthread border agent id support 2023-07-20 20:31:05 +08:00
Ivan Grokhotkov
e6c3f62281 Merge branch 'feature/esp_intr_dump' into 'master'
system: add esp_intr_dump API to debug interrupt allocation

Closes IDF-4281 and IDF-6066

See merge request espressif/esp-idf!23877
2023-07-20 19:53:58 +08:00
Song Ruo Jing
b8a8713f96 feat(clk): Add support to get xtaL freq for ESP32P4 2023-07-20 18:13:13 +08:00
Zim Kalinowski
2b11025981 fix(bt): Removed unnecessary define 2023-07-20 14:35:33 +08:00
laokaiyao
3c2233d48b feat(gdma): supported rx err_eof interrupt 2023-07-20 14:19:39 +08:00
Shreyas Sheth
691eed15cc fix(wifi): Fix memory leak caused by assoc IE and retry timer 2023-07-20 10:13:25 +05:30
morris
d2589a504c Merge branch 'feature/gdma_support_p4' into 'master'
GDMA: channel allocator for AHB-DMA and AXI-DMA (ESP32-P4)

Closes IDF-6504

See merge request espressif/esp-idf!24815
2023-07-20 12:29:11 +08:00
Armando
ae6d9e2b93 fix(cache): added alignment check for M2C direction 2023-07-20 12:20:42 +08:00
Rahul Tank
c68b5b0b39 Merge branch 'bugfix/handle_conn_type_and_array_reset' into 'master'
fix(nimble): Update connection type in reattempt connection code

Closes BLEQABR23-354

See merge request espressif/esp-idf!24839
2023-07-20 11:44:18 +08:00
Lou Tianhao
e70763f9a4 feat(pm/deepsleep): Support EXT1 wakeup for esp32h2 deep_sleep 2023-07-20 11:43:57 +08:00
Song Ruo Jing
99c2691467 change(driver/rtcio): Describe RTCIO CAPS with more accurate note 2023-07-20 11:43:57 +08:00
Lou Tianhao
7bd92287c4 change(pm/deepsleep): Update deep_sleep pmu analog parameter for esp32h2 2023-07-20 11:43:57 +08:00
Lou Tianhao
dcacd8cdf8 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-07-20 11:43:57 +08:00
gaoxiaojie
640d391783 fix(rom_cache): use assembly to implement api cache_writeback_items_freeze
ensure cache freeze -> Writeback enable -> wait done -> cache unfreeze routine
never trigger a window overflow
2023-07-20 10:47:17 +08:00
Armando
eb1831f8d7 fix(cache): no longer use freeze in esp_cache_msync
Writeback and invalidation don't need cache to be frozen first
2023-07-20 10:45:57 +08:00
Jakob Hasse
fd11e1130f Merge branch 'bugfix/included-missing-limits-h-in-time-c' into 'master'
fix(newlib): included limits.h to fix warning

See merge request espressif/esp-idf!24722
2023-07-20 09:37:27 +08:00
Zim Kalinowski
140f78b66d Merge branch 'bugfix/fixed-log-related-warning-in-freertos' into 'master'
fix(freertos): fixed log related warning

See merge request espressif/esp-idf!24725
2023-07-20 07:36:26 +08:00
Zim Kalinowski
4cb8f24805 Merge branch 'bugfix/fixed-log-related-warnings-in-pthread' into 'master'
bugfix(pthread): fixed log related warning

See merge request espressif/esp-idf!24726
2023-07-20 06:26:43 +08:00
Zim Kalinowski
72757bf68b fix(freertos): fixed log related warning 2023-07-20 06:22:36 +08:00
Darian Leung
0a77949477 fix(freertos): Removed croutine.h from v10.5.1
Remove croutine.h as is not supported in ESP-IDF
2023-07-19 23:09:19 +03:00
Ivan Grokhotkov
0ebe2cecfa
feat(system): add an error log and a hint on failed interrupt alloc
When interrupt allocation fails, esp_intr_alloc will now print a
message telling that no free interrupt was found. This message is
then checked in hints.yml, to give a link to the troubleshooting
guide.
2023-07-19 16:47:41 +02:00
Ivan Grokhotkov
621afc48b1
feat(system): add esp_intr_dump function to debug interrupt alloc
esp_intr_dump function can be used to print the list of allocated and
free interrupts. It can be used as a debugging aid when interrupt
allocation fails.
2023-07-19 16:47:40 +02:00
KonstantinKondrashov
95626b9401 fix(bootloader_support): Fix memory leak for unit tests 2023-07-19 21:25:31 +08:00
morris
57879e772d feat(gdma): support channel allocator on esp32p4
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
Zim Kalinowski
1f3aec2e67 bugfix(pthread): fixed log related warning 2023-07-19 15:51:56 +08:00
Armando
83683d8b12 fix(rom_cache): use esp_rom_caps.h itself 2023-07-19 15:10:35 +08:00
gaoxiaojie
b1436633c5 fix(esp32s3): patch Cache_WriteBack_Addr api
avoid accessing cachelines that are being writebacked
2023-07-19 15:10:35 +08:00
morris
ff4a1bb5cf Merge branch 'bugfix/fix_gpio_driver_calloc' into 'master'
fix(gpio): fix potential crash when processing gpio isr

Closes IDFGH-10644

See merge request espressif/esp-idf!24878
2023-07-19 15:09:02 +08:00
morris
b488cb70e7 Merge branch 'contrib/github_pr_11878' into 'master'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR)

Closes IDFGH-10647 and IDFGH-10646

See merge request espressif/esp-idf!24825
2023-07-19 15:01:27 +08:00
Jakob Hasse
52279c0837 Merge branch 'refactor/esp_event_test' into 'master'
ESP Event: improved tests to fail less frequently on QEMU

See merge request espressif/esp-idf!24783
2023-07-19 14:54:23 +08:00
morris
fb7cc00378 Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h

Closes IDF-5776

See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00
Song Ruo Jing
4ac2d436ea fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 12:03:38 +08:00
wanglai@espressif.com
d1443a91fa feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-19 11:59:07 +08:00
Jakob Hasse
a703d7aa89 refactor(esp_event): improved tests to fail less frequently on QEMU
* improved setup/teardown to not put shared event system into
  inconsistent state
* reduced timing-dependency of several tests by using
  a semaphore instead of waiting for a guessed timeout
* Deactivated WDT (both Interrupt WDT, Task WDT) for QEMU tests
* Ignore esp_timer-based test for QEMU, CPU timing is different
  on ESP32 simulation in QEMU
2023-07-19 11:50:44 +08:00
morris
b589355a10 feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 11:32:35 +08:00
Jiang Jiang Jian
9d872ee34e Merge branch 'bugfix/esp32h2_revision_config_prompt' into 'master'
fix(esp32h2): correct typo in chip revision prompt

See merge request espressif/esp-idf!24877
2023-07-19 10:19:10 +08:00
Mahavir Jain
6431091ce6
fix(esp32h2): correct typo in chip revision prompt 2023-07-18 20:46:45 +05:30
zhanghaipeng
f83664929a fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-18 21:33:56 +08:00
Jiang Jiang Jian
f5fb6a6696 Merge branch 'bugfix/handle_sae_discarded_auth_frame' into 'master'
Discard commit frame received at confirmed state in SAE

Closes WIFI-6123

See merge request espressif/esp-idf!24671
2023-07-18 21:16:56 +08:00
Rahul Tank
bbfb44a0fe fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-18 16:21:09 +05:30
Alexey Lapshin
99ac68246e fix(freertos): enable esp32c2 runtime-gdbstub 2023-07-18 12:15:33 +04:00
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Shyamal Khachane
a9e6deb615 fix(esp_wifi): Discard commit frame received at confirmed state in SAE 2023-07-18 08:09:08 +05:30
Cao Sen Miao
44693a63b4 spi_flash: fix gd25lq255e unlock mistake 2023-07-18 10:12:46 +08:00
Zim Kalinowski
a2d76ad38a Merge branch 'feature/freertos-10.5.1-added-base-riscv-porting-layer' into 'master'
feat(freertos): added base risc-v porting layer to 10.5.1

See merge request espressif/esp-idf!24773
2023-07-18 03:24:10 +08:00
Shu Chen
db34e2a863 Merge branch 'bugfix/fix_ieee802154_state' into 'master'
fix(ieee802154): fix ieee802154 sleep state

See merge request espressif/esp-idf!24840
2023-07-17 19:55:53 +08:00
Chen Jichang
304c7572a6 refactor(interrupt):put the interrupts definitions in soc/interrupts.h
Now the soc interrupts definitions are scattered around in the esp-idf
which are out of sync. Put interrupts definitions in soc/periph_defs.h
(!ESP32) or soc/soc.h(ESP32) together in soc/interrupts.h.
2023-07-17 19:31:56 +08:00
Zim Kalinowski
ccf51a6263 feat(freertos): added base risc-v porting layer to 10.5.1
This commit adds the source files for the GCC RISC-V port of FreeRTOS V10.5.1.
Files copied from https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.1/portable/GCC/RISC-V
2023-07-17 18:59:16 +08:00
Armando (Dou Yiwen)
2d4dabda25 Merge branch 'feature/added_cache_msync_behaviour_per_direction' into 'master'
feat(cache): added direction selection to esp_cache_msync API

Closes IDF-7674

See merge request espressif/esp-idf!24614
2023-07-17 18:04:42 +08:00
Jiang Jiang Jian
447704bb7f Merge branch 'bugfix/ignore_immediate_assoc_req' into 'master'
fix(wifi): Bugfix ignore immediate assoc req received by AP

See merge request espressif/esp-idf!24050
2023-07-17 16:56:28 +08:00
xiaqilin
a9a16cbd57 fix(ieee802154): fix ieee802154 sleep state 2023-07-17 15:42:18 +08:00
Konstantin Kondrashov
92d84b468a Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks' into 'master'
fix(esp_timer): Fix delay in ISR dispatch callbacks

Closes IDFGH-10379 and IDFGH-10380

See merge request espressif/esp-idf!24599
2023-07-17 15:20:19 +08:00
Armando (Dou Yiwen)
18107f1d1a Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue' into 'master'
adc: fix continuous hal func not in iram when gdma isr iram

Closes IDFGH-10537

See merge request espressif/esp-idf!24595
2023-07-17 14:35:29 +08:00
Mahavir Jain
3466204d18 Merge branch 'fix/esp_ptr_check_sign_compare' into 'master'
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom`

Closes IDFGH-10398 and IDFGH-10632

See merge request espressif/esp-idf!24791
2023-07-17 12:33:56 +08:00
Armando
83af9f37d4 test(adc): continuous driver iram test with gdma iram safe option only 2023-07-17 10:16:40 +08:00
Armando
8d54030890 fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-07-17 10:15:48 +08:00
Darian
4fc2e5cb95 Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0' into 'master'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips

Closes IDF-3328

See merge request espressif/esp-idf!23873
2023-07-15 19:01:03 +08:00
Shreyas Sheth
88cbcf4696 fix(wifi): Bugfix ignore immediate assoc req received by AP
1) Ignore immediate assoc req received from the station while we are
processing the older one
2) Create station mutex (sta->lock) only for stations connecting with wpa3
security
3) Fix regression caused by 4cb4faa9
2023-07-15 13:53:51 +05:30
Jiang Jiang Jian
23d18bccc5 Merge branch 'bugfix/fix_esp32c2_wifi_works_on_too_low_apb_clk' into 'master'
fix(esp_pm): fix esp32c2 modem works on too low apb clk

See merge request espressif/esp-idf!24802
2023-07-15 12:17:43 +08:00
Anne Brondijk
aa2c0a10c3 feat(mcpwm): Allow for pull up/down to be configurable on generators 2023-07-14 21:44:03 +02:00
wuzhenghui
842ff10777 fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc 2023-07-15 01:54:48 +08:00
Wu Zheng Hui
deae388e3c Merge branch 'bugfix/fix_sleep_cache_spi_safe_issues' into 'master'
Power Management: fix cache spi flash related issues in sleep process

Closes WIFI-6009 and IDF-7572

See merge request espressif/esp-idf!24270
2023-07-15 00:37:31 +08:00
Mahavir Jain
e73447622b Merge branch 'docs/update_cn_for_nvs-flash_and_flash-encryption' into 'master'
Docs: Update CN for nvs-flash and flash-encryption

Closes DOC-5321

See merge request espressif/esp-idf!24519
2023-07-14 23:04:32 +08:00
wuzhenghui
797efb1dd3 ci: add pd_vddsdio in lightsleep UT tests
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
wuzhenghui
a5c992c8af fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
wuzhenghui
4e9cc65763 change(uart): change sleep code to be cache safe
- Set uart ll with FORCE_INLINE_ATTR
- Add no_flash API periph_ll_uart_enabled api
2023-07-14 20:12:59 +08:00
wuzhenghui
6c14e1de9f fix: put vddsdio configure api always in iram if pd_flash is enabled
- Put vddsdio configure api always in iram if pd_flash is enabled to ensure access flash at flash unavailable time
2023-07-14 20:12:59 +08:00
wuzhenghui
9f993705a6 fix: wait spi bus idle before hold CS pin
- Wait for spi bus idle before holding CS pin to prevent hold selected state during sleep
2023-07-14 20:12:59 +08:00
wuzhenghui
b9550a1609 feat: support cache safe assertion check
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2023-07-14 20:12:59 +08:00
wuzhenghui
2b600df4ee fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working 2023-07-14 20:10:16 +08:00
Mahavir Jain
48ead0158e Merge branch 'fix/mbedtls_internal_shaX_process_api_port' into 'master'
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api

See merge request espressif/esp-idf!24545
2023-07-14 18:23:34 +08:00
Island
0b2909bee7 Merge branch 'update/ble_mesh_debug_log_level_update' into 'master'
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level

Closes BLEQABR23-391

See merge request espressif/esp-idf!24768
2023-07-14 16:56:05 +08:00
Chen Jian Xing
e82348ace4 Merge branch 'bugfix/fix_miss_annotate_ld_function_issue' into 'master'
fix(wifi): missed annotate ld function from txop fix

See merge request espressif/esp-idf!24796
2023-07-14 16:40:03 +08:00
Jiang Jiang Jian
4b484574cd Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1

Closes WIFI-5909 and WIFI-6114

See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00
Christoph Baechler
88aa0d61c6 bugfix: avoid warning in espcoredump when log disabled 2023-07-14 08:42:54 +02:00
Li Shuai
e79d6a59ec Merge branch 'bugfix/mac_hw_parse_beacon_ie_len_eqz_bug' into 'master'
fix the mac bug that hardware parse beacon of ie length equal to zero

Closes WIFI-5829

See merge request espressif/esp-idf!24255
2023-07-14 14:37:28 +08:00
Shu Chen
fd90671b69 Merge branch 'feature/update_openthread_upstream' into 'master'
feat(openthread): openthread upstream update

See merge request espressif/esp-idf!24714
2023-07-14 13:28:29 +08:00
Zim Kalinowski
c6cc6e7fff Merge branch 'feature/added-support-for-static-buffers-onto-freertos10-5-1' into 'master'
feat(freertos): added static buffers support on the top on 10.5.1 (upstreamed)

See merge request espressif/esp-idf!24723
2023-07-14 12:42:43 +08:00
harshal.patil
eb3dab8af4 ci(mbedtls): added a test for the mbedtls_internal_shaX_process API 2023-07-14 04:08:30 +00:00
harshal.patil
79d07f9909 fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 04:08:30 +00:00
Wang Zi Yan
3e4152cdcf docs: Update CN for nvs_flash.rst and flash-encryption.rst 2023-07-14 04:05:53 +00:00
muhaidong
41c4240996 fix(wifi): missed annotate ld function from txop fix 2023-07-14 11:41:41 +08:00
Jiang Jiang Jian
0c496896ba Merge branch 'bugfix/wifi_bcn_timeout_m_f_probe_req_l0' into 'master'
fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue

Closes WIFI-5722

See merge request espressif/esp-idf!24077
2023-07-14 11:31:47 +08:00
cjin
9578fdc250 ble : remove extra retention cnt upon deinit temporarily 2023-07-14 10:49:17 +08:00
cjin
cf744f9466 ble: support eco1 BLE light sleep 2023-07-14 10:49:14 +08:00
Shu Chen
685dff05fe Merge branch 'feature/enrich_ieee802154_assert_info' into 'master'
ieee802154: add debug feature for driver

See merge request espressif/esp-idf!24026
2023-07-14 10:42:43 +08:00
zhangwenxu
81a12ce14d feat(openthread): openthread upstream update 2023-07-14 10:13:34 +08:00
Aditya Patwardhan
56f15ab017 Merge branch 'fix/mpi_incorrect_assert' into 'master'
fix(mbedtls): Fix incorrect assert for H/W MPI operations

Closes WIFI-5591 and IDFGH-10615

See merge request espressif/esp-idf!24737
2023-07-14 08:59:10 +08:00
Wu Zheng Hui
e9b6472753 Merge branch 'bugfix/enable_i2c_master_clock_in_bbpll_configure' into 'master'
fix(rtc_clk): fix i2c master clock missing in bbpll configure

Closes WIFI-6147

See merge request espressif/esp-idf!24765
2023-07-14 00:40:21 +08:00
Jiang Jiang Jian
1269b62024 Merge branch 'bugfix/fix_bleqabr23_325' into 'master'
Bluedroid: fixed GATTC database cache free when disconnecting

See merge request espressif/esp-idf!24439
2023-07-14 00:11:10 +08:00
Li Shuai
b84d811684 Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-13 21:25:07 +08:00
Laukik Hase
b61e3777b8
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-13 18:35:42 +05:30
Mahavir Jain
36908cc5fd Merge branch 'bugfix/mbedtls_sha_test_fail_when_run_twice' into 'master'
fix(mbedtls): sha test will fail when run twice

See merge request espressif/esp-idf!24767
2023-07-13 20:47:30 +08:00
Li Shuai
efa4eeafd0 light sleep: enable system clock in PMU HP sleep state when selecting a 40 MHz XTAL as low power clock source of ble 2023-07-13 20:44:56 +08:00
Li Shuai
21781b1ab1 modem clock: provide a protected wifipwr clock enable/disable interface to fix the bug of selecting xtal as the low power clock source for ble 2023-07-13 20:44:56 +08:00
Li Shuai
9950b6a527 modem clock: gatable clock interface which can gate or ungate modem clock domain 2023-07-13 20:44:56 +08:00
Chen Ji Chang
7ec38eb309 Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
gpio: Update the incorrect comments in rom/gpio.h

Closes IDFGH-10490

See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Mahavir Jain
85b122b5ae Merge branch 'fix/esp_aes_return_values' into 'master'
fix(mbedtls): fix return values of esp-aes APIs

See merge request espressif/esp-idf!24612
2023-07-13 19:42:52 +08:00
Armando (Dou Yiwen)
c7d8b06fd2 Merge branch 'feature/add_esp32p4_esp_rom_support' into 'master'
esp_rom: add esp32p4 esp_rom support

See merge request espressif/esp-idf!24703
2023-07-13 19:08:42 +08:00
Jiang Jiang Jian
1eba917545 Merge branch 'feature/itwt_support_wake_dura_unit' into 'master'
feat(wifi): itwt support itwt wake duration unit

See merge request espressif/esp-idf!24063
2023-07-13 19:07:21 +08:00
Zim Kalinowski
9fe9a9d7c6 feat(freertos): added static buffers support on the top on 10.5.1 (upstreamed) 2023-07-13 19:01:37 +08:00
Darian Leung
8450f3119e soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-13 12:37:35 +02:00
Darian Leung
7d386f68df usb_host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips 2023-07-13 12:37:35 +02:00
morris
57651c5997 Merge branch 'bugfix/log-related-warnings' into 'master'
driver: fixed log related warnings in i2s and uart

See merge request espressif/esp-idf!24720
2023-07-13 18:09:56 +08:00
zhangwenxu
82c7aab6fd ieee802154: add debug feature for driver 2023-07-13 17:31:11 +08:00
Laukik Hase
20a3fcae48
fix(mbedtls): Fix incorrect assert for H/W MPI operations
- Closes https://github.com/espressif/esp-idf/issues/11850
2023-07-13 14:52:00 +05:30
morris
6e9c386a27 Merge branch 'refactor/gpio_linker_file' into 'master'
refactor(gpio): Add gpio linker.lf to control the placement of driver and hal

Closes IDF-7805

See merge request espressif/esp-idf!24634
2023-07-13 17:17:50 +08:00
Marius Vikhammer
4c39c6db72 Merge branch 'ci/allow_failure_qemu' into 'master'
ci(qemu): temporarily allow qemu tests to fail

See merge request espressif/esp-idf!24759
2023-07-13 17:06:09 +08:00
Li Shuai
19809bdebf power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue 2023-07-13 16:59:31 +08:00
KonstantinKondrashov
5693e0188b refactor(esp_timer): Remove duplicate code and move it to a common file 2023-07-13 15:51:55 +08:00
morris
84a680b057 Merge branch 'origin/feature/esp_lcd_panel_init_result_check' into 'master'
fix(esp_lcd): Check the result of each esp_lcd_panel_io_tx_param/esp_lcd_panel_io_tx_color call

Closes IDFGH-10494

See merge request espressif/esp-idf!24604
2023-07-13 15:40:54 +08:00
Martin Vychodil
3fca9b778a Merge branch 'bugfix/uart_poll_fails_for_pollout_event' into 'master'
UART: UART_SELECT_WRITE_NOTIF event added in UART driver

Closes IDFGH-9640

See merge request espressif/esp-idf!23870
2023-07-13 15:22:42 +08:00
Jiang Guang Ming
01b71b0978 fix(mbedtls): sha test will fail when run twice 2023-07-13 00:00:16 -07:00
Liu Linyan
7eabe1c325 update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level 2023-07-13 14:27:02 +08:00
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
xiongweichao
381292df31 fix(bt/controller): Fix disconnection due to lmp messages not being processed by both sides
The master sent lmp_enc_mode_req, and the slave sent lmp_switch_req.
However, both sides failed to handle the LMP message, resulting in LMP timeout.
2023-07-13 10:32:16 +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
Alan Fisher
bfcad8d8a2 fix(esp_timer): Fix delay in ISR dispatch callbacks
Set the following alarm before calling the alarm handler.

Closes https://github.com/espressif/esp-idf/pull/11637
Closes https://github.com/espressif/esp-idf/issues/11636
2023-07-12 16:30:45 +08:00
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
Zim Kalinowski
8433229958 fix(newlib): included limits.h to fix warning 2023-07-12 10:03:03 +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
Armando
da8afe7c78 feat(cache): added direction selection to esp_cache_msync API
ESP_CACHE_MSYNC_FLAG_DIR_C2M: From cache to memory
ESP_CACHE_MSYNC_FLAG_DIR_M2C: From memory to cache

By default, if no direction flag is set, it will fallback C2M direction.

For M2C direction, now this API will do an invalidation.
2023-07-11 11:19:10 +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
David Cermak
20fcc23f88 fix(wifi): Fix default wifi-netif creation to assert if no event loop
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes

Closes https://github.com/espressif/esp-idf/issues/11580
2023-07-10 16:56:16 +02: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
Armando
984f77fc3e feat(adc): use const pointer in io_to_channel APIs 2023-07-10 14:36:51 +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
Michael (XIAO Xufeng)
15f31f69b6 spiram: Support configure CLK onto the same pin as flash for ESP32-D0WD
When using PSRAM of rev0, the Flash and PSRAM should use different clock pins. But if using newer PSRAM, this is not necesary. This MR fixed the issue that allocating CLK of PSRAM to the same pin as Flash may crash.
2023-07-10 12:18:48 +08:00
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