Commit Graph

19199 Commits

Author SHA1 Message Date
wanlei
08ecf47dd4 mcpwm: fix h2 mcpwm legacy test 2023-02-28 11:31:15 +08:00
Armando
4c0d6b6835 mbedtls: updated to use default gdma psram alignment
When accessing the PSRAM, the GDMA buffer alignment should be larger or
equal to the data cache line size
2023-02-28 10:42:22 +08:00
Armando
663e881868 gdma: fix potential unaligned cache writeback issue 2023-02-28 10:42:22 +08:00
Armando
1ecd1e3bf0 esp_mm: fix dependency to esp_psram 2023-02-28 10:42:22 +08:00
Armando
fda9746bb8 esp_mm: cache_msync API 2023-02-28 10:42:22 +08:00
Song Ruo Jing
8486a2c3ad Merge branch 'bugfix/revert_rtc_clock_bbpll_power_on_with_usb' into 'master'
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep

Closes IDFGH-6887

See merge request espressif/esp-idf!20973
2023-02-27 23:18:54 +08:00
Armando
0a472225cc fatfs: fix deadcode issue 2023-02-27 11:25:29 +00:00
Xu Si Yu
4bf62250fb CI: add openthread build CI for ESP32-H2 2023-02-27 17:51:19 +08:00
Harshit Malpani
214627f14b
mbedtls: Keep CONFIG_MBEDTLS_DYNAMIC_BUFFER disabled for Linux target 2023-02-27 15:12:14 +05:30
Mahavir Jain
ad19981af8 Merge branch 'feature/esp32h2_enable_flash_encryption' into 'master'
Feature/esp32h2 enable flash encryption

Closes IDF-6282 and IDF-6680

See merge request espressif/esp-idf!22502
2023-02-27 16:55:32 +08:00
David Cermak
5f6cb31105 lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00
wanlei
e5810924f2 spi: formate test_spi_param.c 2023-02-27 15:40:24 +08:00
zhangwenxu
2816ff14e4 ieee802154: add support for esp32h2 2023-02-27 15:32:32 +08:00
Armando
83d0181a2c sdspi: h2 support 2023-02-27 14:39:06 +08:00
Mahavir Jain
2c8c8bfd2d Merge branch 'bugfix/fix_build_issue_esp_tls_server_session_tickets' into 'master'
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.

Closes IDFGH-9392

See merge request espressif/esp-idf!22381
2023-02-27 12:45:23 +08:00
Song Ruo Jing
1a66459b44 usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
   During sleep, BBPLL clock always gets disabled
   esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
   When this option is selected, IDF will constantly monitor USB CDC port connection status.
   As long as it gets connected to a HOST, automatic light-sleep will not happen.

Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
Armando (Dou Yiwen)
dc76dde79f Merge branch 'feature/support_c6_cache' into 'master'
cache: support c6/h2 cache error

Closes IDF-5342, IDF-5656, and IDF-6255

See merge request espressif/esp-idf!22078
2023-02-27 11:40:18 +08:00
wanlei
d8ac58b4d4 spi: add high freq test on different spi config 2023-02-27 11:27:57 +08:00
wanlei
cdd610cadc spi_slave: fix io re-config issue 2023-02-27 11:27:57 +08:00
liuning
db11eaecdc feature: separate coex lib from wifi lib, support esp32c6 internal coex
update wifi, coex, phy libs
2023-02-26 06:58:18 +00:00
liuning
31e340ee0d esp_coex: correct wrapper names 2023-02-26 06:58:18 +00:00
wangmengyang
2c4fc5d9ea bt: add coexistence internal API declarations and clean up some unused coexistence hooks 2023-02-26 06:58:18 +00:00
liuning
b3a040aa98 coex: apply new coex_schm_callback 2023-02-26 06:58:18 +00:00
wangmengyang
1661694e0b bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller 2023-02-26 06:58:18 +00:00
liuning
7817c23623 esp_coex: correct Kconfig name 2023-02-26 06:58:18 +00:00
zhangwenxu
4697d85944 esp_coex: support i154 set coex pti 2023-02-26 06:58:18 +00:00
liuning
5e59276ddf esp_wifi: port coex adapter for esp32c6 2023-02-26 06:58:18 +00:00
liuning
38316b38b5 esp_wifi: move coex part from esp_wifi to esp_coex 2023-02-26 06:58:18 +00:00
liuning
103772df94 esp_wifi: support adapter of all chips for new coex lib 2023-02-26 06:58:18 +00:00
Jiang Jiang Jian
e8b38e141d Merge branch 'bugfix/wifi_config_fixes' into 'master'
esp_wifi: Update some wifi config options

