Commit Graph

29470 Commits

Author SHA1 Message Date
Jakob Hasse
d82eb6942c Merge branch 'contrib/github_pr_11025' into 'master'
Enable support for C++23 in esp-idf (GitHub PR)

Closes IDFGH-9684

See merge request espressif/esp-idf!23144
2023-04-19 15:53:46 +08:00
Jakob Hasse
852c60fee0 Merge branch 'refactor/pthread_iram' into 'master'
pthread: removed IRAM code from pthread

Closes IDF-7147

See merge request espressif/esp-idf!23213
2023-04-19 15:31:19 +08:00
morris
cae3ef45e1 Merge branch 'contrib/github_pr_10950' into 'master'
esp_system: Add reset reasons for USB_UART and USB_JTAG (GitHub PR)

Closes IDFGH-9601

See merge request espressif/esp-idf!22675
2023-04-19 15:30:01 +08:00
Darian
0bb3342491 Merge branch 'refactor/xtensa_move_common_source_files' into 'master'
Xtensa: Separate files according to Xtensa RTOS porting layer

See merge request espressif/esp-idf!21672
2023-04-19 15:15:21 +08:00
Tomas Sebestik
129defda84 Merge branch 'dangerjs/cache_npm' into 'master'
ci(danger): Add DangerJS npm modules cache

See merge request espressif/esp-idf!23189
2023-04-19 15:13:57 +08:00
Jiang Jiang Jian
5a603a6612 Merge branch 'bugfix/improve_scan_performance_when_scan_and_sync_coexist' into 'master'
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3

Closes CBLE50Y23-5, BLEQABR23-57, and BT-3094

See merge request espressif/esp-idf!23211
2023-04-19 13:52:55 +08:00
Mo Fei Fei
b18f390ed9 Merge branch 'docs/update_cn_trans_api_guides' into 'master'
Docs: update CN translation for esp_http_client.rst, external-ram.rst, bootloader.rst

Closes DOC-4934

See merge request espressif/esp-idf!23136
2023-04-19 10:37:49 +08:00
Mo Fei Fei
0d2549a4f1 Docs: update CN translation for esp_http_client.rst, external-ram.rst, bootloader.rst 2023-04-19 10:37:49 +08:00
Xie Qi Nan
df9310ada2 Merge branch 'bugfix/eth-start-spi-initialize-failure' into 'master'
comm_components: eth_start initializes spi bus with SPI_DMA_CH_AUTO

See merge request espressif/esp-idf!23041
2023-04-19 10:16:35 +08:00
Nebojsa Cvetkovic
67e9db7cf5 esp_system: Add reset reasons for USB_UART and USB_JTAG
Merges https://github.com/espressif/esp-idf/pull/10950
2023-04-19 10:09:19 +08:00
Ivan Grokhotkov
690aa433a2 Merge branch 'contrib/github_pr_10987' into 'master'
Allow to config the maximum number of VFS entries. (GitHub PR)

Closes IDFGH-9641

See merge request espressif/esp-idf!23171
2023-04-19 04:52:50 +08:00
Ivan Grokhotkov
9adafb0f26 Merge branch 'feature/newlib_fsync_without_vfs' into 'master'
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0

See merge request espressif/esp-idf!21390
2023-04-19 02:47:53 +08:00
Darian
f93bb3a63c Merge branch 'contrib/github_pr_11113' into 'master'
Fix usb enumeration stage error for some device (GitHub PR)

Closes IDFGH-9778

See merge request espressif/esp-idf!23233
2023-04-19 02:19:26 +08:00
Jiang Jiang Jian
c8983219b9 Merge branch 'feature/esp32c6_espnow_support_11ax_rate' into 'master'
esp_wifi: espnow support using 11ax rate to send frame

See merge request espressif/esp-idf!22754
2023-04-19 02:05:14 +08:00
Wang Zi Yan
0e905b05c0 Merge branch 'docs/update_out_of_sync_api-reference_docs' into 'master'
docs: update out-of-sync api reference docs

Closes DOC-4942

See merge request espressif/esp-idf!23132
2023-04-18 22:55:09 +08:00
Aditya Patwardhan
823322f988 Merge branch 'feature/update_mbedtls_v3.4.0' into 'master'
mbedtls: Update to release/v3.4.0

Closes IDF-7158

See merge request espressif/esp-idf!23058
2023-04-18 21:29:28 +08:00
Roland Dobai
a05b306782 Merge branch 'esptool_extra' into 'master'
feat(esptool): allow to force flash chip

