wuzhenghui
248aa6109d
codeclean: add sleep_mode args to esp_sleep_start()
2023-02-15 11:46:40 +08:00
Li Shuai
aec3f6db1d
light sleep: supported SoC TOP domain powered down
2023-02-15 11:46:40 +08:00
Li Shuai
6e307c04a3
clock retention: supported soc and modem system power and clock sleep retention
2023-02-15 11:46:40 +08:00
fuzhibo@espressif.com
e252748d92
periph retention: runtime critical digital peripherals sleep retention support
2023-02-15 11:46:40 +08:00
Li Shuai
d097bbe40b
sleep retention: wraps the regdma link and hardware driver to provide system sleep retention (WiFi, BLE, 15.4 and digital peripheral) support
2023-02-15 11:46:40 +08:00
Li Shuai
8c18393d23
regdma: add regdma link operation api support
2023-02-15 11:46:36 +08:00
Li Shuai
d3e0e3e3b6
pau: implement the pau regdma driver for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
5850cd7492
pau: implement the pau regdma hal&ll layer for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
180199319b
soc_caps: add pau link number caps
...
soc_caps: add SOC_PAU_SUPPORTED caps
soc_caps: add SOC_PM_SUPPORT_TOP_PD caps
2023-02-15 10:45:44 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Kapil Gupta
1c35430012
esp_wifi: Add nvs for new config params after esp32c2
2023-02-14 19:42:37 +05:30
Sachin Billore
120fcec026
apm: added support for APM on esp32h2
...
Closes IDF-6277 IDF-6278 and IDF-5909
2023-02-14 10:43:49 +00:00
Roland Dobai
6a375bfc3b
Merge branch 'bugfix/nvs_page_test_increase_timeout' into 'master'
...
NVS: Increase timeout of nvs_page_test
See merge request espressif/esp-idf!22338
2023-02-14 18:42:02 +08:00
Cao Sen Miao
29e0258de2
spi_flash: init wrap in app stage
2023-02-14 18:20:53 +08:00
Armando
1bd8018a59
vfs_fat_spiflash: use esp_check
2023-02-14 09:22:17 +00:00
Jiang Jiang Jian
e65eaa4d8c
Merge branch 'esp32c6/bugfix_add_tx_error_handle' into 'master'
...
esp32c6: add tx error handle
Closes WIFI-5359, WIFI-5380, and WIFI-5396
See merge request espressif/esp-idf!22210
2023-02-14 17:18:07 +08:00
Guillaume Souchere
2cf9236f6c
heap trace standalone: Fix initialization of the unused linked list, update tests
...
- Call TAILQ_INSERT_TAIL in linked_list_setup to add unused records from the tail of the list
- Fix test "heap trace leak check" to expect that after a free, the record is zeroed instead of checking that
the whole list of records is moved by one index in the array.
- Use esp_rom_printf() under lock instead of printf() since it does not rely on interrupts.
2023-02-14 09:48:14 +01:00
Marius Vikhammer
f9c1a2b791
Merge branch 'feature/core_c6_component_tests' into 'master'
...
ci: update idf-core related tests for C6
Closes IDF-6888
See merge request espressif/esp-idf!22282
2023-02-14 16:47:52 +08:00
Shu Chen
c0c985a6f4
Merge branch 'feature/fix_phy_init_when_SW_restart' into 'master'
...
esp_phy: fix phy init when SW restart
See merge request espressif/esp-idf!22256
2023-02-14 16:24:39 +08:00
Armando (Dou Yiwen)
a0c8c87c51
Merge branch 'test/increase_c6_adc_std_thresh' into 'master'
...
esp_adc: increase c6 adc std thres
See merge request espressif/esp-idf!22361
2023-02-14 15:13:00 +08:00
morris
0a25c48d89
rmt: fix rmt buffer allocation issue
2023-02-14 14:05:12 +08:00
morris
e0c98da169
Merge branch 'feature/glitch_filter_h2' into 'master'
...
gpio: support glitch filter on esp32h2
Closes IDF-6286
See merge request espressif/esp-idf!22273
2023-02-14 13:07:44 +08:00
morris
18295bb2f5
Merge branch 'bugfix/i80_pll240_esp32s3' into 'master'
...
lcd: support PLL240M as i80 clock source on esp32s3
See merge request espressif/esp-idf!22285
2023-02-14 12:27:57 +08:00
Cao Sen Miao
8cc6a535b2
mcpwm: modify wrong config name
2023-02-14 11:12:08 +08:00
Wu Zheng Hui
d1b6ff6cca
Merge branch 'bugfix/reset_modem_lpcon_in_soft_reset' into 'master'
...
bugfix: reset modem lpcon in soft reset
See merge request espressif/esp-idf!22347
2023-02-14 10:31:17 +08:00
Armando
790be9390a
esp_adc: increase c6 adc std thres
...
c6, h2, hardware calibration not supported. Reading result varies.
2023-02-14 10:18:34 +08:00
Mahavir Jain
f4fb62eee7
Merge branch 'bugfix/esp32c6_h2_clk_gate_periph_rst' into 'master'
...
clk_gate_ll: fix issue with DS peripheral clk reset
Closes IDF-6740
See merge request espressif/esp-idf!22301
2023-02-13 20:06:13 +08:00
Mahavir Jain
61bf801d0f
Merge branch 'feature/esp32h2_add_hmac_ds' into 'master'
...
ESP32-H2 add HMAC and DS Peripheral support
Closes IDF-6279 and IDF-6285
See merge request espressif/esp-idf!22306
2023-02-13 20:04:50 +08:00
wuzhenghui
0afeac9951
bugfix: reset modem lpcon in soft reset
2023-02-13 17:04:35 +08:00
Armando (Dou Yiwen)
d3fec8394f
Merge branch 'feature/adc_filter' into 'master'
...
adc: supported adc digital filter
Closes IDF-2529, IDFGH-9113, and IDFGH-9279
See merge request espressif/esp-idf!22035
2023-02-13 16:43:58 +08:00
xuxiao
1126c1b79e
esp32c6: wifi add tx error handle
2023-02-13 16:35:18 +08:00
Sudeep Mohanty
27be8a1ebb
Merge branch 'feature/ulp_riscv_test_multiple_firmware' into 'master'
...
ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
See merge request espressif/esp-idf!22165
2023-02-13 15:36:10 +08:00
Sachin Parekh
2bb9499a7e
esp32c6: Enable ECDSA based secure boot
...
- Updated documentation for C6
2023-02-13 13:02:11 +05:30
Guillaume Souchere
a630f06132
Merge branch 'feature/verbose-alloc-failure-abort' into 'master'
...
heap: print size and caps when malloc fails before calling system abort
Closes IDFGH-9267
See merge request espressif/esp-idf!22192
2023-02-13 15:26:24 +08:00
Tomas Rezucha
bc314e1f8b
Merge branch 'bugfix/usb_host/interface_parsing' into 'master'
...
usb_host: Fix interface descriptor parsing
See merge request espressif/esp-idf!22323
2023-02-13 15:17:54 +08:00
C.S.M
2a2fb8fa43
Merge branch 'feature/flash_wrap_supported' into 'master'
...
spi_flash: Support flash wrap (burst read), flash driver side
See merge request espressif/esp-idf!21922
2023-02-13 13:54:28 +08:00
Marius Vikhammer
25abc7f6d8
ci: update idf-core related tests for C6
2023-02-13 13:01:57 +08:00
Mahavir Jain
ac7b42d742
esp_hw_support: fix test apps build for IDF_ENV_FPGA
case
2023-02-13 10:27:23 +05:30
Mahavir Jain
50f7d40b89
mqtt/ssl_ds: enable the example for ESP32-H2 target
2023-02-13 10:27:22 +05:30
Mahavir Jain
e4e4ffa3f4
esp32h2: enable DS peripheral support in driver and test application
2023-02-13 10:27:15 +05:30
Mahavir Jain
13c8407a19
esp32h2: add DS peripheral HAL
2023-02-13 10:26:37 +05:30
Mahavir Jain
c680113d52
esp32h2: add HMAC peripheral HAL
2023-02-13 10:26:36 +05:30
Mahavir Jain
2974e8f487
Merge branch 'feature/apm_support_esp32c6' into 'master'
...
apm: added support for APM on esp32c6
Closes IDF-5819 and IDF-5818
See merge request espressif/esp-idf!22157
2023-02-13 12:45:41 +08:00
Jakob Hasse
bed81f450d
ci(nvs_flash): Increase timeout of nvs_page_test
...
* nvs_page_test runs into timeout in CI. According to log,
test ran run around halfway, so increasing from 10 to 90 seconds.
* Also increased timeout of nvs_host_test, just to be sure
2023-02-13 12:35:52 +08:00
Sachin Parekh
a3c341384f
esp32c6: Remove assert check on len for SHA calculation
2023-02-13 09:45:55 +05:30
Cao Sen Miao
0d37436f36
spi_flash: Support flash wrap (burst read), flash driver side
2023-02-13 11:10:15 +08:00
Jiang Jiang Jian
2c3fe88e32
Merge branch 'bugfix/build_err_with_ssr_enabled' into 'master'
...
bt: Fixed build errors when sniff subrating is enabled.
See merge request espressif/esp-idf!22240
2023-02-13 10:50:46 +08:00
morris
8ff376537c
Merge branch 'feature/lcd_support_esp32h2' into 'master'
...
lcd: driver support for esp32h2
Closes IDF-6213 and IDF-6674
See merge request espressif/esp-idf!22299
2023-02-13 10:37:12 +08:00
C.S.M
9092b93966
Merge branch 'feature/temp_sensor_esp32h2' into 'master'
...
temperature_sensor: Add support for esp32h2
Closes IDF-6229
See merge request espressif/esp-idf!22291
2023-02-13 10:24:31 +08:00
Ivan Grokhotkov
bb25d6abd3
Merge branch 'bugfix/newlib_leftover_files' into 'master'
...
newlib: remove leftover file from the binary distribution
See merge request espressif/esp-idf!22252
2023-02-12 03:08:25 +08:00
morris
a3f887a1fe
gpio: support glitch filter on esp32h2
2023-02-11 23:01:01 +08:00
Jin Cheng
eac73d8f58
Fixed build errors when sniff subrating is enabled.
2023-02-11 08:29:09 +00:00
jingli
28c7620cba
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-11 01:06:18 +00:00
jingli
557a1ed1a5
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-11 01:06:18 +00:00
morris
c2c4fbff13
lcd: driver support for esp32h2
2023-02-11 00:30:48 +00:00
morris
78855a88c9
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-11 00:30:20 +00:00
Jiang Jiang Jian
254efe402e
Merge branch 'feature/wifi_kconfig_merge' into 'master'
...
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
Closes WIFI-4541 and IDF-1830
See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
2023-02-11 07:38:45 +08:00
Armando
7e6bf9f987
esp_adc: added adc filter doc, and filter migration guides
2023-02-10 16:46:20 +00:00
Armando
3afa671069
esp_adc: added adc digital filter feature
2023-02-10 16:46:20 +00:00
Tomas Rezucha
31ff3bc0c2
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-10 15:49:11 +01:00
wangmengyang
3279b4d41d
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +08:00
morris
1626766abf
rmt: simplify rmt source clock configure with clk_tree API
...
Also decrease the payload size for testing the multi-channel behaviour.
2023-02-10 18:24:27 +08:00
Cao Sen Miao
bbbe569e03
temperature_sensor: Add support for esp32h2
2023-02-10 16:36:56 +08:00
Sachin Billore
8d0f6dab0f
apm: added support for APM on esp32c6
...
Closes: IDF-5819 IDF-5818
2023-02-10 08:18:07 +00:00
zhangwenxu
91113c44e5
esp_phy: fix phy init when SW restart
2023-02-10 07:42:40 +00:00
Guillaume Souchere
65c946f1f2
heap: Fix priority in shex() bit shift
2023-02-10 07:43:32 +01:00
Wang Meng Yang
e0e3700142
Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
...
Support ble privacy by controller on bluedroid
See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
zwl
f79d0e6a43
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-10 14:16:07 +08:00
Mahavir Jain
725e1fb3cc
clk_gate_ll: remove DPORT_ prefix as this is not required for H2/C6
2023-02-10 10:48:45 +05:30
Song Ruo Jing
db59ab5000
Merge branch 'contrib/github_pr_10640' into 'master'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR)
Closes IDFGH-9255
See merge request espressif/esp-idf!22238
2023-02-10 10:51:27 +08:00
Chip Weinberger
f11256d9da
[Logs] print size and caps when malloc fails
2023-02-09 06:49:34 -08:00
Mahavir Jain
06def61fe8
clk_gate_ll: fix issue with DS peripheral clk reset
...
In ESP32-C6, every peripheral reset enable bit is in different register
(unlike some of the previous SoCs) and hence they must be handled with
multiple register write operations.
This allows AES, MPI peripherals to works correctly after DS peripheral
has done some operations.
2023-02-09 17:15:22 +05:30
Mahavir Jain
f790fe0e1f
clk_gate_ll: fix issue with DS peripheral clk reset
...
In ESP32-H2, every peripheral reset enable bit is in different register
(unlike some of the previous SoCs) and hence they must be handled with
multiple register write operations.
This allows AES, MPI peripherals to works correctly after DS peripheral
has done some operations.
2023-02-09 17:11:37 +05:30
Kapil Gupta
a75a36f8c2
Merge branch 'bugfix/fix_ftm_procedure_with_peer_failed_status_4_issue' into 'master'
...
esp_wifi: fix ftm procedure with peer failed status 4 issue
Closes WIFI-4600
See merge request espressif/esp-idf!22267
2023-02-09 16:00:47 +08:00
Ondrej Kosta
05510e67d1
Merge branch 'bugfix/eth_lan8720_ci' into 'master'
...
esp_eth: start/stop and L2 test stability improvements
See merge request espressif/esp-idf!21898
2023-02-09 15:36:12 +08:00
Saurabh Kumar Bansal
770961d2b8
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling' into 'master'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration
See merge request espressif/esp-idf!21193
2023-02-09 13:56:48 +08:00
C.S.M
7e08b407b9
Merge branch 'feature/spi_flash_vendor_classify' into 'master'
...
spi_flash: only link flash vendor which is officially supported to save IRAM
See merge request espressif/esp-idf!22255
2023-02-09 13:48:15 +08:00
Laukik Hase
d2c37009b0
Merge branch 'test_app/mbedtls_remove_wno_format_compile_option' into 'master'
...
mbedtls: Remove `-Wno-format` compile option for test app
Closes IDF-6806
See merge request espressif/esp-idf!22243
2023-02-09 12:40:42 +08:00
Jiang Jiang Jian
5f440ec382
Merge branch 'optimization/lwip_dhcp_coarse_timer' into 'master'
...
lwip:optimization dhcp coarse timer
Closes WIFI-5235
See merge request espressif/esp-idf!21981
2023-02-09 11:10:12 +08:00
Wan Lei
005e4c7e0b
Merge branch 'feature/spi_h2_support' into 'master'
...
SPI: Support master, slave, slave_hd driver for H2
Closes IDF-6245, IDF-6246, IDF-6247, and IDF-6696
See merge request espressif/esp-idf!22048
2023-02-09 11:04:46 +08:00
Song Ruo Jing
1addacb93d
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency' into 'master'
...
uart: Fix TX side concurrency issues
Closes IDF-6201 and IDF-6086
See merge request espressif/esp-idf!21604
2023-02-09 10:58:17 +08:00
Cao Sen Miao
0f8f13d21d
spi_flash: only link flash vendor which is officially supported to save IRAM
2023-02-09 10:28:54 +08:00
Marius Vikhammer
6233b0aa64
Merge branch 'feature/c6_newlib_nano' into 'master'
...
newlib: update newlib nano documentation for C6
See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
morris
76433e4cb2
Merge branch 'refactor/gptimer_pm_lock_logic' into 'master'
...
gptimer: add pm lock for xtal clock
Closes DOC-4504
See merge request espressif/esp-idf!22162
2023-02-09 01:48:29 +08:00
Saurabh Kumar Bansal
7010349a9a
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-08 23:12:54 +05:30
Darian Leung
6ae151db8c
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-08 22:36:01 +08:00
muhaidong
ec980ecc5f
esp_wifi: fix ftm procedure with peer failed status 4 issue
...
1. send ftm frames immediately
2. fix ftm procedure with peer failed status 4 issue
2023-02-08 20:25:19 +08:00
Mahavir Jain
3850e9327a
Merge branch 'bugfix/secure_boot_v2_part_size_check' into 'master'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
See merge request espressif/esp-idf!22188
2023-02-08 18:42:34 +08:00
morris
044a114e66
gptimer: unify clock setting with clk_tree API
2023-02-08 16:30:47 +08:00
xueyunfei
2f6b681b1a
lwip:optimization dhcp coarse timer
2023-02-08 16:29:28 +08:00
Sudeep Mohanty
3cc399f399
ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
...
This commit adds a new API ulp_reisv_reset() to enable reseting of the
ULP core from the main core. This is particularly necessary in case the
ULP crashes due to any reason. Earlier the only way to recover the ULP
was to do a power reset. This commit also adds new test cases which
exercise this scenario.
2023-02-08 07:52:34 +00:00
David Čermák
080fd7e14f
Merge branch 'bugfix/lwip_dhcp_restore_last' into 'master'
...
lwip: fix dhcp_server path (GitHub PR)
Closes IDFGH-9297 and IDFGH-9309
See merge request espressif/esp-idf!22251
2023-02-08 15:07:49 +08:00
Laukik Hase
d4abf3ff45
mbedtls: Remove -Wno-format
compile option for test app
2023-02-08 12:31:09 +05:30
Song Ruo Jing
b69f983525
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-02-08 14:24:43 +08:00
Simon Arlott
d78d1a2376
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-02-08 06:24:24 +00:00
Mahavir Jain
92f94a51ea
Merge branch 'test_app/app_update_remove_wno_compile_option' into 'master'
...
app_update: Remove `Wno-format` compile option for test app
Closes IDF-6788
See merge request espressif/esp-idf!22245
2023-02-08 14:21:05 +08:00
Marius Vikhammer
2e55775f95
Merge branch 'bugfix/newlib_tz_env_mutex' into 'master'
...
newlib: Use correct recursive mutex for env and regular mutex for tz
Closes IDFGH-9266
See merge request espressif/esp-idf!22200
2023-02-08 13:39:36 +08:00
wanlei
5300bd3b2f
spi: support H2 spi master, slave, slave_hd driver
2023-02-08 11:38:45 +08:00
Mahavir Jain
9628118400
partition_table: add tests for checking secure boot part size
2023-02-08 03:23:46 +00:00