Commit Graph

20669 Commits

Author SHA1 Message Date
Roshan Bangar
de0798c460 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-03 04:57:20 +00:00
jgujarathi
98e33605b4 wpa_supplicant : Fix occasional crash during btm roam.
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-03 04:16:21 +00:00
jgujarathi
1302c5a622 esp_wifi : Fix collection of issues during sta scan and roam.
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
   supports both WPA_EAP and WPA_EAP_SHA256 authmode.
   Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
   configuration of the time spent between scanning consecutive
   channels for tx.
2023-07-03 04:05:52 +00:00
xiongweichao
e86b367f21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-03 03:57:26 +00:00
xiaqilin
05d3451578 ieee802154: update test code 2023-07-03 10:50:51 +08:00
xiaqilin
c7ab495b0b ieee802154: exclude sleep file when do not define CONFIG_FREERTOS_USE_TICKLESS_IDLE 2023-07-03 02:21:58 +00:00
xiaqilin
ee7d180e55 ieee802154: update radio state in test 2023-07-03 02:21:58 +00:00
xiaqilin
1bb0c2c723 ieee802154: change light sleep config in ieee802154 2023-07-03 02:21:58 +00:00
xiaqilin
59ffcd07d6 ieee802154: change BLE_BB/ieee802154_BB 2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af openthread: add openthread autostart for sleep device 2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf ieee802154: add sleep state 2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc ieee802154: support light sleep 2023-07-03 02:21:58 +00:00
Alexey Lapshin
4df3ff619e feat(esp_system): implement hw stack guard for riscv chips
- add hardware stack guard based on assist-debug module
- enable hardware stack guard by default
- disable hardware stack guard for freertos ci.release test
- refactor rtos_int_enter/rtos_int_exit to change SP register inside them
- fix panic_reason.h header for RISC-V
- update docs to include information about the new feature
2023-07-01 16:27:40 +00:00
Wang Meng Yang
fe04d6dad9 Merge branch 'bugfix/fix_some_bt_controller_bug' into 'master'
component_bt:Fixed some bluetooth bugs

Closes AUD-3566 and ESPCS-871

See merge request espressif/esp-idf!19247
2023-06-30 20:57:26 +08:00
Ondrej Kosta
3288f83401 feat(network/examples): extended LwIP bridge example
Extended LwIP bridge example to support WiFi AP interface and DHCP Server

https://github.com/espressif/esp-idf/issues/5697
2023-06-30 14:38:24 +02:00
Euripedes Rocha
d73ed34072 fix(test/mqtt): Removes no-format from test_apps build
Allows warnings on mismatching format strings.
2023-06-30 11:31:38 +02:00
Rahul Tank
6eb1a8f51f fix (Nimble): Add PCL Set RSSI VSC and example code for its usage
This adds API to send a vs hci command and an event to handle vs hci events
Also added information for Set RSSI VSC for Power control.
2023-06-30 12:26:56 +05:30
Rahul Tank
7f8ecb218a Nimble: Add APIs to handle vs HCI commands and events 2023-06-30 12:26:56 +05:30
Island
9b5f3c69a9 Merge branch 'ble_dev/esp32c6_support_power_save_example' into 'master'
ble: support esp32c6 power save example

Closes EBLE50Y23-148

See merge request espressif/esp-idf!24385
2023-06-30 14:36:26 +08:00
Island
d9bbffc997 Merge branch 'bugfix/added_chip_based_cca_config' into 'master'
ble: fix cca for esp32c2

See merge request espressif/esp-idf!24254
2023-06-30 14:07:34 +08:00
zhanghaipeng
e74b07f717 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-06-30 12:03:45 +08:00
Jiang Jiang Jian
a272d454ad Merge branch 'bugfix/fix_bleqabr23_338' into 'master'
Bluedroid: fixed gatt tcb free when disconnecting

See merge request espressif/esp-idf!24497
2023-06-30 11:04:50 +08:00
Alexey Lapshin
f92908ceb1 Merge branch 'fix/segger_sysview_build' into 'master'
fix(app_trace): Fix SystemView build

Closes IDF-7661

See merge request espressif/esp-idf!24430
2023-06-30 01:12:07 +08:00
Aditya Patwardhan
e2a8413486 Merge branch 'bugfix/mbedtls_dyanmic_buffer_with_dhm_build' into 'master'
fix(mbedtls): Build issue in dynamic buffer feature

Closes IDFGH-10526