Closes IDF-6838 and IDF-5381

See merge request espressif/esp-idf!23097
2023-04-18 19:35:32 +08:00
xuxiao
0848938868 esp_wifi: espnow support using 11ax rate to send frame 2023-04-18 18:06:52 +08:00
Xu Xiao
ddb57be1bc Merge branch 'bugfix/store_softap_nvs_authmode_wpa3' into 'master'
esp_wifi: Bugfix softAP store wpa3 sae authmode in nvs

Closes WIFI-5749

See merge request espressif/esp-idf!23203
2023-04-18 17:56:31 +08:00
Ivan Grokhotkov
35ea136d5a
newlib: implement fsync for the case of CONFIG_VFS_SUPPORT_IO=0
This feature allows calling fsync even if the vfs component is not
used.
The second part of the commit adds an fsync call in the panic test app
enabling it to be used over usb-serial-jtag.
2023-04-18 11:19:36 +02:00
Martin Vychodil
81d814b42f Merge branch 'bugfix/fatfs_open_O_CREAT_fails' into 'master'
fatfs: fix "open("xx",O_CREAT|O_WRONLY,0666)" call failure

See merge request espressif/esp-idf!23045
2023-04-18 16:33:00 +08:00
Ivan Grokhotkov
274fa56e71 Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
system: support USB_OTG CDC console on ESP32-S3

Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835

See merge request espressif/esp-idf!19312
2023-04-18 16:28:49 +08:00
Armando (Dou Yiwen)
4adef05163 Merge branch 'test/temporarily_removed_emmc_esp32_ut' into 'master'
emmc: temporarily removed esp32 emmc ut_017

See merge request espressif/esp-idf!23244
2023-04-18 16:18:07 +08:00
Wang Zi Yan
d7cdcfb76b docs: update out-of-sync api reference docs 2023-04-18 08:00:39 +00:00
Darian Leung
9509c14510 build: Add --longcalls option to clang builds of xtensa targets
This commit adds the --longcalls option to UNIQ_CMAKE_ASM_FLAGS for clang
builds of xtensa targets to prevent "dangerous relocation" errors.
2023-04-18 15:51:38 +08:00
Darian Leung
6587e75251 xtensa: Add bare metal port stub functions for G0 build test
This commit adds "bare metal stubs" xtensa_rtos.h glue layer to mimic a bare
metal OS port. The bare metal stubs don't access any components outside of the
G0 group.
2023-04-18 15:51:38 +08:00
Darian Leung
5fde889a3d xtensa: Remove OS agnostic files from Amazon SMP FreeRTOS port
The previous commit moved the OS agnostic files from the IDF FreeRTOS port to
the xtensa component, thus can be accessed by both IDF and Amazon SMP FreeRTOS.

This commit removes the redudant copies in the Amazon SMP FreeRTOS port.
2023-04-18 15:51:38 +08:00
Darian Leung
b2c074bb70 xtensa: Move Xtensa RTOS porting layer files to xtensa component
When porting an RTOS to the Xtensa architecture, there are a few files that
are common to all Xtensa RTOS ports. These files form the Xtensa RTOS porting
layer (e.g., "xtensa_vectors.S", "xtensa_context.S"). An Xtensa RTOS port is
expected to provide an RTOS specific "xtensa_rtos.h" header to interface with
the Xtensa RTOS porting layer.

Previously, the Xtensa RTOS porting layer files were placed in the FreeRTOS
component. This commit does the following:

1. Moves the Xtensa RTOS porting layer files from the `freertos` component to
the `xtensa` component. The following files were moved:

    - xtensa_asm_utils.h
    - xtensa_context.S
    - xtensa_loadstore_handler.S
    - xtensa_vectors.S

2. Refactored xtensa component include paths to separate Xtensa RTOS porting
layer headers.

- Xtensa HAL headers included via `#include <xtensa/...h>`
- Xtensa RTOS porting layer headers included via `#include <...h>`

Note: The xtensa files in the Amazon SMP FreeRTOS port are not moved/deleted in
this commit to ensure the moved files retain a clean diff history.
2023-04-18 15:28:05 +08:00
Shu Chen
e033d34baa Merge branch 'openthread/add_lock_check' into 'master'
openthread: Add check for lock acquire and release

See merge request espressif/esp-idf!23204
2023-04-18 15:17:38 +08:00
Zim Kalinowski
05cbd19f25 Merge branch 'feature/pthread_rwlock_try_functions' into 'master'
pthread: added pthread_rwlock_tryrd/rwlock()

