C.S.M
e1149f018a
Merge branch 'contrib/github_pr_10811' into 'master'
...
i2c: I2c cmdnum fix (GitHub PR)
Closes IDFGH-9444
See merge request espressif/esp-idf!22473
2023-04-23 11:29:46 +08:00
zhiweijian
1d548ae1f2
Fixed battery profile wrong condition
2023-04-23 11:15:57 +08:00
Zhang Xiao Yan
2c24513d86
Merge branch 'docs/update_components_log_readme' into 'master'
...
add description related to thread safety to component/log/readme
See merge request espressif/esp-idf!23162
2023-04-23 11:11:25 +08:00
Zhang Xiao Yan
9ba5004dab
add description related to thread safety to component/log/readme
2023-04-23 11:11:24 +08:00
Darian
2fdba8ec19
Merge branch 'feature/freertos_add_create_task_with_caps' into 'master'
...
FreeRTOS: Add xTaskCreateWithCaps()
Closes IDFGH-9922
See merge request espressif/esp-idf!23191
2023-04-21 22:33:03 +08:00
KonstantinKondrashov
a622ac43eb
esp_system (C6 & H2): Enables BOOTLOADER_RESERVE_RTC_MEM feature for bootloader
...
This option reserves an area in RTC FAST memory for the following features:
- "Skip image validation when exiting deep sleep"
- "Reserve RTC FAST memory for custom purposes"
- "GPIO triggers factory reset"
2023-04-21 21:09:10 +08:00
Roland Dobai
1bf382a3e1
Merge branch 'monitor_win_color' into 'master'
...
bug(idf_monitor, hints): fix monitor colors on windows with hints
Closes IDF-5863
See merge request espressif/esp-idf!22070
2023-04-21 20:15:38 +08:00
Hanno
8f1cf01ec8
i2c: introduce chip specific cmd register number
...
Merges https://github.com/espressif/esp-idf/pull/10811
2023-04-21 19:22:53 +08:00
xieqinan
f4446d8819
openthread: fix the spi conflict between ot-spinel and ethernet
2023-04-21 19:12:47 +08:00
wanlei
15e8c04f7b
spi: change linker file let spi hal able to out from iram
2023-04-21 18:58:36 +08:00
wanlei
b519eed230
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-21 18:57:06 +08:00
Kapil Gupta
a189bdbc7d
Merge branch 'bugfix/init_wpsreg_in_APSTA_mode' into 'master'
...
esp_wifi:Enable wpsreg to initialize in APSTA mode
Closes WIFI-5436
See merge request espressif/esp-idf!23034
2023-04-21 17:15:00 +08:00
radek.tandler
13a305656d
host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash
2023-04-21 10:45:17 +02:00
radek.tandler
0078025d7b
fatfs: host test migrated to CMake and esp_partition emulation for linux
2023-04-21 10:45:07 +02:00
Song Ruo Jing
fcc6514dde
ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function
2023-04-21 16:40:54 +08:00
Song Ruo Jing
64aec54308
ledc: Add timer selection check to the driver, and leave space for future clk tree management
2023-04-21 16:40:54 +08:00
Darian Leung
948010dc0b
freertos: Add task creation with caps functions
...
This commit adds the corresponding CreateWithCaps functions for tasks:
- xTaskCreatePinnedToCoreWithCaps()
- xTaskCreateWithCaps()
- vTaskDeleteWithCaps()
Documentation and migraiton guide have been updated accordingly.
Closes https://github.com/espressif/esp-idf/issues/11216
2023-04-21 15:43:08 +08:00
C.S.M
a97d480f1f
Merge branch 'bugfix/bod_intr' into 'master'
...
brownout: Disable the hardware BOD reset when BOD interrupt is enabled
Closes IDF-7234
See merge request espressif/esp-idf!23192
2023-04-21 14:44:29 +08:00
Darian
836755679e
Merge branch 'feature/bt_uses_creationg_with_caps_functions' into 'master'
...
BT: Remove "create static" calls from OSI
See merge request espressif/esp-idf!23187
2023-04-21 12:39:10 +08:00
Zhi Wei Jian
a2b2cdadf8
Merge branch 'bugfix/fix_disable_controller_50_feature' into 'master'
...
Disable controller 5.0 feature bits if host 5.0 feature is not enabled on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!23307
2023-04-21 12:11:11 +08:00
Zhi Wei Jian
89bf31f458
Merge branch 'bugfix/fix_disconnect_due_to_consecutive_crc_error_in_first_6_intervals' into 'master'
...
Fixed disconnection due to consecutive CRC errors in first 6 intervals on ESP32
Closes CBLE50Y23-4
See merge request espressif/esp-idf!23207
2023-04-21 12:01:14 +08:00
zhangwenxu
1a73ff1db1
openthread: fix platform udp send rules for OT netif
2023-04-21 10:52:02 +08:00
Cao Sen Miao
a3d962d89a
brownout: Disable the hardware BOD when BOD interrupt is enabled
2023-04-21 10:22:59 +08:00
Ivan Grokhotkov
2a28061eaa
Merge branch 'contrib/github_pr_11117' into 'master'
...
test_nvs_host: fix asan reported bugs (GitHub PR)
Closes IDFGH-9860
See merge request espressif/esp-idf!23172
2023-04-20 22:37:42 +08:00
Kevin (Lao Kaiyao)
4fd62bce13
Merge branch 'refacor/remove_esp32h4_target_stage1' into 'master'
...
esp32h4: remove esp32h4 target (stage 1)
See merge request espressif/esp-idf!23237
2023-04-20 20:29:58 +08:00
David Čermák
e888bb0cf8
Merge branch 'bugfix/esp_netif_recieve_returns' into 'master'
...
esp_netif: Report error if esp_netif_receive() fails
Closes IDFGH-9398
See merge request espressif/esp-idf!22936
2023-04-20 17:47:28 +08:00
Shreyas Sheth
5524aad43f
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-04-20 14:48:14 +05:30
Tomas Rezucha
197c888611
Merge branch 'fix/usb/host/pytests' into 'master'
...
usb_host: Use up-to-date syntax in pytest
See merge request espressif/esp-idf!23280
2023-04-20 16:45:09 +08:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
zhiweijian
f10de13df7
Disable controller 5.0 feature bits if host 5.0 feature is not enabled
2023-04-20 14:55:35 +08:00
Island
2300982af9
Merge branch 'bugfix/esp32c6_conn_lost_packet' into 'master'
...
Ble: bugfix for packet loss issue during connection on ESP32C6
Closes BLEQABR23-63 and BLEQABR23-55
See merge request espressif/esp-idf!23223
2023-04-20 12:00:29 +08:00
morris
d2473d0662
Merge branch 'feature/esp_rom_update_cpu_freq' into 'master'
...
esp_rom: add common ROM API to update CPU tick rate
See merge request espressif/esp-idf!23266
2023-04-20 10:59:16 +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
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
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
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
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
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
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
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
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
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
WanqQixiang
3ac08425f2
openthread: Add check for lock acquire and release
2023-04-17 19:56:49 +08:00
zwl
c4ec33e7ef
Ble: bugfix for packet loss issue during connection on ESP32C6
2023-04-17 19:37:00 +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
Peter Dragun
bebd2cec4a
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-17 11:18:42 +02:00
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
Wan Lei
029b56dc1c
Merge branch 'ci/pytest_case_tester_script_fix' into 'master'
...
ci: pytest automation script increase timeout time
See merge request espressif/esp-idf!23201
2023-04-17 15:03:23 +08:00
Omar Chebib
3bc3f87209
Merge branch 'bugfix/i2c_timing_wrong' into 'master'
...
i2c: fix a bug in sda sample timing
Closes IDFGH-8295
See merge request espressif/esp-idf!23185
2023-04-17 15:00:42 +08:00
morris
b19a3e3e56
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
Laukik Hase
11d5550da3
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-04-17 10:49:06 +05:30
Laukik Hase
f6aadd1e39
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-04-17 10:42:04 +05:30
zwj
feb5edf8b0
improve scan performance when scan and sync coexist on ESP32-C3 and ESP32-S3
2023-04-17 12:27:08 +08:00
Armando (Dou Yiwen)
ef64e4e5b3
Merge branch 'feature/emmc_example' into 'master'
...
SDMMC Host: added an example to communicate with an eMMC chip
Closes IDF-7157, IDF-4739, and IDFGH-6901
See merge request espressif/esp-idf!21760
2023-04-17 11:53:55 +08:00
Marius Vikhammer
6acd082cc8
Merge branch 'docs/iram_sram_config' into 'master'
...
docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations
See merge request espressif/esp-idf!23158
2023-04-17 11:51:05 +08:00
laokaiyao
a143a85822
i2s: workaround for inacurate PLL frequency after switching
2023-04-17 03:15:55 +00:00
Zhi Wei Jian
bc216802c6
Merge branch 'bugfix/fix_bleqabr23_98' into 'master'
...
Bluedroid: fix GATTC cache address saving
Closes BLEQABR23-98 and BLEQABR23-34
See merge request espressif/esp-idf!22970
2023-04-17 10:54:31 +08:00
Zhi Wei Jian
e58e271230
Merge branch 'bugfix/fix_bleqabr23_137' into 'master'
...
Fixed non-connectable and non-scannable directed adv can't be scanned
See merge request espressif/esp-idf!23198
2023-04-17 10:52:11 +08:00
wanlei
ad1ba78129
sdio: test_sdio add unity sync signals
2023-04-17 10:51:46 +08:00
Jakob Hasse
999fa28187
pthread: removed IRAM code from pthread
...
* Currently, the underlying FreeRTOS API functions
used for the pthread implementation are not
ISR-safe, hence the removal of IRAM placement.
2023-04-17 10:19:33 +08:00
Mahavir Jain
225be9a6ce
Merge branch 'feature/esp_tls_add_getter_setter' into 'master'
...
esp-tls: Added getter/setter function for the conn_state.
Closes IDFGH-9514
See merge request espressif/esp-idf!23128
2023-04-16 22:15:28 +08:00
Almir Okato
4b910ffa68
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build
...
Missing esp_rom_sys.h header could cause declaration issues.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
2023-04-15 16:49:12 -03:00
Ondrej Kosta
34850de22b
Merge branch 'bugfix/eth_l2_test_switch' into 'master'
...
LAN8720 & IP101 L2 Test Fix
Closes IDFCI-1624 and IDFCI-1567
See merge request espressif/esp-idf!22907
2023-04-14 20:53:08 +08:00
Armando
920ecff168
sdmmc: in/out phase adapted to esp32 and esp32s3
2023-04-14 18:18:54 +08:00
Ivan Grokhotkov
e9badf51c7
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +08:00
Jakob Hasse
6991a92895
docs: added new C++ language standard
2023-04-14 17:57:01 +08:00
morris
c49c165bca
Merge branch 'bugfix/lcd_align_before_cache_write_back' into 'master'
...
manually align the color buffer before cache write back
See merge request espressif/esp-idf!23143
2023-04-14 16:36:19 +08:00
C.S.M
247cc7dd87
Merge branch 'feature/cache_32M_map' into 'master'
...
spi_flash: 32M bits address flash cache map
Closes IDF-7119 and IDF-4693
See merge request espressif/esp-idf!23021
2023-04-14 16:01:25 +08:00
chenjianhua
056ae5dd21
Update bt lib for ESP32-C3 and ESP32-S3
...
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-14 15:44:17 +08:00
Kevin (Lao Kaiyao)
d635fc0f32
Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2' into 'master'
...
i2s: fixed tdm multi dev test on h2
See merge request espressif/esp-idf!23054
2023-04-14 15:02:31 +08:00
Wu Zheng Hui
98849634b3
Merge branch 'bugfix/fix_wrong_frame_ptr_after_wake_restore' into 'master'
...
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore
See merge request espressif/esp-idf!23113
2023-04-14 13:22:24 +08:00
Mahavir Jain
6da2eb97fa
Merge branch 'contrib/github_pr_11116' into 'master'
...
nvs_host_test: replace sprintf with snprintf (GitHub PR)
Closes IDFGH-9781
See merge request espressif/esp-idf!23173
2023-04-14 11:56:29 +08:00
Cao Sen Miao
c7053641bc
spi_flash: 32M bits address flash map, (for customer use only)
2023-04-14 11:37:09 +08:00
Aditya Patwardhan
2dd280f126
esp-tls: Added getter/setter function for the conn_state.
...
* Added the setter function to set the connection sockfd value
Closes https://github.com/espressif/esp-idf/issues/10871
2023-04-13 20:03:50 +05:30
Ivan Grokhotkov
fee3082d88
vfs: VFS_MAX_COUNT should be non-zero even without IO support
2023-04-13 15:37:37 +02:00
Jiang Jiang Jian
7da760dbd3
Merge branch 'bugfix/install_keys_after_successful_4_of_4_tx' into 'master'
...
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
Closes WIFI-5678
See merge request espressif/esp-idf!23141
2023-04-13 19:02:20 +08:00
Sonika Rathi
248dadc8c8
Merge branch 'docs/descrive-approach-fatfstools' into 'master'
...
docs: Describe the approach of fatfsgen.py and fatfsparse.py
Closes IDF-4755
See merge request espressif/esp-idf!19978
2023-04-13 18:48:51 +08:00
Ondrej Kosta
6ed31a98bd
Merge branch 'bugfix/eth_driver_cleanup' into 'master'
...
Ethernet driver and documentation clean-up
Closes IDF-6339
See merge request espressif/esp-idf!23051
2023-04-13 15:07:43 +08:00
Darian Leung
a5b04de565
bt: Remove FreeRTOS static allocation from OSI functions
...
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b
onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.
Thus, the extra "create static" calls can be removed to simply the code.
2023-04-13 15:06:21 +08:00
Guillaume Souchere
48932ce910
Merge branch 'feature/heap-in-flash' into 'master'
...
heap: Add a configuration that places all the heap component in flash
Closes IDF-7143 and IDF-2853
See merge request espressif/esp-idf!23050
2023-04-13 14:38:15 +08:00
Omar Chebib
a0f8434f93
i2c: fix a bug in sda sample timing
...
* Closes https://github.com/espressif/esp-idf/issues/9777
This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-04-13 14:37:44 +08:00
Ondrej Kosta
f6715c9c29
esp_eth pytest: increased robustness of the L2 test
...
Added filtering frames based on MAC address
2023-04-13 08:26:45 +02:00
Radek Tandler
d8b8ab5d43
Merge branch 'feature/wl_host_test_cmake' into 'master'
...
Storage: Migrate WL host test to CMake
See merge request espressif/esp-idf!23015
2023-04-13 13:16:57 +08:00
Marius Vikhammer
dcb8b719d3
docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations
2023-04-13 10:45:38 +08:00
Jiang Jiang Jian
f5b12684c1
Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate' into 'master'
...
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
Closes BLEQABR23-136
See merge request espressif/esp-idf!23112
2023-04-13 10:22:07 +08:00
Shreyas Sheth
dce0920329
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
2023-04-12 18:32:24 +05:30
Adam Múdry
6055674980
Merge branch 'contrib/github_pr_10532' into 'master'
...
[SDMMC Mount] fix infinite loop when SD card is not responsive (GitHub PR)
Closes IDFGH-9132, IDFGH-9131, and IDFGH-582
See merge request espressif/esp-idf!22081
2023-04-12 19:43:12 +08:00
Darian
4004dff52e
Merge branch 'feature/freertos_get_static_buffers' into 'master'
...
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions
Closes IDF-5664
See merge request espressif/esp-idf!22859
2023-04-12 18:37:03 +08:00
Ivan Grokhotkov
9924d9f271
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
8e85fc8571
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
4a91ccf4ce
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-04-12 11:08:43 +02:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3
2023-04-12 11:08:42 +02:00
Ivan Grokhotkov
80c9ef7b89
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
...
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-04-12 11:07:56 +02:00
Ivan Grokhotkov
141b7356fb
console: minor fixes
...
- wrong comment
- duplicated setvbuf
2023-04-12 11:07:55 +02:00
morris
ab2c7c48af
spi_lcd: test spi lcd io can transfer color data to a fixed window region
...
also test the io tx_param and tx_color can skip the command phase
2023-04-12 16:56:47 +08:00
morris
640ec57014
spi_lcd: maximum transfer size should respect bus configuration
...
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-12 16:55:09 +08:00
Island
cc7517dffa
Merge branch 'bugfix/ble_mesh_fix_heartbeat_set' into 'master'
...
ble_mesh: stack: Update the heartbeat filter entry add/remove handling
See merge request espressif/esp-idf!23047
2023-04-12 14:36:03 +08:00
Guillaume Souchere
110aac240d
heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
...
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-12 08:11:24 +02:00
Anton Maklakov
a1584750c8
Merge branch 'fix/heap-test-h2' into 'master'
...
heap: remove exclusion of esp32h2 as a target for heap pytest
Closes IDF-6880
See merge request espressif/esp-idf!23075
2023-04-12 13:43:29 +08:00
Darian Leung
fa4491a56b
freertos: Add unit tests for ...WithCaps() functions
2023-04-12 12:00:53 +08:00
Darian Leung
4e7cd2e706
freertos: Add wrapper functions to create objects with capabilities
...
This commit adds various ...WithCaps() functions to create FreeRTOS objects
with specific memory capabilities.
2023-04-12 12:00:53 +08:00
Darian Leung
478e041ce5
freertos: Add GetStaticBuffer functions
...
This commit adds the various ...GetStaticBuffer() functions from upstream
FreeRTOS. See https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/641 for more
details.
2023-04-12 11:45:06 +08:00
Darian Leung
902d8f392d
freertos: Fix idf_additions.h include order error
...
When building for CONFIG_FREERTOS_SMP, "idf_additions.h" was previously
implicitly included by "task.h" so that other ESP-IDF components still have
access to IDF API additions without needing to include "idf_additions.h"
directly.
However, some FreeRTOS headers (e.g., queue.h) will include task.h before
declaring any types (e.g., QueueHandle_t). Thus if any of those types are used
in idf_additions.h, we get a missing type error.
This commit moves the implicity include of idf_additions.h to FreeRTOS.h
2023-04-12 11:45:06 +08:00
chenjianhua
c8a380500a
bluedroid: report disconnect event after BLE link closed
2023-04-12 11:13:15 +08:00
Jiang Jiang Jian
2ea60e3dd1
Merge branch 'bugfix/nan_issues' into 'master'
...
Fix some NAN Discovery related issues
Closes WIFI-5661, WIFI-5669, WIFI-5667, and WIFI-5363
See merge request espressif/esp-idf!23116
2023-04-12 10:29:15 +08:00
Rocha Euripedes
c8ca1a23d3
Merge branch 'ci/tcp_transport_test_app' into 'master'
...
ci: Migrate unit test for tcp_transport to unit test app
Closes IDF-5603
See merge request espressif/esp-idf!22842
2023-04-12 02:31:40 +08:00
radek.tandler
0402874d3c
host_test: wl migrated to Cmake and linux emulation of esp_partition
...
- build system changed to CMake
- host tests changed to use partition api on linux instead of mocked code
- extended wl flash host tests to cover power off recovery code
2023-04-11 16:16:53 +02:00
radek.tandler
0f842a2ca2
wear_levelling: fixed reinitialization of wl status blocks after power off event
2023-04-11 16:05:22 +02:00
zwj
00501c5b14
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-04-11 20:44:00 +08:00
Jiang Jiang Jian
4e3a32bc1b
Merge branch 'bugfix/bod_glitch_reset_c6' into 'master'
...
bootloader: fix BOD and glitch reset on C6 and H2
Closes IDF-5990
See merge request espressif/esp-idf!22616
2023-04-11 19:31:02 +08:00
Adam Múdry
381d0fe032
sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
...
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-11 11:06:56 +00:00
Chip Weinberger
74d6215b7f
[SDMMC] add reasonable timeouts to all while loops
...
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00