Commit Graph

20493 Commits

Author SHA1 Message Date
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
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
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
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
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
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