Commit Graph

28507 Commits

Author SHA1 Message Date
Aditya Patwardhan
bd81d8f9d3 esp-tls: Add build test for server session ticket option 2023-02-24 04:45:23 +00: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
Tomas Rezucha
2b5caf34b7 tinyusb: Do not access string descriptor array out of boundaries
The previous version of esp_tinyusb (v1.0.0) always assumed 8 string descriptors.
In case the user passed a smaller array of descriptors,
esp_tinyusb accessed memory outside of the array.
This is fixed esp_tinyusb v1.1.0 by 046cc4b02f
2023-02-23 11:16:37 +01: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
Fu Hanxi
0d97eeb7a5 Merge branch 'ci/dangerjs_success_log' into 'master'
dangerjs: add success log

See merge request espressif/esp-idf!22470
2023-02-23 15:53:11 +08:00
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
Fu Hanxi
5297dd2c10 Merge branch 'ci/schedule_pipeline_update_cache' into 'master'
ci: add more ways to trigger upload cache

Closes IDFCI-1594

See merge request espressif/esp-idf!22469
2023-02-23 14:32:43 +08:00
Fu Hanxi
481e221e69 Merge branch 'ci/set_manifest_root_path' into 'master'
ci: use IDF_PATH as the manifest root path

Closes RDT-272

See merge request espressif/esp-idf!22426
2023-02-23 14:02:08 +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
eede7295d1 docs: upate migration guides for deprecated type and header file in power management component 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
Wang Ning
aa892a18a3 Merge branch 'docs/fix_errors_in_esp32-c3-devkitm-1_pin_list' into 'master'
Docs/Fix Errors in ESP32-C3-DevKitM-1 Pin List

Closes DOC-4657

See merge request espressif/esp-idf!22460
2023-02-23 11:07:12 +08:00
Wang Ning
712e15e45c Docs/Fix Errors in ESP32-C3-DevKitM-1 Pin List 2023-02-23 11:07:11 +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
Alex Lisitsyn
229635de06 Merge branch 'feature/modbus_fix_parameter_include_order' into 'master'
modbus: fix common parameters include order

Closes IDFGH-9427

See merge request espressif/esp-idf!22436
2023-02-22 18:03:37 +08:00
Alex Lisitsyn
953edad1ab modbus: fix common parameters include order 2023-02-22 18:03:37 +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
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
Sumeet Singh
8e67344037 NimBLE/Host: Gatt Server Improvements 2023-02-22 12:00:54 +05:30
Chip Weinberger
c39be8bc76 [USB Serial/JTAG Driver] use time-limited blocking for TX 2023-02-22 14:28:08 +08:00
Rahul Tank
708e5f17cc Nimble:Added power control API usage demo in blecent app 2023-02-22 11:36:11 +05:30
Kevin Evans
22e7f02ba3 Nimble:Re-run ext adv after completion 2023-02-22 11:35:38 +05:30
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
Wang Zi Yan
262699683d docs: add CN GCC-12.2.0 migration guide 2023-02-22 05:33:03 +00:00
Alexey Lapshin
e4eca000f7 docs: add EN GCC-12.2.0 migration guide 2023-02-22 05:33:03 +00: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