See merge request espressif/esp-idf!24488
2023-06-29 22:03:48 +08:00
Alexey Gerenkov
d786d2d459 fix(app_trace): Fix apptrace data corruption on ESP32-S3
Close https://github.com/espressif/esp-idf/issues/10604
diff --git a/components/soc/esp32s3/include/soc/tracemem_config.h b/components/soc/esp32s3/include/soc/tracemem_config.h
index 55c9b907dd..75fd87419b 100644
--- a/components/soc/esp32s3/include/soc/tracemem_config.h
+++ b/components/soc/esp32s3/include/soc/tracemem_config.h
@@ -10,7 +10,7 @@ extern "C" {
 #endif

 #define TRACEMEM_MUX_BLK0_NUM                   22
-#define TRACEMEM_MUX_BLK1_NUM                   23
+#define TRACEMEM_MUX_BLK1_NUM                   26

 #if (TRACEMEM_MUX_BLK0_NUM < 6) || (TRACEMEM_MUX_BLK0_NUM > 29)
 #error Invalid TRAX block 0 num!
2023-06-29 15:55:40 +03:00
cjin
b37f172cc6 ble: fix cca for esp32c2 2023-06-29 19:59:16 +08:00
Jiang Jiang Jian
ef659e407e Merge branch 'bugfix/fix_esp32s3_tsens' into 'master'
esp_wifi: Fix call tx_pwctrl_background caused crash in ESP32S3.

Closes WIFI-6064

See merge request espressif/esp-idf!24474
2023-06-29 18:09:46 +08:00
chenjianhua
e748546365 bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 18:03:49 +08:00
Jiang Jiang Jian
7b5cec5836 Merge branch 'bugfix/decouple_softap_c2' into 'master'
esp_wifi: decouple softap for esp32c2.

See merge request espressif/esp-idf!24411
2023-06-29 17:05:46 +08:00
Mahavir Jain
90290507fb
fix(mbedtls): Build issue in dynamic buffer feature
Fix build issue in mbedTLS dynamic buffer feature with
`CONFIG_MBEDTLS_DHM_C` enabled case. Also added a build
configuration for the test coverage.

Closes https://github.com/espressif/esp-idf/issues/11770
2023-06-29 13:30:30 +05:30
Sonika Rathi
cf7e743a9b Merge branch 'bugfix/wp_sdcard_polarity_support' into 'master'
Added support for write protection polarity for SDCard

Closes IDFGH-9892

See merge request espressif/esp-idf!24262
2023-06-29 14:59:22 +08:00
cjin
c460a1c1af ble: support esp32c6 power save example 2023-06-29 14:35:48 +08:00
Armando (Dou Yiwen)
1c76664849 Merge branch 'feature/add_esp32p4_soc_support_part_2' into 'master'
soc: added soc headers for esp32p4 (part 2)

See merge request espressif/esp-idf!24406
2023-06-29 11:12:10 +08:00
Armando (Dou Yiwen)
ad0345a41a Merge branch 'bugfix/fix_spi_flash_api_concurrency_issue' into 'master'
spi_flash: fix concurrency issue when concurrently calling esp_flash apis under xip_psram or auto_suspend

See merge request espressif/esp-idf!24215
2023-06-29 11:08:39 +08:00
chenjianxing
c2d30dbd0c fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3. 2023-06-29 11:03:37 +08:00
Alexey Lapshin
ef699e70ad fix(app_trace): Fix SystemView build 2023-06-28 18:28:36 +04:00
Zim Kalinowski
c412ac625c Merge branch 'feature/qemu-bootloader-support' into 'master'
bootloader_support: Enable tests on QEMU (ESP32 and ESP32C3)

Closes IDF-7335

See merge request espressif/esp-idf!21416
2023-06-28 21:03:15 +08:00
Mahavir Jain
08be8ff5ec Merge branch 'support/esp_coredump_logs_config' into 'master'
Optionally disable logs in espcoredump component

See merge request espressif/esp-idf!23899
2023-06-28 20:28:40 +08:00
Armando
d417ec9f06 feat(soc): modify mipi_csi_bridge_reg.h prefix
Prefix CSI_BRIG -> CSI_BRG
2023-06-28 19:39:34 +08:00
Armando
fa435cc699 feat(soc): updated mspi registers 2023-06-28 19:39:34 +08:00
sonika.rathi
b8c3a3aeee Added support for write protection polarity for SDCard
Closes https://github.com/espressif/esp-idf/issues/11208
2023-06-28 13:20:36 +02:00
Sumeet Singh
4d3e48ad1f Merge branch 'feature/exposed_gap_service_macros_to_menuconfig' into 'master'
NimBLE: Exposed macros used by GAP service to menuconfig

See merge request espressif/esp-idf!23876
2023-06-28 18:34:30 +08:00
Chen Ji Chang
01d70a8ff7 Merge branch 'feature/use_esp_rom_delay_us_to_test_the_accuracy_of_gptimer' into 'master'
gptimer: replace vTaskDelay with esp_rom_delay_us in test_apps

Closes IDF-7308

See merge request espressif/esp-idf!24419
2023-06-28 16:15:31 +08:00
Vikram
677b70ea96 Optionally disable logs in espcoredump component
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory

Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-28 06:46:32 +00:00
zhangwenxu
806ac94b64 IEEE802154: match C6 max txpower value with datasheet 2023-06-28 14:32:45 +08:00
Armando
9ee0da1705 register changes 2023-06-28 13:57:28 +08:00
chenjianxing
3472c2a02a esp_wifi: decouple softap for esp32c2. 2023-06-28 13:47:31 +08:00
Armando
424a3d3fa3 feat(soc): Rename pwm_reg.h to mcpwm_reg.h 2023-06-28 12:22:14 +08:00
Armando
bd9e566d6d feat(soc): Merge spi2_reg.h and spi3_reg.h 2023-06-28 12:22:14 +08:00
Chen Jichang
001a16ea6e refactor(driver/gptimer): replace vTaskDelay
with esp_rom_delay_us in test_apps

This commit replaces vTaskDelay with esp_rom_delay_us in the gptimer
driver. The former function can introduce millisecond jitter due to
OS task switching, while the latter has less jitter because of the
polling delay. Therefore this commit reduces the delta values for
various timer tests.

Changes made in this commit include:
- Replacing vTaskDelay with esp_rom_delay_us
- Adjusting delta values for various timer tests
2023-06-28 11:50:26 +08:00
Wang Meng Yang
52071f4e44 Merge branch 'bugfix/sdp_32_and_128_bit_UUID' into 'master'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID

Closes IDFGH-10312

See merge request espressif/esp-idf!24173
2023-06-28 11:34:51 +08:00
Armando
989c6f6e46 feat(soc): Added soc headers for esp32p4, part 2 2023-06-28 11:19:20 +08:00
Armando (Dou Yiwen)
b3b9b327a1 Merge branch 'bugfix/fix_s3_adc1_wrong_clk_div' into 'master'
adc: fix adc oneshot mode clk div issue on esp32, esp32s2 and esp32s3

Closes IDF-7654

See merge request espressif/esp-idf!24420
2023-06-28 11:12:40 +08:00
Armando
5d3f2c7571 feat(spi_flash): add common test_flash_utils component 2023-06-28 11:08:05 +08:00
Armando
5948c4b8ff spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-06-28 11:08:05 +08:00
Armando
267ab08a29 spiflash: added esp_flash API concurrency pressure test 2023-06-28 11:08:05 +08:00
Armando
0e6d3aa9cd spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen 2023-06-28 11:08:05 +08:00
Armando
f1f446d495 spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue 2023-06-28 11:08:05 +08:00
Lou Tian Hao
7c2ac1feb6 Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
esp32h2: support light_sleep

Closes IDF-6266 and IDF-7359

See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
Island
f63719837a Merge branch 'bugfix/fixed_ble_create_sync_fail' into 'master'
Bugfix/fixed ble create sync fail

See merge request espressif/esp-idf!24304
2023-06-28 10:27:18 +08:00
Jiang Jiang Jian
93fcfbeb54 Merge branch 'bugfix/fix_wifi_espnow_coexist_API_doc' into 'master'
esp_wifi: fix ret when setting channel at wifi not started, fix timer callback

Closes IDF-7270, WIFI-5607, WIFI-5736, and WIFI-3607

See merge request espressif/esp-idf!23782
2023-06-27 21:34:53 +08:00
Liu Ning
8514469092 esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-06-27 21:34:53 +08:00
Martin Vychodil
e097c40345 Merge branch 'bugfix/memprot_checks' into 'master'
[System] remove Memprot specific checks and setup (heap caps, OS restart)

Closes IDF-7255

See merge request espressif/esp-idf!23433
2023-06-27 21:14:09 +08:00
Lou Tianhao
c7c937ea75 bugfix: set FORCE_INLINE_ATTR for resume_uart 2023-06-27 18:35:16 +08:00
Lou Tianhao
5c608f0f50 TODO: IDF-7657 2023-06-27 18:34:33 +08:00
Zim Kalinowski
434a9e4e2f ci(bootloader): Enable QEMU tests (ESP32 and ESP32C3) 2023-06-27 17:14:18 +08:00
Darian
9f5271031d Merge branch 'feature/ringbuf_add_create_with_caps' into 'master'
esp_ringbuf: Add xRingbufferCreateWithCaps()

See merge request espressif/esp-idf!24377
2023-06-27 16:40:33 +08:00
Sumeet Singh
9de43c3bef NimBLE: Exposed macros used by GAP service to menuconfig 2023-06-27 12:56:55 +05:30
xiaqilin
4aec075c49 ieee802154: support ieee802154 test 2023-06-27 15:02:20 +08:00
xiaqilin
5b8db91dfa ieee802154: add a patch for ieee802154 test 2023-06-27 15:02:20 +08:00
xiaqilin
3eb193a8e9 ieee802154: add CONFIG_IEEE802154_TEST for supporting ieee802154 test 2023-06-27 15:02:20 +08:00
Martin Vychodil
5640bb2d2d Merge branch 'bugfix/wl_logv_too_few_args' into 'master'
Storage/Wear Levelling: fixed too few arguments in ESP_LOGV macro (WL_Flash::config)

Closes IDF-7640

See merge request espressif/esp-idf!24414
2023-06-27 14:59:37 +08:00
morris
deda773bbf Merge branch 'chor/update_gdma_register_name_prefix_esp32c3' into 'master'
gdma: update soc reg.h for esp32c3 to be consistent with TRM

Closes DOC-5141

See merge request espressif/esp-idf!24082
2023-06-27 14:57:17 +08:00
Armando
eaf21a34af fix(adc): fixed esp32, esp32s2,esp32s3 adc oneshot mode clk div issue 2023-06-27 14:40:22 +08:00
morris
7fc9d3fe69 Merge branch 'test/check_soc_header_file_compile' into 'master'
soc: check the soc header files can compile

Closes IDF-5721

See merge request espressif/esp-idf!24393
2023-06-27 13:30:19 +08:00
Marius Vikhammer
cf838f44cb fix(core-system/esp event): Fixed missing error return documentation for esp_event_loop_create_default
ESP_ERR_INVALID_STATE was not listed as a possible return error code.

Closes https://github.com/espressif/esp-idf/issues/11745
2023-06-27 10:55:53 +08:00
Martin Vychodil
65bc1ed055 System: remove digital-system reset within OS restart when Memprot on 2023-06-26 20:22:59 +02:00
Martin Vychodil
0e350d49ad fix(Storage/Wear Levelling): Fixed too few arguments in ESP_LOGV macro (WL_Flash::config)
- Added missing argument for wl_page_size in ESP_LOGV macro in WL_Flash::config function.
2023-06-26 17:40:44 +02:00
Wu Zheng Hui
173d0951ee Merge branch 'feature/improve_pd_vddsido_help_doc' into 'master'
Power Management: improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc

Closes IDFGH-10297

See merge request espressif/esp-idf!24301
2023-06-26 23:01:31 +08:00
morris
1c0be26531 fix(soc): soc header files can pass CI check 2023-06-26 23:00:45 +08:00
morris
d18a03b0db Merge branch 'refactor/rename_gpio_ext_reg_name_c6_h2' into 'master'
gpio_ext: rename register prefix to be GPIO_EXT_xxx

See merge request espressif/esp-idf!23969
2023-06-26 22:29:39 +08:00
Lou Tianhao
d585861d22 TODO: IDF-7555 2023-06-26 21:05:17 +08:00
Lou Tianhao
6ee0f89676 Power Management: fix hp xtal wait bug for esp32h2 and esp32c6 2023-06-26 21:05:17 +08:00
Lou Tianhao
a329b15e7e Power Management: support pu xtal in light sleep for esp32h2 2023-06-26 21:05:16 +08:00
Lou Tianhao
117008143b bugfix: remove the workaround implemented in MR 22773 about the lp_timer 2023-06-26 21:05:16 +08:00
Lou Tianhao
01fb28b65b Power Management: move lp_timer_hal.c to upper hal layer for esp32h2 and esp32c6 2023-06-26 21:05:16 +08:00
Lou Tianhao
b5a293ab69 Power Management: support RC32K or Crystal32K powered down 2023-06-26 21:05:16 +08:00
Lou Tianhao
9613692350 codeclean: fix prefix to LP_AON and add LP_AON_STORE8_REG 2023-06-26 21:05:16 +08:00
Lou Tianhao
7fd74057a3 example: bringup light sleep example for esp32h2 2023-06-26 21:05:16 +08:00
Lou Tianhao
2657d8f307 Power Management: change the IO hold interface for esp32c6 2023-06-26 21:05:16 +08:00
Lou Tianhao
ca55b91242 Power Management: update pmu init and sleep parameter 2023-06-26 21:05:16 +08:00
Lou Tianhao
b06cadddb3 Power Management: fix REGDMA clock issue when wake up form light sleep 2023-06-26 21:05:10 +08:00
Lou Tianhao
d3ca0656c8 Power Management: support MODEM domain powered down in light sleep for esp32h2 2023-06-26 20:58:59 +08:00
Lou Tianhao
8457998505 Power Management: fix REGDMA power issue when TOP domain powered down during light sleep for esp32h2 2023-06-26 20:58:59 +08:00
Lou Tianhao
b4210682c8 Power Management: support TOP domain powered down in light sleep for esp32h2 2023-06-26 20:58:59 +08:00
Lou Tianhao
46cf3ecdc2 Power Management: support PAU REGDMA feature for esp32h2 2023-06-26 20:58:59 +08:00
Lou Tianhao
6ea441c815 Power Management: support CPU powered down in light sleep for esp32h2 2023-06-26 20:57:55 +08:00
Lou Tianhao
63d32ab620 Power Management: support DFS and PMU feature for esp32h2 2023-06-26 20:57:55 +08:00
Martin Vychodil
bed7fe8aa5 Merge branch 'fix/nvs_tool_invalid_entry_none_check' into 'master'
NVS: nvs_tool.py entry.data None check fix

Closes IDF-7637

See merge request espressif/esp-idf!24358
2023-06-26 19:11:25 +08:00
Kevin (Lao Kaiyao)
028c7bee0d Merge branch 'feature/support_new_adc_cali_scheme_on_c6' into 'master'
adc_calib: support calibration v2 on esp32c6

Closes IDF-7610

See merge request espressif/esp-idf!24343
2023-06-26 18:30:19 +08:00
Armando (Dou Yiwen)
8db5812449 Merge branch 'feature/introduce_idf_env_bringup_for_esp32p4' into 'master'
kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage

See merge request espressif/esp-idf!24234
2023-06-26 18:17:05 +08:00
Kapil Gupta
7dc8de15aa esp_wifi: Optimize sae crypto operations for esp32 2023-06-26 14:25:33 +05:30
Ilia Lutchenko
418ffd147b btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-26 10:05:50 +02:00
Darian
464052aa7a Merge branch 'bugfix/twai_install_returns_error_on_intr_alloc_fail' into 'master'
TWAI: twai_driver_install() returns error on interrupt allocation failure (GitHub PR)

Closes IDFGH-10231

See merge request espressif/esp-idf!24364
2023-06-26 15:13:44 +08:00
Darian Leung
7d983fe5a3 esp_ringbuf: Add xRingbufferCreateWithCaps()
This commit adds APIS to create a ring buffer with specific memory caps. The
following APIs have been added:

- xRingbufferGetStaticBuffer()
- xRingbufferCreateWithCaps()
- vRingbufferDeleteWithCaps()
2023-06-26 15:05:29 +08:00
Armando (Dou Yiwen)
ddb9c1172f Merge branch 'feature/add_esp32p4_soc_support' into 'master'
soc: added soc headers for esp32p4 (part 1)

See merge request espressif/esp-idf!24284
2023-06-26 14:44:13 +08:00
Sudeep Mohanty
67552c31da Merge branch 'feature/lp_uart_on_lp_core' into 'master'
lp-core-uart: Added LP UART driver support and printf ability to the LP core

Closes IDF-6831 and IDF-5815

See merge request espressif/esp-idf!23971
2023-06-26 14:40:20 +08:00
wuzhenghui
95c79e7ec5 Kconfig: improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc
Closes https://github.com/espressif/esp-idf/issues/11558
2023-06-26 11:51:56 +08:00
Armando
c448597f24 kconfig: introduced CONFIG_IDF_ENV_BRINGUP for new chip bringup usage 2023-06-26 03:30:23 +00:00
Aditya Patwardhan
360f551f48 Merge branch 'fix/mbedtls_ecdsa_veriy_restartable' into 'master'
mbedtls: update submodule

See merge request espressif/esp-idf!24372
2023-06-26 11:28:58 +08:00
Shu Chen
54e45c7be4 Merge branch 'bugfix/fix_multipan_enable_and_update_reg' into 'master'
ieee802154: fix multipan api error and update coex_arb_delay reg

See merge request espressif/esp-idf!24145
2023-06-26 11:00:08 +08:00
laokaiyao
f949819976 adc_calib: support calibration v2 on esp32c6 2023-06-26 10:40:36 +08:00
Jiang Jiang Jian
51aaed8c22 Merge branch 'bugfix/resume_ext_scan_pti_in_time' into 'master'
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3

Closes BT-3313

See merge request espressif/esp-idf!24184
2023-06-26 10:37:24 +08:00
Jiang Jiang Jian
d68898785a Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit' into 'master'
bugfix/Fixed the issue of alarm leak

See merge request espressif/esp-idf!24350
2023-06-26 10:21:32 +08:00
zwl
4bf95fb638 ble: Fixed the issue of occasional failure to create sync on ESP32-H2 2023-06-25 21:42:41 +08:00
zwl
649ce4f5b0 ble: Fixed the issue of occasional failure to create sync on ESP32-C6 2023-06-25 21:37:58 +08:00
Shu Chen
6fc45d4978 Merge branch 'fix/phylib_rtc_printf' into 'master'
esp_phy: fix rtc_printf and libbtbb version print

See merge request espressif/esp-idf!24356
2023-06-25 20:05:23 +08:00
Darian
0e1bbb0138 Merge branch 'bugfix/ringbuf_static_object_size' into 'master'
Ringbuf: Fix ordering of StaticRingbuffer_t

Closes IDFGH-10479

See merge request espressif/esp-idf!24371
2023-06-25 19:28:53 +08:00
Nebojsa Cvetkovic
9956bfac3e twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

Closes https://github.com/espressif/esp-idf/pull/11494

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-06-25 18:32:41 +08:00
Armando
4d5506a31b soc: rename ana_i2c_mst_reg.h to i2c_ana_mst_reg.h 2023-06-25 17:31:18 +08:00
Armando
7250e397ac soc: migrate system_reg.h, hp_sys_reg.h to hp_system_reg.h 2023-06-25 16:51:09 +08:00
Armando
b8df6d1973 soc: add io_mux_reg/struct.h 2023-06-25 16:51:09 +08:00
xiongweichao
2fa475bc2c bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-06-25 16:32:07 +08:00
xiongweichao
3fd18692a2 components/bt: Fix crash due to NULL point 2023-06-25 16:18:30 +08:00
Jiang Jiang Jian
29a3f86536 Merge branch 'bugfix/nvs_get_sae_pwe_mismatch' into 'master'
esp_wifi: Bugfix NVS get values for sae_pwe

See merge request espressif/esp-idf!23878
2023-06-25 15:45:31 +08:00
Darian Leung
b104b52b0e ringbuf: Fix ordering of StaticRingbuffer_t
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.

This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.

Closes https://github.com/espressif/esp-idf/issues/11726
2023-06-25 15:30:19 +08:00
xiaqilin
509d004587 ieee802154: add modem reset and fix ieee802154 test app reg command error 2023-06-25 14:15:45 +08:00
Kevin (Lao Kaiyao)
c221ce331a Merge branch 'bugfix/fix_i2s_ll_cpp_compilation_failure' into 'master'
i2s: fixed i2s_ll compiling failure under C++ environment

Closes IDFGH-10367 and IDFCI-1695

See merge request espressif/esp-idf!24242
2023-06-25 13:16:59 +08:00
wangmengyang
f6c41c5cca bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-06-25 03:54:32 +00:00
Armando
5a88a7da0e soc: added soc headers for esp32p4, part 1 2023-06-25 10:35:15 +08:00
Wu Zheng Hui
c41abacb3a Merge branch 'feature/enable_sleep_reject_for_deep_sleep' into 'master'
sleep: enable sleep reject when entering deepsleep

Closes WIFI-6010

See merge request espressif/esp-idf!24127
2023-06-25 00:02:32 +08:00
Darian
3d35fbe211 Merge branch 'bugfix/usb_hcd_interrupt_alloc_error_return' into 'master'
USB Host: Fix coverity issues with hcd_install()

Closes IDF-7442

See merge request espressif/esp-idf!24360
2023-06-24 03:49:01 +08:00
Martin Vychodil
9735e6147a Merge branch 'revamp/wear_levelling_component' into 'master'
Revamp variable names and update code documentation for wear levelling component

See merge request espressif/esp-idf!23012
2023-06-23 19:29:25 +08:00
Shreyas Sheth
42f2cdb8e0 esp_wifi: Bugfix NVS get values for sae_pwe 2023-06-23 14:16:46 +05:30
harshal.patil
f0ae5bd25a mbedtls: update submodule to include:
fix: mbedtls_ecdsa_can_do was not being defined when ECDSA_SIGN_ALT is defined but ECDSA_VERIFY_ALT is not defined causing mbedtls_ecdsa_verify_restartable to always fail.
feature: initial version of the sbom.yml file
2023-06-23 14:07:45 +05:30
laokaiyao
1b22591ea7 i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-23 11:41:43 +08:00
Mahavir Jain
020bea7491 Merge branch 'contrib/github_pr_11715' into 'master'
esp_ota_ops.h: typo fix (GitHub PR)

Closes IDFGH-10468

See merge request espressif/esp-idf!24363
2023-06-22 01:53:04 +08:00
C.S.M
ce0d111b5e Merge branch 'bugfix/temperature_weak_link_phy_xpd' into 'master'
temperature_sensor: make  `phy_xpd_tsens` link to phy_lib on esp32c2

See merge request espressif/esp-idf!24320
2023-06-21 19:23:41 +08:00
Darian Leung
a1ed398481 usb_host: Fix coverity issues with hcd_install()
- Use single "err_ret" variable for returning errors
- Simplify bail out procedure by using more labels
2023-06-21 17:50:20 +08:00
Chen Yu Dong
1efcd78077 Merge branch 'bugfix/connection_to_hidden_AP_fail' into 'master'
Fix connection to hidden AP in APSTA mode for C6

See merge request espressif/esp-idf!23912
2023-06-21 17:23:40 +08:00
Adam Múdry
098cab35e4 NVS: nvs_tool.py entry.data None check fix 2023-06-21 11:23:22 +02:00
Sudeep Mohanty
38c1759fb4 lp-core-uart: Added support for printf to the LP core
This commit adds a minimal logging driver for the LP core. The logging
driver provides a printf function which is built on top of the LP UART
driver. The commit also adds an example to demonstrate how to use print
statements in an LP core program.
2023-06-21 11:16:13 +02:00
Sudeep Mohanty
3638082670 lp-core-uart: Added LP UART support for LP core
This commit adds a UART driver for the LP core to interact with the LP
UART. The commit also adds an example to demonstrate the usage of the LP
UART driver.
2023-06-21 11:16:13 +02:00
Sonika Rathi
4585ff806a Revamp variable names and update code documentation for wear levelling component
wear levelling code cleanup
2023-06-21 10:34:24 +02:00
zhangwenxu
de7a39477f esp_phy: fix rtc_printf and libbtbb version print 2023-06-21 15:45:38 +08:00
Konstantin Kondrashov
f29cff3243 Merge branch 'bugfix/systick_loop' into 'master'
freertos: Fix Systick stuck when systimer was not reset

Closes WIFI-6052

See merge request espressif/esp-idf!24306
2023-06-21 15:28:16 +08:00
wuzhenghui
6fe405bffc ci: fix failed ci test jobs 2023-06-21 15:24:50 +08:00
Jin Cheng
ec8a34628f Fixed the issue of alarm leak in hf-ag 2023-06-21 15:24:05 +08:00
Jin Cheng
68c9a492ac Fixed the issue of alarm leak in A2DP 2023-06-21 15:24:05 +08:00
Gong Yan Tao
d2fb7240a7 Merge branch 'docs/update_esp_hid_host' into 'master'
[docs] fix documents for Bluetooth HID Host API reference

Closes BT-3328

See merge request espressif/esp-idf!17602
2023-06-21 15:01:32 +08:00
Zim Kalinowski
af8c1d7cff Merge branch 'feature/qemu-esp-rom' into 'master'
esp_rom: enable qemu tests

Closes IDF-7327

See merge request espressif/esp-idf!21417
2023-06-21 14:31:24 +08:00
Zim Kalinowski
5a1d37dd11 Merge branch 'feature/qemu-esp-event' into 'master'
enabling qemu on esp_event

Closes IDF-7329

See merge request espressif/esp-idf!21098
2023-06-21 14:03:27 +08:00
Zim Kalinowski
f3a19a3eea Merge branch 'feature/heap-enable-qemu-tests' into 'master'
heap: enable qemu tests

Closes IDF-7326

See merge request espressif/esp-idf!20999
2023-06-21 14:03:00 +08:00
wangmengyang
d4ac2380e7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-21 12:02:58 +08:00
wuzhenghui
679ae47271 sleep: enable sleep reject when entering deep sleep and return err if sleep request is rejected 2023-06-21 11:27:40 +08:00
Wu Zheng Hui
392e6aa867 Merge branch 'bugfix/increase_pm_dump_time_field_length' into 'master'
Power Management: increase pm_dump time field width

Closes IDFGH-10457

See merge request espressif/esp-idf!24330
2023-06-21 10:58:41 +08:00
Cao Sen Miao
47ec252dde temperature_sensor: make as a weak link 2023-06-21 10:50:57 +08:00
Zim Kalinowski
4d005b0fbc Merge branch 'feature/ringbuf-enable-qemu-tests' into 'master'
ringbuf: enable qemu tests

Closes IDF-7336

See merge request espressif/esp-idf!21057
2023-06-20 23:06:59 +08:00
Zim Kalinowski
f3fa1fd891 esp_rom: enable qemu tests 2023-06-20 16:57:53 +02:00
Marcel Petrick
edb53c1a85
esp_ota_ops.h: typo fix 2023-06-20 16:39:07 +02:00
Zim Kalinowski
c472e2e9af esp_event: enable qemu tests 2023-06-20 16:19:01 +02:00
Zim Kalinowski
2b4137d212 heap: enable qemu tests 2023-06-20 16:03:41 +02:00
wuzhenghui
ef8e8c1719 bugfix: increase pm_dump time field width
Closes https://github.com/espressif/esp-idf/issues/11704
2023-06-20 20:17:50 +08:00
wuzhenghui
d35ba005b8 bugfix: fix bootloader print wrong spi speed mode 2023-06-20 20:02:14 +08:00
Zim Kalinowski
3050af45a1 ringbuf: enable qemu tests 2023-06-20 13:57:22 +02:00
Jiang Jiang Jian
3d23b3dfec Merge branch 'bugfix/fix_idfgh_10366' into 'master'
Fixed memory leak when setting adv data on ESP32

See merge request espressif/esp-idf!24274
2023-06-20 19:11:24 +08:00
Sudeep Mohanty
ab8ed8980a Merge branch 'feature/support_abort_on_lp_core' into 'master'
lp-core: Added support for abort() function on the LP core

See merge request espressif/esp-idf!24204
2023-06-20 19:08:49 +08:00
Kapil Gupta
f6b9c4846b Merge branch 'bugfix/wps_deauth_sent_before_eap_failure' into 'master'
esp_wifi: Send deauth before Eap-Failure in WPS registrar

Closes WIFI-5999

See merge request espressif/esp-idf!24164
2023-06-20 18:26:54 +08:00
Zim Kalinowski
8f89372c2c Merge branch 'feature/qemu-console' into 'master'
console: Enable tests on QEMU

Closes IDF-7324 and IDF-7338

See merge request espressif/esp-idf!21414
2023-06-20 17:33:37 +08:00
Jiang Jiang Jian
7cea35193b Merge branch 'bugfix/fix_bluedroid_host_build_warning_when_log_is_disabled' into 'master'
Fixed bluedroid host build warning when log is disabled

See merge request espressif/esp-idf!24003
2023-06-20 15:51:11 +08:00
Zim Kalinowski
8fe961b3ff console: enable qemu tests 2023-06-20 09:37:39 +02:00
morris
ff20794ea4 Merge branch 'bugfix/vfs_uart_outof_bounds_read' into 'master'
vfs_uart: fix out-of-bounds read

See merge request espressif/esp-idf!24290
2023-06-20 10:35:39 +08:00
Rahul Tank
db5a2638dd Merge branch 'bugfix/expose_clear_all_wl_api' into 'master'
Nimble: Expose API to clear all addresses in whitelist out of stack

See merge request espressif/esp-idf!24084
2023-06-19 23:18:13 +08:00
KonstantinKondrashov
42fa005bf7 freertos: Fix Systick stuck when systimer was not reset
Relates to OTA update for C3 chips from IDF version 4.3 to v5.0 and above
2023-06-19 21:57:02 +08:00
Wu Zheng Hui
1be9eee3ca Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_master' into 'master'
esp_pm: fix esp32s3 psram access failed when dfs is enabled

Closes IDF-7400 and IDF-4120

See merge request espressif/esp-idf!24144
2023-06-19 17:58:03 +08:00
morris
213564efe1 Merge branch 'feature/rgb_lcd_restart_on_invalid_bb_eof_times' into 'master'
rgb_lcd: Restart the LCD when detecting a wrong order of bounce buffer switching

Closes IDF-7185

See merge request espressif/esp-idf!23980
2023-06-19 15:46:59 +08:00
Wu Zheng Hui
8f75882475 Merge branch 'feature/add_modem_module_rst_api' into 'master'
modem_clock: add modem module mac reset api

Closes IDF-5713

See merge request espressif/esp-idf!24044
2023-06-19 14:46:31 +08:00
Wang Meng Yang
0a8610ab7b Merge branch 'bugfix/hfp_packet_type_err' into 'master'
Revised (e)SCO configuration parameter sets

Closes FCS-1239

See merge request espressif/esp-idf!24166
2023-06-19 13:40:21 +08:00
morris
35d0835508 rgb_lcd: restart when dma eof interrupt is delayed 2023-06-19 13:22:46 +08:00
morris
771883395b esp_lcd: trim the build of test apps 2023-06-19 13:05:49 +08:00
wuzhenghui
913a0adcfa esp_wifi: implement wifi_reset_mac_wrapper 2023-06-19 12:53:09 +08:00
wuzhenghui
4196eddff1 esp_hw_support: add modem module mac reset api 2023-06-19 12:53:09 +08:00
Wan Lei
a0dc515143 Merge branch 'refactor/cache_utils_refactor_to_cache_hal' into 'master'
cache: refactor cache_utils to use cache_hal instade

Closes IDF-7172 and IDF-7385

See merge request espressif/esp-idf!23317
2023-06-19 11:54:12 +08:00
Island
81e418b1f2 Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link' into 'master'
ESP32C6: Add BLE light sleep support using extra link

Closes IDF-6528

See merge request espressif/esp-idf!23720
2023-06-19 11:47:58 +08:00
morris
a4c19ceea0 touch_element: fix unintended integer division 2023-06-19 11:04:53 +08:00
morris
8885d20482 usbh: fix invalid assert on desc_status 2023-06-19 10:59:46 +08:00
morris
1272703bdf vfs_uart: fix out-of-bounds read
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-19 10:59:46 +08:00
Krzysztof Budzynski
8d64cbc422 Merge branch 'docs/update_comment_of_idle_core_mask' into 'master'
docs: update comment of member idle_core_mask

See merge request espressif/esp-idf!24043
2023-06-19 10:46:10 +08:00
wuzhenghui
9074bee47c ci: add access psram with DFS unity test 2023-06-19 10:15:08 +08:00
wuzhenghui
c39bfd01a5 bugfix: use avaliable gpio for esp32s3 pm_trace 2023-06-19 10:15:08 +08:00
wuzhenghui
8334403f3c bugfix: fix esp32s3 psram access failed when dfs is enabled 2023-06-19 10:15:04 +08:00
Song Ruo Jing
03d4fa2869 Merge branch 'feature/support_lp_uart_for_uart_driver' into 'master'
uart: Support LP_UART port with UART driver for esp32c6

Closes IDF-7061 and IDF-7374

See merge request espressif/esp-idf!22914
2023-06-16 20:45:43 +08:00
Jin Cheng
4b46ecf6f2 Revised (e)SCO configuration parameter sets 2023-06-16 18:05:41 +08:00
Zhang Wen Xu
acbdbbb23b Merge branch 'bugfix/fix_dead_lock_for_ot' into 'master'
Openthread: fix dead lock related to ot and lwip

See merge request espressif/esp-idf!24232
2023-06-16 17:27:14 +08:00
Shyamal Khachane
84222e62a7 esp_wifi: Fix connection failure to hidden AP in APSTA mode for ESP32C6 2023-06-16 13:38:51 +05:30
cjin
d2d65a72a0 btbb: support register retention in esp32c6 2023-06-16 15:37:03 +08:00
cjin
f3457133f6 ble:added esp32c6 light sleep support 2023-06-16 15:37:03 +08:00
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
Jiang Jiang Jian
b77540c285 Merge branch 'bugfix/malloc_free_removal' into 'master'
esp_wifi: Remove direct calls of malloc() and free()

See merge request espressif/esp-idf!23287
2023-06-16 15:21:46 +08:00
gongyantao
028f7779f5 resolve the conflicts 2023-06-16 15:20:25 +08:00