See merge request espressif/esp-idf!22397
2023-02-26 14:57:25 +08:00
Sudeep Mohanty
b464933661 Merge branch 'feature/rtc_isr_for_ulp' into 'master'
ulp: Added APIs to handle ULP signal ISRs for the main CPU

Closes IDFGH-9362

See merge request espressif/esp-idf!22439
2023-02-25 14:20:26 +08:00
Island
7bc2046ec1 Merge branch 'bugfix/esp_ble_mesh_gcc12_compile' into 'master'
ble_mesh: fix gcc-12 compile errors

Closes MTWJ-234

See merge request espressif/esp-idf!22500
2023-02-24 19:53:26 +08:00
Mahavir Jain
190f4c72bd Merge branch 'fix/http_client_disable_auto_redirect_causes_loop' into 'master'
http_client: fixed looping caused when disable_auto_redirect enabled

Closes IDFGH-9243

See merge request espressif/esp-idf!22158
2023-02-24 19:43:39 +08:00
morris
8538f16361 Merge branch 'bugfix/gpio_glitch_filter_test' into 'master'
driver: improve gpio glitch filter test

Closes IDFCI-1621 and IDFCI-1622

See merge request espressif/esp-idf!22477
2023-02-24 18:13:41 +08:00
Aditya Patwardhan
b5b7f32e46 hal/esp32h2: Enable ll layer for flash encryption 2023-02-24 15:21:51 +05:30
Aditya Patwardhan
aaf5d0670e [bootloader_support/esp32h2] Enable flash encryption for esp32h2 target 2023-02-24 15:21:51 +05:30
Darian
2f44fa4123 Merge branch 'bugfix/freertos_stream_buffer_test' into 'master'
FreeRTOS: Fix stream buffer send-receive test

Closes IDF-6148

See merge request espressif/esp-idf!22407
2023-02-24 16:19:37 +08:00
Armando
4997689de5 cache: support h2 and c6 cache error 2023-02-24 16:16:46 +08:00
Darian
57b6be22a7 Merge branch 'bugfix/twai_listen_only_errata' into 'master'
TWAI: Add errata workaround for listen only mode

Closes IDFGH-7602

See merge request espressif/esp-idf!22479
2023-02-24 16:12:05 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54 Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
Test: Fixed target test of I2S and PCNT on H2

Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627

See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Sudeep Mohanty
a67d15fdea ulp: Added APIs to handle ULP signal ISRs for the main CPU
This commit introduces APIs to handle ULP signal ISRs when the main core
is not in sleepmode.

Closes https://github.com/espressif/esp-idf/issues/10737
2023-02-24 07:25:39 +00:00
Laukik Hase
47c153ad9e
mbedtls/test_apps: Fix performance logs
- For esp32-c2, the `CONFIG_NEWLIB_NANO_FORMAT` is enabled by
  default which does not allow printing `int64_t` values
- Copied these values to a `uint32_t` variable for printing
  them properly
2023-02-24 12:26:21 +05:30
Wan Lei
cf146d4b31 Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
spi_master: fix whole master driver iram safe enviroenment

Closes IDF-6848

See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e Merge branch 'feature/support_h2_adc' into 'master'
adc: support adc h2

Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695

See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
xueyunfei
4f0732cf05 Fixed bug for dhcp server support CIDR
Closes https://github.com/espressif/esp-idf/issues/10024

Closes https://github.com/espressif/esp-idf/issues/10559
2023-02-24 14:24:49 +08:00
David Cermak
708641204e lwip: Add missing esp_sntp_enabled() 2023-02-24 07:23:55 +01:00
Jing Li
a529771d88 Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'
pm: refactor pm codes to use unified esp_pm_config_t

See merge request espressif/esp-idf!22472
2023-02-24 14:06:19 +08:00
Marius Vikhammer
c2f9392be5 Merge branch 'feature/h2_wdt' into 'master'
wdt: add support for H2

Closes IDF-6643 and IDF-6678

