Commit Graph

29703 Commits

Author SHA1 Message Date
Zhang Xiao Yan
c151e1509f fix typos in ESP32 DevKitC V4 Getting Started Guide 2023-04-20 10:04:27 +08:00
Zim Kalinowski
5d0838506a Merge branch 'bugfix/adds_iram_attr_for_some_esp_timer_apis' into 'master'
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active

Closes IDFGH-9122 and IDFGH-9500

See merge request espressif/esp-idf!22566
2023-04-20 04:54:11 +08:00
Zim Kalinowski
db6ba5155c Merge branch 'feature/heap-trace-perf-improvment' into 'master'
heap: Allow for hashmap placement in external memory

Closes IDFGH-9845

See merge request espressif/esp-idf!23184
2023-04-20 04:37:52 +08:00
Jens Gutermuth
3ba70490c9 improve thread safety in esp_timer
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:

1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again

The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-04-19 16:59:43 +02:00
Ondrej Kosta
c231c79fc8 HAL: wrapped emac_ll functions to emac_hal
Closes #9934
2023-04-19 12:46:45 +00:00
Mahavir Jain
359da9ce63 Merge branch 'bugfix/efuse_hal_api_update' into 'master'
efuse: add efuse hal api

Closes IDF-7215

See merge request espressif/esp-idf!23217
2023-04-19 18:45:13 +08:00
KonstantinKondrashov
91fcced0fb esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-19 17:42:38 +08:00
Tomas Rezucha
f2f6278ba6 usb_host: Use up-to-date syntax in pytest 2023-04-19 11:06:25 +02:00
Suren Gabrielyan
36a5f898ba docs: migrated documentetation from github.io to docs.espressif.com 2023-04-19 12:33:40 +04:00
Saurabh Kumar Bansal
7cc59918bc usbd: add usb composite device example 2023-04-19 14:02:33 +05:30
Guillaume Souchere
6ce1ccd964 heap: Add trace configuration to allow hash map placement in external RAM bss section when possible
- Remove the size limit for the hash_map array from the CONFIG_HEAP_TRACE_HASH_MAP_SIZE
- Add test case for heap tracing using hashmap
- Update heap_debug.rst to document the newly added configurations in the heap component

Closes https://github.com/espressif/esp-idf/issues/11172
2023-04-19 10:30:59 +02:00
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
Tomas Sebestik
504c348d73 ci(danger): add OpenAI generated commit message 2023-04-19 09:37:11 +02: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
xiongweichao
5a80ea3bd9 Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
Closes https://github.com/espressif/esp-idf/issues/11170
2023-04-19 15:13:36 +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
morris
4123e611dc esp_rom: add common ROM API to update CPU tick rate 2023-04-19 13:21:26 +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
Aditya Patwardhan
1d3a8f2edd
docs/build-system: Update the documentation to add a note regarding
limitation of set_source_files_properties
2023-04-19 08:01:34 +05:30
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
zwj
9d9252acbc Fixed disconnection due to consecutive CRC errors in first 6 intervals 2023-04-18 20:36:04 +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
Sachin Billore
c3e701588e efuse: add efuse hal api
Closes IDF-7215
2023-04-18 13:47:00 +05:30
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
Ivan Grokhotkov
f64ac33554
nvs: fix string/blob comparison lengths in host tests 2023-04-18 08:02:38 +02: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