Closes IDFGH-7685

See merge request espressif/esp-idf!23228
2023-04-18 14:43:54 +08:00
Zhang Xiao Yan
d98d168cd2 Merge branch 'docs/fix_typo_in_api-reference_system_ota' into 'master'
fix a typo in api-reference/system/ota

See merge request espressif/esp-idf!23212
2023-04-18 14:01:42 +08:00
Sonika Rathi
b31b68fc68 bugfix: fix for fatfs "open("xx",O_CREAT|O_WRONLY,0666)" call failure
fatfs 'open' with only O_CREAT flag fails to creat new file

Closes https://github.com/espressif/esp-idf/issues/1817
2023-04-18 09:57:44 +05:30
Song Ruo Jing
9cfc9757b9 Merge branch 'bugfix/allow_no_specify_uart_clk_src' into 'master'
uart: Allow omitting source_clk parameter to uart_param_config

Closes IDF-6951

See merge request espressif/esp-idf!23208
2023-04-18 11:34:11 +08:00
Armando
2225087756 emmc: temporarily removed esp32 emmc ut_017 2023-04-18 10:11:36 +08:00
Zim Kalinowski
a4cf0e24ac Merge branch 'feature/s2_ulp_riscv_adc' into 'master'
ulp-riscv: enable ULP-RISCV ADC example for esp32s2

Closes IDFGH-9716 and IDFGH-9700

See merge request espressif/esp-idf!23137
2023-04-18 02:31:35 +08:00
Mahavir Jain
6773ad6431 Merge branch 'fix/esp32s3_ununsed_dcache_as_dram' into 'master'
esp_hw_support: Update the memory ptr location/property checks to include the unused DCACHE added to DRAM

Closes IDF-7103

See merge request espressif/esp-idf!22904
2023-04-18 02:16:30 +08:00
morris
90c2786803 Merge branch 'bugfix/rmt_encode_state_init' into 'master'
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t

Closes IDFGH-9881 and IDFGH-9882

See merge request espressif/esp-idf!23222
2023-04-17 21:22:20 +08:00
xieqinan
745780cdc4 comm_components: eth_start initializes spi bus with SPI_DMA_CH_AUTO
Close https://github.com/espressif/esp-idf/issues/11083
2023-04-17 12:02:05 +00:00
WanqQixiang
3ac08425f2 openthread: Add check for lock acquire and release 2023-04-17 19:56:49 +08:00
Peter Dragun
faa82b060c feat(esptool): allow to set force for write_flash 2023-04-17 12:53:01 +02:00
Shreyas Sheth
1a0633646e esp_wifi: Bugfix store authmode security in NVS 2023-04-17 15:16:21 +05:30
Darian Leung
525de5bd21 usb_host: Update docs and comments regarding first configuration enumeration
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113.
2023-04-17 17:06:54 +08:00
Kevin (Lao Kaiyao)
96f2d215a2 Merge branch 'bugfix/i2s_output_wrong_freq_after_switch' into 'master'
i2s: workaround for inaccurate PLL frequency after switching

Closes IDF-6705 and IDFCI-1669

See merge request espressif/esp-idf!22975
2023-04-17 16:26:18 +08:00
Jakob Hasse
e7312cccea pthread: added pthread_rwlock_tryrd/wrlock()
Closes https://github.com/espressif/esp-idf/issues/9229
2023-04-17 16:16:11 +08:00
morris
2a5ee5c3e2 Merge branch 'bugfix/spi_lcd_max_trans_size' into 'master'
spi_lcd: maximum transfer size should respect bus configuration

Closes IDF-6901 and IDF-4829

See merge request espressif/esp-idf!23149
2023-04-17 16:13:57 +08:00
Song Ruo Jing
3f2bed1f5c uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config 2023-04-17 15:43:06 +08:00
harshal.patil
c403affd98 mbedtls: fix ci failures for update v3.4.0
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-17 12:55:04 +05:30
harshal.patil
9c3a6c4f53 mbedtls: replace low-level sha apis with md apis in esp_ssl_tls 2023-04-17 12:50:15 +05:30
harshal.patil
f30b58f665 mbedtls: Update config options as per release/v3.4.0
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-17 12:50:15 +05:30
harshal.patil
002a451bf8 mbedtls: Update to release/v3.4.0
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-17 12:50:15 +05:30