See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Aditya Patwardhan
0d20f8816f esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
Closes https://github.com/espressif/esp-idf/issues/10765
2023-02-24 04:45:23 +00:00
morris
fdac2589bb driver: improve gpio glitch filter test
on esp32c6 and esp32h2, CPU frequency is 2x of IO MUX clock source.
There is a possiblity for a too short glitch pulse can't trigger GPIO
interrupt.
2023-02-24 11:05:59 +08:00
wanlei
f11c44e55b spi_master: fix master driver iram safe enviroenment 2023-02-24 10:46:06 +08:00
wanlei
aff223276f spi_slave: fix issue iram flag bind with iram config
bus flag`ESP_INTR_FLAG_IRAM` bind with `CONFIG_SPI_SLAVE_ISR_IN_IRAM`
2023-02-24 10:38:44 +08:00
C.S.M
b184b9a153 Merge branch 'bugfix/usb_serial_driver_block' into 'master'
usb_serial_jtag: Fix bug of blocking TX xfer when using driver

Closes IDF-5390 and IDFGH-8776

See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Chen Yudong
d352fb2411 ble_mesh: fix gcc-12 compile errors 2023-02-23 22:46:16 +08:00
Cao Sen Miao
720b8d9c1a usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
harshal.patil
32e78b71f3 http_client: fixed looping caused when disable_auto_redirect enabled
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-23 14:11:58 +05:30
laokaiyao
646fd5e15a i2s: guarantee safety of memcpy from being interrupted by uart logging 2023-02-23 15:11:13 +08:00
laokaiyao
71905d9cbf i2s_test: fix unsupported sample rate on h2 2023-02-23 15:11:13 +08:00
laokaiyao
53658e56d6 pcnt_test: fix the error pin on h2 2023-02-23 15:11:13 +08:00
aditi_lonkar
6b95b4ffd7 esp_wifi: Update some wifi config options
1) Update sta_config_t options.
        2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
Darian Leung
c97523ae0a freertos: Fix stream buffer send-receive test
The stream buffer send-receive test preivously contained the following bugs:

- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
  the sender task would cause memory corruption when accessing "tc" structure
  allocated on the main task's stack

This commit fixes and simplifies the stream buffer test.
2023-02-23 12:52:28 +08:00
Darian Leung
72becf31e4 twai: Add errata workaround for listen only mode
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.

Errata Description:

When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.

Workaround:

We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.

Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-23 12:50:06 +08:00
Armando (Dou Yiwen)
aeaf119338 Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h' into 'master'
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue

Closes IDF-5219

See merge request espressif/esp-idf!22447
2023-02-23 12:05:13 +08:00
Armando
486c765a93 adc: remove adc_hal_conf.h
Macros inside adc_hal_conf.h are moved to adc_ll.h
2023-02-23 11:48:31 +08:00
Armando
c2d5c19b28 adc: ll enum renaming 2023-02-23 11:48:31 +08:00
Armando
5653018cd1 esp_adc: support selecting clock source for oneshot driver 2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6 esp_adc: support h2 oneshot mode and continuous mode 2023-02-23 11:48:31 +08:00
jingli
3a648e8ed6 ci: h2 does not support deep sleep currently, comment some codes to avoid ci error 2023-02-23 11:36:13 +08:00
jingli
4c3d1e24d7 codeclean: remove unused sleep related functions 2023-02-23 11:36:13 +08:00
jingli
8f415a7f44 refactor: power management component use unified esp_pm_config_t 2023-02-23 11:36:07 +08:00
Marius Vikhammer
5d26a0de9a wdt: add support for H2 2023-02-23 11:22:51 +08:00
Alexey Lapshin
1484f2d4f6 Merge branch 'feature/update-gnu-toolchain-to-12.2.0_20230208' into 'master'
tools: update GNU toolchain version to 'esp-12.2.0_20230208'

Closes GCC-297, GCC-224, GCC-299, GCC-254, and GCC-256

See merge request espressif/esp-idf!22270
2023-02-23 01:57:51 +08:00
Jiang Jiang Jian
f3f3e87ea2 Merge branch 'bugfix/fix_sta_auth_fail_but_softap_shows_it_connected_issue' into 'master'
esp_wifi: fix sta auth failed but softap shows it connected issue

Closes WIFI-5448 and WIFI-5449

See merge request espressif/esp-idf!22465
2023-02-22 19:41:42 +08:00
Konstantin Kondrashov
bfd2f6ed7c Merge branch 'feature/adds_more_efuse_logs' into 'master'
efuse: Add more logging for virtual efuses

Closes IDFGH-9137

See merge request espressif/esp-idf!22399
2023-02-22 19:25:58 +08:00
Mahavir Jain
b6588eb99c Merge branch 'fix/esp32_hw_mpi_data_corruption' into 'master'
esp32/mpi: Added alternate workaround for MPI data corruption issue

Closes IDFGH-8991

See merge request espressif/esp-idf!22139
2023-02-22 16:33:51 +08:00
xiongweichao
3b5939396d bt:Added a parameter to tell the user the result of the pass through command implementation 2023-02-22 15:37:54 +08:00
Kevin (Lao Kaiyao)
0f15d4a2c1 Merge branch 'feature/i2s_support_pre_load_dma_data' into 'master'
i2s: support preload data

Closes IDFGH-6847

See merge request espressif/esp-idf!21927
2023-02-22 15:28:16 +08:00
muhaidong
4cb4faa998 esp_wifi: fix sta auth failed but softap shows it connected issue 2023-02-22 06:52:59 +00:00
Chip Weinberger
c39be8bc76 [USB Serial/JTAG Driver] use time-limited blocking for TX 2023-02-22 14:28:08 +08:00
morris
1c9b96ab37 Merge branch 'feature/support_efuse_for_esp32h2' into 'master'
efuse: Add support for esp32h2

Closes IDF-6252, IDF-4337, and IDF-6897

See merge request espressif/esp-idf!22393
2023-02-22 13:41:40 +08:00
Alexey Lapshin
1e65ea8889 hal: always inline mmu_ll_check_valid_paddr_region for esp32h2 2023-02-22 05:33:03 +00:00
Alexey Lapshin
36d0e275a0 hal: always inline clk_tree_ll functions 2023-02-22 05:33:03 +00:00
Alexey Lapshin
84ff4d6e37 esp_rom: always inline cache.h functions for esp32 2023-02-22 05:33:03 +00:00
Alexey Lapshin
85b48bfcc0 esp_netif: fix test_app_vfs_l2tap stack overflow 2023-02-22 05:33:03 +00:00
Alexey Lapshin
1e3c18a94a esp_hw_support: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
ddd645e2c0 esp_event: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
4b54c49203 heap: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
bda5befdf5 esp_hid: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
adcdfa641c wpa_supplicant: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
a7e51b2509 protocomm: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
75642ca07a vfs: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
49af663dfb esp_system: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
d4b7be4a73 bt: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Alexey Lapshin
a32bbedcd9 newlib: implement 8/16-bit atomic operations for riscv 2023-02-22 05:33:03 +00:00
Alexey Lapshin
8849b1b5aa newlib: fix and add new atomic tests for multicore chips 2023-02-22 05:33:03 +00:00
Alexey Lapshin
21d7fd9b03 gcov: use original libgcov.a with redefined symbols 2023-02-22 05:33:03 +00:00
Alexey Lapshin
61a7342acd tools: add riscv zicsr/zifencei because they were separated from i
https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4
2023-02-22 05:33:03 +00:00
Alexey Lapshin
5389ac4e04 tools: cmake: ignore linker RWX segment warnings 2023-02-22 05:33:03 +00:00
Armando
c56eb8646b g0: resolve MMU_PAGE_SIZE not defined in g0 build issue 2023-02-22 12:37:40 +08:00
xieqinan
1f664bb4f7 openthread: add the configurable option of uart buffer size 2023-02-22 03:01:38 +00:00
laokaiyao
26f5441e0e i2s: support bytes_read / bytes_written to be NULL 2023-02-22 02:44:53 +00:00
laokaiyao
7397b3f750 i2s: support preload data
Closes https://github.com/espressif/esp-idf/issues/8471
2023-02-22 02:44:53 +00:00
Alexey Lapshin
25cb9b3f0e Merge branch 'fix/freertos-clang-riscv-port' into 'master'
freertos: riscv: implement vPortTaskWrapper with asm only

Closes IDF-6347

See merge request espressif/esp-idf!22199
2023-02-22 05:52:15 +08:00
Laukik Hase
9f0435faa4
mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF 2023-02-21 18:45:25 +05:30
Laukik Hase
45df5b56d5
esp32/mpi: Added alternate workaround for MPI data corruption issue
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
  MPI peripheral
- Updated the previous workaround added for the same issue as it
  was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
  enabled.
- The test performance numbers had to be updated due to the
  performance penalty introduced by this fix.

Closes https://github.com/espressif/esp-idf/issues/10403
2023-02-21 18:43:54 +05:30
Wang Meng Yang
998711b4e7 Merge branch 'bugfix/blufi_notify' into 'master'
BluFi : Fixed hdr getting free twice

Closes IDFGH-9378

See merge request espressif/esp-idf!22416
2023-02-21 17:43:38 +08:00
Wan Lei
66cda021d0 Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
gpio: h2 support input hysteresis filter

Closes IDF-6653

See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
KonstantinKondrashov
f3394c488a efuse: Add support for esp32h2 2023-02-21 08:18:14 +00:00
KonstantinKondrashov
cabfc75c3c efuse: FPGA testing must be run only manually 2023-02-21 08:18:14 +00:00
KonstantinKondrashov
9eed575764 efuse: Adds feature for efuse table, it can accept aliases in comments
DIS_TWAI, EFUSE_BLK0, 46, 1, [DIS_CAN DIS_CAN_123] Represents whether TWAI function ...
2023-02-21 08:18:14 +00:00
Song Ruo Jing
987fd3208a Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
clk: Add basic clock support for esp32h2

Closes IDF-6265 and IDF-5973

See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Shen Weilong
c1329974a0 [esp32c2] Fixed the occasional assertion when deinit the ble controller 2023-02-21 14:03:37 +08:00
Wan Lei
cf5387fc76 Merge branch 'feature/h2_twai_support' into 'master'
twai: h2 support twai driver

Closes IDF-6217 and IDF-6673

See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
Jakob Hasse
a8661d0f97 refactor(esp_rom): miniz test only on FPGA now 2023-02-21 11:06:48 +08:00
Jing Li
75a82988f1 Merge branch 'refactor/wdt_use_unified_type' into 'master'
wdt: refactor wdt codes to use unified type

Closes IDF-5653

See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
Mahavir Jain
a9e7ccb166 Merge branch 'contrib/github_pr_10648' into 'master'
[AES] Timeout: return error dont abort (GitHub PR)

Closes IDFGH-9265

See merge request espressif/esp-idf!22266
2023-02-21 01:14:05 +08:00
wanlei
c9bcec9212 gpio: h2 support input hysteresis filter 2023-02-20 19:34:48 +08:00
cje
703a7b4156 update h2 i2c header file 2023-02-20 17:15:02 +08:00
Song Ruo Jing
2c2a62e323 clk_tree: Add basic clock support for esp32h2
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration

Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00
Marius Vikhammer
89190fab02 Merge branch 'bugfix/allow_coredump_gdb_simu' into 'master'
coredump: allow coredump at panic even if gdbstub is used.

Closes IDFGH-8567

See merge request espressif/esp-idf!22103
2023-02-20 16:07:57 +08:00
Sudeep Mohanty
522a216385 Merge branch 'feature/ulp_elf_output' into 'master'
ulp: Updated ULP CMakeLists.txt to output binary with .elf extension

Closes IDF-3060

See merge request espressif/esp-idf!22414
2023-02-20 15:08:35 +08:00
morris
10d0cc6e16 Merge branch 'bugfix/rmt_buffer_allocation' into 'master'
legacy rmt driver: fix wrong buffer allocation

See merge request espressif/esp-idf!22367
2023-02-20 15:02:13 +08:00
isha.pardikar@espressif.com
14aa55b353 BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-20 11:02:30 +05:30
Jiang Jiang Jian
0591695a81 Merge branch 'bugfix/bluedroid_le_coc_compile_error' into 'master'
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs

Closes BT-2862

See merge request espressif/esp-idf!22321
2023-02-20 13:23:51 +08:00
Alexey Lapshin
d1214aef8c freertos: riscv: fix vPortTaskWrapper for clang 2023-02-20 13:09:42 +08:00
Omar Chebib
d55060d184 Merge branch 'staging/rename_twdt_config_examples' into 'master'
TWDT: Use the new TWDT Kconfig options in the examples and tests

See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Armando (Dou Yiwen)
0c635543ff Merge branch 'feature/support_shared_vs_non_shared_mmap' into 'master'
esp_mm: share and non-share mapping

Closes IDF-6575

See merge request espressif/esp-idf!22320
2023-02-18 08:02:15 +08:00
jgujarathi
178497c432 wpa_supplicant : Add deinitialization of Enterprise config_methods.
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-02-17 17:21:41 +05:30
jgujarathi
a512a5d990 wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-02-17 17:20:49 +05:30
Sudeep Mohanty
8f93e4d0d5 ulp: Updated ULP CMakeLists.txt to output binary with .elf extension
This commit updates the ULP CMakeLists.txt to output the ULP binary with
a .elf extension. Currently the output file does not use any extension.
2023-02-17 10:44:24 +01:00
Suren Gabrielyan
496843b277 Merge branch 'feature/websocket-client-errorhandling' into 'master'
[ws_transport] -  Added `esp_transport_ws_get_upgrade_request_status` API to get http status code from server

See merge request espressif/esp-idf!20480
2023-02-17 16:58:57 +08:00
Marius Vikhammer
ec57895db9 coredump: allow coredump at panic even if gdbstub is used.
Closes https://github.com/espressif/esp-idf/issues/10017
2023-02-17 15:15:36 +08:00
Laukik Hase
f0132be83e Merge branch 'feature/memprot_test_app' into 'master'
esp_system: Add test_app for `memprot` peripheral

Closes IDF-6819

See merge request espressif/esp-idf!21829
2023-02-17 13:59:44 +08:00
Armando
4144746fc3 esp_mm: shared and non-shared mapping 2023-02-17 13:04:55 +08:00
Armando
82ee8403b6 mmu: mmu_hal_check_valid_ext_vaddr_region 2023-02-17 13:04:55 +08:00
Jiang Jiang Jian
07d8862256 Merge branch 'feature/migration_to_nimble_1.5' into 'master'
Nimble: migrate to nimble 1.5 branch

See merge request espressif/esp-idf!22034
2023-02-17 12:45:34 +08:00
Omar Chebib
5e5343d429 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
Jiang Jiang Jian
e44c7fb048 Merge branch 'feature/sae_pk_station' into 'master'
esp-wifi: SAE-PK (Public Key) authentication support for station

See merge request espressif/esp-idf!20417
2023-02-16 23:59:39 +08:00
Armando (Dou Yiwen)
7f335a970d Merge branch 'bugfix/include_freertosconfig_h_in_critical_section_h' into 'master'
esp_system: include FreeRTOS.h explicitly in critical_section.h

See merge request espressif/esp-idf!22405
2023-02-16 22:23:33 +08:00
Steinbart Andreas (HAU-EDS)
9def9b6a03 [ws_transport] - Added esp_transport_ws_get_upgrade_request_status API 2023-02-16 12:19:40 +00:00
Martin Vychodil
c58a84f893 Merge branch 'feature/fatfs_format_api' into 'master'
fatfs: added APIs to format a FAT filesystem

Closes IDF-6046

See merge request espressif/esp-idf!21845
2023-02-16 19:59:31 +08:00
Armando (Dou Yiwen)
41ef7189c4 Merge branch 'contrib/github_pr_10546' into 'master'
esp_psram: fix compile error for SPI PSRAM 2T mode (GitHub PR)

Closes IDFGH-9149

See merge request espressif/esp-idf!22054
2023-02-16 19:29:59 +08:00
Laukik Hase
4cf889b692
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-02-16 15:27:11 +05:30
morris
4a604be7fd Merge branch 'feature/expose_rmt_channel_id' into 'master'
rmt: expose private API to get channel ID

Closes IDFGH-9206, IDF-6846, IDF-6810, and IDF-6783

See merge request espressif/esp-idf!22384
2023-02-16 16:54:46 +08:00
wanlei
fdeeced62c twai: h2 support twai driver 2023-02-16 16:34:23 +08:00
Sarvesh Bodakhe
d2f6a3dacc esp-wifi: add SAE-PK (Public Key) authentication support for station 2023-02-16 13:49:11 +05:30
Armando
a49d074cbb esp_system: include FreeRTOS.h explicitly in critical_section.h
Prior to this commit, if only critical_section.h is included, there
might be error about portNUM_PROCESSORS undeclared.

As critical_section.h should be OS-agnostic, added FreeRTOS.h in it
2023-02-16 15:12:13 +08:00
Alexey Lapshin
31b7f8f1d8 Merge branch 'fix/revert-sdio-slave-gcc11-workaround' into 'master'
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()

Closes GCC-277

See merge request espressif/esp-idf!22085
2023-02-16 14:32:59 +08:00
yn386
4a09c18ea6 esp_psram: fix compile error for SPI PSRAM 2T mode 2023-02-16 06:21:42 +00:00
Armando
d59fd3e529 fatfs: deprecate esp_vfs_fat_sdmmc_unmount
This API was deprecated before, but without deprecation warning and
migration doc. This commit added deprecation warning and migration doc
to it.
2023-02-16 14:17:51 +08:00
Armando
90a6018e67 fatfs: added an API to format FAT on sdcard 2023-02-16 14:17:51 +08:00
Armando
4150bfb403 fatfs: added an API to format FAT on spiflash 2023-02-16 12:19:35 +08:00
morris
195f6b99ad rmt: expose private API to get channel ID
Closes https://github.com/espressif/esp-idf/issues/10596
2023-02-16 11:37:25 +08:00
Armando (Dou Yiwen)
76989b504a Merge branch 'refactor/move_isr_core_id_enum_to_g1' into 'master'
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components

See merge request espressif/esp-idf!22182
2023-02-16 11:02:56 +08:00
Chip Weinberger
c7a12dd34b efuse: Add more logging for virtual efuses
Closes https://github.com/espressif/esp-idf/pull/10536
2023-02-16 00:10:08 +08:00
Armando
b96c370ab8 esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components 2023-02-15 19:52:06 +08:00
Wan Lei
814df0ea28 Merge branch 'bugfix/fix_h4_spi_file_missing' into 'master'
spi: fix spi support on h4 after diver/cmakelist refactored

See merge request espressif/esp-idf!22358
2023-02-15 18:41:49 +08:00
Wu Zheng Hui
113132e4f4 Merge branch 'feature/bringup_esp32c6_light_sleep_pd_top' into 'master'
esp32c6: support light_sleep (Stage 2: support Digital Peripheral power down)

See merge request espressif/esp-idf!22197
2023-02-15 16:17:53 +08:00
Sachin Parekh
774f0ef636 Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
ESP32C6: Enable ECDSA secure boot

Closes IDF-5357 and IDF-5931

See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
Guillaume Souchere
b1f9d7a8ee Merge branch 'feature/use-linked-list-for-heap-trace-records' into 'master'
heap: fix Leaks perf on large records by using doubly linked list

Closes IDFGH-9121 and IDF-1244

See merge request espressif/esp-idf!22009
2023-02-15 15:14:19 +08:00
Island
50ae186ff7 Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
ble:Fixed issues of adv error stop and abnormal reporting of connection update...

Closes BT-3137 and BT-3144

See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
Jiang Jiang Jian
0b921fda14 Merge branch 'bugfix/nvs_save_for_new_config' into 'master'
esp_wifi: Add nvs code for new config params

See merge request espressif/esp-idf!21513
2023-02-15 13:00:45 +08:00
Roshan Bangar
baf4240776 NimBLE: Use dynamic buffers instead of static memory. 2023-02-15 04:55:26 +00:00
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00:00
Marius Vikhammer
ca0f982420 aes: fix minor formatting issues 2023-02-15 12:45:29 +08:00
C.S.M
ae9713d227 Merge branch 'bugfix/wrap_init' into 'master'
spi_flash: initialize wrap in app stage

See merge request espressif/esp-idf!22362
2023-02-15 12:39:12 +08:00
C.S.M
8ba96ab873 Merge branch 'feature/esp32h2_target_test' into 'master'
esp32h2(ci): ESP32H2 enable target stage test

See merge request espressif/esp-idf!22084
2023-02-15 12:34:13 +08:00
C.S.M
a2ed523f97 Merge branch 'bugfix/mcpwm_config_name' into 'master'
mcpwm: modify wrong config name

See merge request espressif/esp-idf!22348
2023-02-15 12:21:48 +08:00
wanlei
217e36bec0 spi: fix spi support on h4 after diver/cmakelist refactored 2023-02-15 12:12:22 +08:00
jingli
9c37441b17 wdt: refactor wdt codes to use unified type 2023-02-15 12:08:55 +08:00
wuzhenghui
a0492202b7 bugfix: unhold SPI CS pin in pd_top lightsleep 2023-02-15 11:46:41 +08:00
wuzhenghui
0b0da680d2 codeclean: turn on the regdma clock only once 2023-02-15 11:46:40 +08:00
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
Mahavir Jain
8d05d2511c gen_esp32part: allow secure boot v2 based app partition size 4K aligned
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.

For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.

Relevant:
57b601ab7f
2023-02-08 03:23:46 +00:00
Marius Vikhammer
65a4058e8c newlib: update newlib nano documentation for C6
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
morris
990c6f58a6 Merge branch 'feature/etm_support_h2' into 'master'
etm: add basic driver on esp32h2

Closes IDF-6225

See merge request espressif/esp-idf!22246
2023-02-08 10:42:10 +08:00
Jiang Jiang Jian
01f7277a6b Merge branch 'bugfix/set_generic_len_for_rsnxe' into 'master'
esp_wifi:bugfix set AP rsnxe ie len generic

See merge request espressif/esp-idf!21953
2023-02-08 02:57:12 +08:00
Armando (Dou Yiwen)
1c699294da Merge branch 'feature/mmu_driver' into 'master'
esp_mm: new virtual memory mapping driver via mmu

Closes IDF-5847, IDF-6076, IDF-5023, IDF-5339, and IDFGH-8961

See merge request espressif/esp-idf!20540
2023-02-08 00:59:58 +08:00
Wu Zheng Hui
86797f03a8 Merge branch 'bugfix/remove_redundant_macro_wrapping' into 'master'
bugfix: remove wrong SOC_PM_SUPPORT_XTAL_PD wrapping

Closes IDFGH-9300

See merge request espressif/esp-idf!22239
2023-02-07 23:31:09 +08:00
Harshit Malpani
5388c0c2e7 app_update: Remove Wno-format compile option for test app 2023-02-07 15:26:27 +00:00
morris
6f8ee89302 etm: add basic driver on esp32h2 2023-02-07 14:54:08 +00:00
Jiang Jiang Jian
404eb39adf Merge branch 'bugfix/ble_hci_issue_with_pcl' into 'master'
BLE: fixed hci event fail on esp32c6

See merge request espressif/esp-idf!22231
2023-02-07 20:27:28 +08:00
Shreyas Sheth
a9095ba8e0 esp_wifi: bugfix RSNXE related changes
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-02-07 12:26:54 +00:00
wuzhenghui
75d15e8b80 bugfix: remove redundant SOC_PM_SUPPORT_XTAL_PD wrapping
Closes https://github.com/espressif/esp-idf/issues/10681
2023-02-07 20:25:59 +08:00
Armando
98892a3288 esp_mm: correct mmap reserved irom and drom size
Prior to this commit, we don't consider the offset of the irom vaddr
start.

If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100

Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.

With this commit, when reserving the irom and drom, we take the offset
into consideration as well.
2023-02-07 20:23:53 +08:00
Armando
06e7c02da7 esp_mm: h2 support 2023-02-07 20:23:53 +08:00
Armando
4c878eeb0a sections_ld: add description to .flash.rodata_noload
This commit also move _rodata_reserved_end symbol right at the entry of
the .flash.rodata_noload.
2023-02-07 20:23:52 +08:00
Armando
d233f3535d flash_mmap: migrate to use esp_mmap driver 2023-02-07 20:23:52 +08:00
Armando
e76c52d4df cache: fix s2 dcache size 0 issue when psram disabled 2023-02-07 20:23:52 +08:00
Armando
d6844051fc esp_mm: new virtual memory mapping apis via mmu 2023-02-07 20:23:52 +08:00
Armando
1fc55af6af cache: invalidate addr hal api 2023-02-07 20:23:52 +08:00
Armando
16398c2d06 mmu: move mem_caps macro to hal/mmu_types.h as an enum type 2023-02-07 20:23:52 +08:00
Armando
8ba67dfc38 mmu: rename api to esp_mmu_reserve_block_with_caps
esp_mmu_get_largest_free_block() ->
esp_mmu_get_max_consecutive_free_block()

esp_mmu_find_vaddr_range() -> esp_mmu_reserve_block_with_caps()
2023-02-07 20:23:51 +08:00
Armando
af15b6d885 mmu: simplify mmu vaddr region macro on esp32c2
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
Jiang Jiang Jian
248c15475f Merge branch 'feature/implement_esp32h2_regi2c_api' into 'master'
esp32h2: implement regi2c apis

See merge request espressif/esp-idf!22250
2023-02-07 20:22:52 +08:00
Roland Dobai
4bd5ebb4a1 Merge branch 'tools/monitor_move' into 'master'
Tools(idf_monitor): Move idf_monitor to separate repo

Closes IDF-4109

See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Jing Li
409804f673 Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2' into 'master'
esp32c2: support feature(rtc time) depend on rtc fast mem

Closes IDF-3901, IDF-4239, IDF-5053, IDF-5060, and IDF-5131

See merge request espressif/esp-idf!19067
2023-02-07 15:16:01 +08:00
wuzhenghui
a0983627f5 bugfix: fix returning before disabling blocks 2023-02-07 15:08:05 +08:00
Jiang Jiang Jian
f4c14a6bf4 Merge branch 'bugfix/lwip_sntp_cpp_fix' into 'master'
esp_sntp: Fix c++ compile issue in esp_sntp.h (GitHub PR)

Closes IDFGH-9212 and IDFGH-9239

See merge request espressif/esp-idf!22159
2023-02-07 14:36:39 +08:00
Kevin (Lao Kaiyao)
421e5e6416 Merge branch 'refactor/pack_driver_source_files' into 'master'
components/driver: pack peripherals

See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Ivan Grokhotkov
e10ff6b4e3
newlib: remove leftover file from the binary distribution 2023-02-06 22:23:48 +01:00