Commit Graph

25215 Commits

Author SHA1 Message Date
Guillaume Souchere
3f366d6e8b feat(heap-trace): Add a pause state to the heap tracing
This commit adds a feature to pause the heap tracing in the
sense that in this state, the heap tracing will no longer
record the new allocations but will continue to monitor
the free() in order to keep track of the status of the
allocations present in the list of records.

See https://github.com/espressif/esp-idf/issues/13803
2024-05-21 10:59:01 +02:00
Guillaume Souchere
d5e4f419f3 change(heap): Remove todo of closed ticket in memory_layout.c files
Leftover closed ticket removed from memory_layout.c on
the following targets:
- esp32c5
- esp32c6
- esp32h2
2024-05-21 10:40:22 +02:00
Guillaume Souchere
32559d51d6 change(heap): Update soc_memory_regions on esp32c5
The array of memory regions is simplyfied by using the
macro defined in soc.h (for beta3 and mp respectively).
2024-05-21 10:40:22 +02:00
Guillaume Souchere
78f4474416 fix(soc): Fix ROM stack start for esp32c5-mp
Update the value SOC_ROM_STACK_START to the expected
value from bootloader.ld memory map.
2024-05-21 10:40:22 +02:00
C.S.M
9b3bd13a13 feat(brownout): Add brownout detector support on esp32p4 2024-05-21 15:03:28 +08:00
laokaiyao
e4224be406 fix(soc): fix the pms reg headers base addr 2024-05-21 14:36:47 +08:00
morris
4db2236626 Merge branch 'feat/axi_icm_qos' into 'master'
feat(axi_icm): AXI interconnect QoS

See merge request espressif/esp-idf!30894
2024-05-21 14:35:56 +08:00
liuning
68fe185371 feat(wifi): support coex pwr 2024-05-21 14:14:30 +08:00
Rahul Tank
7e2534d533 Merge branch 'feat/enhanced_att' into 'master'
feat(nimble): Added support for Enhanced ATT

Closes BT-3065

See merge request espressif/esp-idf!30422
2024-05-21 14:11:13 +08:00
morris
7c8095a07f feat(axi_icm): AXI interconnect QoS configuration functions 2024-05-21 14:07:01 +08:00
Marius Vikhammer
793e6ba848 Merge branch 'bugfix/linux_target_miss_header' into 'master'
fix(efuse): fix compile failure on linux target

See merge request espressif/esp-idf!30967
2024-05-21 12:05:36 +08:00
Island
bad4c4e1d4 Merge branch 'bugfix/fixed_issues_on_esp32c6_and_esp32h2' into 'master'
fixed some ble issues on esp32c6 and esp32h2

Closes BLERP-673, BLERP-676, BLERP-667, BLERP-691, BLERP-688, BLERP-687, BLERP-713, and BLERP-747

See merge request espressif/esp-idf!30890
2024-05-21 11:52:22 +08:00
Lou Tian Hao
4121274449 Merge branch 'fix/core1_access_cache_when_core0_close_cache_during_sleep' into 'master'
fix(esp_system): fix core1 access cache when core0 close cache during sleep

See merge request espressif/esp-idf!30941
2024-05-21 10:52:18 +08:00
Marius Vikhammer
5bdde4c994 fix(efuse): fix compile failure on linux target 2024-05-21 10:45:54 +08:00
Jiang Jiang Jian
a7721235e1 Merge branch 'bugfix/esp32c6eco1_coex_ble_deinit_wifi_bcn_timeout' into 'master'
fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop

Closes PM-115

See merge request espressif/esp-idf!30868
2024-05-21 10:45:50 +08:00
Wang Tao
d206536524 Merge branch 'feature/add_softap_dtim_and_csa_count_and_ignore_erro_nodata' into 'master'
feat(wifi):add softap csa count dtim count config

Closes IDFGH-11163

See merge request espressif/esp-idf!29755
2024-05-21 10:23:27 +08:00
Martin Vychodil
b24a6af0b7 Merge branch 'refactor/partition_private_includes' into 'master'
refactor(esp_partition): Made private includes private on Linux

See merge request espressif/esp-idf!29747
2024-05-21 04:02:14 +08:00
Suren Gabrielyan
8384b2c76f fix(ws_transport): utility functions minor improvments 2024-05-20 16:26:40 +04:00
Richard Allen
10a2c2ccc9 fix(ws_transport): fixed server-key corruption
When first fragment is sent over HTTP during websocket
connection, defer buffering of fragment until after the
websocket server-key is validated.

This order is required because the first fragment buffering
overwrites the memory holding the server-key headers.

Fixes 2267d4b
Fixes https://github.com/espressif/esp-protocols/issues/396
PR https://github.com/espressif/esp-idf/pull/13724
2024-05-20 16:25:53 +04:00
Mahavir Jain
665beae23f Merge branch 'feature/update_cjson_version_to_1.7.18' into 'master'
feat(cjson): update submodule to v1.7.18

Closes IDF-9952

See merge request espressif/esp-idf!30886
2024-05-20 18:13:05 +08:00
Lou Tianhao
df8fd000d4 fix(esp_system): fix core1 access cache when core0 close cache during sleep 2024-05-20 14:49:49 +08:00
Jiang Jiang Jian
375a4b878e Merge branch 'fix/fix_cpu_retention_build_error' into 'master'
fix(esp_hw_support): fix hw CPU retention chips build error if not powerdown CPU in sleep

See merge request espressif/esp-idf!30930
2024-05-20 14:02:24 +08:00
wangtao@espressif.com
1dbf032995 feat(wifi): add softap csa&dtim&wait_bcast_data setting and ignore err nodata 2024-05-20 13:59:45 +08:00
Mahavir Jain
99e52bb480 Merge branch 'feature/enable_rsa_support_for_c5_mp' into 'master'
feat: enable RSA support for c5  mp version

Closes IDF-8620

See merge request espressif/esp-idf!30753
2024-05-20 12:17:26 +08:00
Wan Lei
da73e0f8a2 Merge branch 'fix/spi_sct_fix_descripter_oob_when_lager_then_4092' into 'master'
fix(spi_master): fix sct mode descripter oob when data lager then 4092 bytes

See merge request espressif/esp-idf!30545
2024-05-20 11:49:18 +08:00
Jiang Jiang Jian
8a50e61fd7 Merge branch 'feature/reason_for_ap_stadisconnected_event' into 'master'
esp_wifi: softAP: bugfix in  'WIFI_EVENT_AP_STADISCONNECTED' event and cleanup in softAP's disconnect_sta procedure

Closes WIFI-6044 and WIFIBUG-518

See merge request espressif/esp-idf!24238
2024-05-20 11:35:03 +08:00
wuzhenghui
cded21d50e
fix(esp_hw_support): fix hw CPU retention chips build error if not powerdown CPU in sleep 2024-05-20 11:04:06 +08:00
Omar Chebib
55acc5e5e7 feat(riscv): add support for PIE coprocessor and HWLP feature
FreeRTOS tasks may now freely use the PIE coprocessor and HWLP feature.
Just like the FPU, usiing these coprocessors result in the task being pinned
to the core it is currently running on.
2024-05-20 10:47:58 +08:00
Marius Vikhammer
8ac349524f Merge branch 'bugfix/lp_core_tests_race_condition' into 'master'
fix(lp_core_test): fixed race-condition in lp core tests

Closes IDFCI-2140

See merge request espressif/esp-idf!30834
2024-05-20 10:44:58 +08:00
Sarvesh Bodakhe
6f966dd0ee fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-05-19 00:52:59 +05:30
Kapil Gupta
b102277a12 Merge branch 'feat/add_itwt_teardown_status' into 'master'
feat(wifi): add itwt teardown status

See merge request espressif/esp-idf!30679
2024-05-19 02:37:11 +08:00
Aditya Patwardhan
2f689857b3 Merge branch 'fix/fix_flash_encryption_esp32p4' into 'master'
fix(bootloader_support): Fix flash encryption for esp32p4

See merge request espressif/esp-idf!30600
2024-05-17 23:48:28 +08:00
Gao Xu
082730a2c1 Merge branch 'feature/esp32c5_gpio_remove_iomux_reg' into 'master'
feat(gpio): remove io_mux_reg array and fix matrix const input addr

See merge request espressif/esp-idf!30904
2024-05-17 23:15:57 +08:00
Konstantin Kondrashov
66013ba675 feat(log): Refactoring timestamp APIs (move only) 2024-05-17 17:42:31 +03:00
Konstantin Kondrashov
712005c451 Merge branch 'feature/log_level_check_refactoring' into 'master'
feat(log): Refactoring tag level check APIs

Closes IDF-9083, IDF-7919, and IDFGH-6947

See merge request espressif/esp-idf!29331
2024-05-17 22:36:27 +08:00
Darian
2716976c72 Merge branch 'fix/freertos_scheduler_suspend_crit' into 'master'
fix(freertos/idf): Add missing critical sections to vTaskSuspendAll()

See merge request espressif/esp-idf!30829
2024-05-17 22:06:38 +08:00
Adam Múdry
7b32f27e81 Merge branch 'fix/nvs_tool_entry_unknown_type_crash' into 'master'
fix(nvs): Fix nvs_tool accepting an unknown entry type

See merge request espressif/esp-idf!30503
2024-05-17 21:05:22 +08:00
gaoxu
64c9cb43a9 feat(gpio): fix gpio matrix const input addr on C5 MP 2024-05-17 20:55:26 +08:00
gaoxu
5c27ccdae4 feat(gpio): remove io_mux_reg array in gpio_periph.c from c5 2024-05-17 20:55:25 +08:00
Adam Múdry
9eedd57a18 fix(nvs): Fix nvs_tool accepting an unknown entry type 2024-05-17 13:18:52 +02:00
xuxiao
266ee73e92 feat(wifi): add itwt teardown status 2024-05-17 18:16:34 +08:00
Alexey Lapshin
2b36636f6f fix(system): print warning if stray section is found while linking 2024-05-17 13:37:42 +04:00
nilesh.kale
92fdaea83a feat: enable RSA support for c5 mp version
This commit enables RSA peripheral support for ESP32-C5 MP version.
2024-05-17 14:22:30 +05:30
Marius Vikhammer
62bb532701 docs(doxygen): fix misc issues with new version of doxygen 2024-05-17 16:12:56 +08:00
WanqQixiang
1595388a7e fix(esp_netif): Fix mldv6 report memory leak in esp_netif 2024-05-17 15:53:55 +08:00
Sumeet Singh
f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
Hong Shu Qing
1a6060fa3a Merge branch 'feature/esp32c6_pu8m_in_sleep_support' into 'master'
feat(sleep): support 8m force pu in sleep for esp32c6 & esp32h2

See merge request espressif/esp-idf!30532
2024-05-17 11:34:47 +08:00
C.S.M
5bae2987ee Merge branch 'feature/i2c_multi_write' into 'master'
feature(i2c): Add feature for writting multi buffer

Closes IDFGH-12639

See merge request espressif/esp-idf!30697
2024-05-17 09:54:59 +08:00
Jakob Hasse
562c89993e feat(linux): esp_app_format now works on Linux 2024-05-16 17:01:02 +02:00
chaijie@espressif.com
36bbb64992 feat(sleep): support 8m force pu in sleep for esp32c6/esp32h2 2024-05-16 21:15:05 +08:00
yinqingzhao
694dbd6843 fix(wifi):esp32c6 wifi rx statistics is always zero 2024-05-16 19:20:59 +08:00
C.S.M
133bda4966 test(i2c_master): makeup a write-large read-small test for known reason 2024-05-16 19:14:59 +08:00
C.S.M
2e591cf3f7 test(i2c_master): Add test for transmit multi buffer in one transaction 2024-05-16 19:14:59 +08:00
C.S.M
af1524e7bb feat(i2c_master): Add feature for transmit multi buffer in one transaction,
Closes https://github.com/espressif/esp-idf/pull/13635
2024-05-16 19:14:59 +08:00
nilesh.kale
5348f1656f feat(cjson): update submodule to v1.7.18
Changelog: https://github.com/DaveGamble/cJSON/releases/tag/v1.7.18
2024-05-16 16:16:24 +05:30
zwl
8f3c069c3c ble: fixed some issues on ESP32C6 and ESP32H2 2024-05-16 17:28:58 +08:00
Jiang Jiang Jian
c96d5da7bd Merge branch 'bugfix/fix_bss_color_issues' into 'master'
fix(bss_color):fix bss color issues

Closes WIFIBUG-537, FCW-2, and WIFI6-352

See merge request espressif/esp-idf!30523
2024-05-16 17:23:51 +08:00
Liu Xiao Yu
23a68dacd6 Merge branch 'feature/console_add_sbom_file' into 'master'
feat(system/console): Added argtable3 SBOM manifest file for SPDX file generation for console component

Closes IDF-8228

See merge request espressif/esp-idf!30848
2024-05-16 16:47:22 +08:00
Harshal Patil
bb34d78bce Merge branch 'fix/aes_ext_mem_case_for_older_targets' into 'master'
fix(mbedtls/aes): Check location of the buffer only for SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT

Closes IDFCI-2153

See merge request espressif/esp-idf!30850
2024-05-16 15:10:28 +08:00
yinqingzhao
a484bdda11 fix(bss_color):fix bss color issues 2024-05-16 14:45:06 +08:00
Gao Xu
b893e3b982 Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
feat(gpio): fix ESP32P4 fspics0 in io mux reg

See merge request espressif/esp-idf!30846
2024-05-16 14:36:42 +08:00
Konstantin Kondrashov
c3b0418a4e feat(log): Refactoring tag level check APIs 2024-05-16 09:26:08 +03:00
Tomas Rohlinek
f375125e28 Merge branch 'feature/fatfs_ff_strfunc_support' into 'master'
feat(storage/fatfs): add Kconfig settings for FF_USE_STRFUNC

Closes IDFGH-12317

See merge request espressif/esp-idf!30141
2024-05-16 14:20:23 +08:00
Konstantin Kondrashov
374f497bf6 Merge branch 'feature/efuse_support_linux' into 'master'
feat(efuse): Support Linux target

Closes IDF-9144

See merge request espressif/esp-idf!30343
2024-05-16 14:12:15 +08:00
Konstantin Kondrashov
28e592563c Merge branch 'feature/unuse_old_log_apis' into 'master'
feat(all): Remove usage old log macros

See merge request espressif/esp-idf!30598
2024-05-16 13:57:06 +08:00
Jiang Jiang Jian
a58e820a94 Merge branch 'bugfix/fix_esp32_cant_tx_after_tx_timeout' into 'master'
fix(wifi): fix esp32 unrecoverable m f issue

Closes WIFIBUG-449 and WIFIBUG-509

See merge request espressif/esp-idf!30856
2024-05-16 13:40:47 +08:00
harshal.patil
141cdac87e fix(mbedtls/aes): Check location of the buffer only for SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT
When buffer_needs_realloc in the AES driver, check the location of the buffer only in case
of SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT for allocating the newer buffer, otherwise use generic
DMA capable memory (as was done earlier)
2024-05-16 13:36:30 +08:00
Rahul Tank
57e8031e65 Merge branch 'feature/get_local_used_addr' into 'master'
feat(nimble): Added API to get local used address

See merge request espressif/esp-idf!30595
2024-05-16 12:14:38 +08:00
Xiaoyu Liu
d325d6ebbe feat(system/console): Added argtable3 SBOM manifest file in console component for SPDX file generation 2024-05-16 12:00:00 +08:00
liuning
68cb30a609 fix(wifi): fix esp32 unrecoverable m f issue 2024-05-16 11:58:33 +08:00
Jiang Jiang Jian
c76bc1cadf Merge branch 'bugfix/fix_sniffer_fcs_error_fail' into 'master'
fix(wifi): fixed sniffer dump fcs error packets fail

Closes IDFGH-9408 and IDFGH-12706

See merge request espressif/esp-idf!30128
2024-05-16 11:56:01 +08:00
Li Shuai
9de46dc084 fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop 2024-05-16 11:32:32 +08:00
morris
3b376b03df feat(pcnt): add driver support on esp32c5 2024-05-16 11:09:48 +08:00
Gao Xu
7d097ca98b Merge branch 'csi/add_no_backup_buffer_usage_verify' into 'master'
feat(csi): add verify to no backup buffer usage

See merge request espressif/esp-idf!30788
2024-05-16 10:33:33 +08:00
Michael (XIAO Xufeng)
7bff9f9d28 feat(esp32h2): add development support option for v1.0 chips 2024-05-16 02:23:52 +08:00
Darian Leung
25efe5525d
refactor(freertos/idf): Add critical section requirements to function description
This commit adds a note regarding the critical section calling requires of some
internal functions.
2024-05-15 23:39:28 +08:00
Darian Leung
88a0227dbe
fix(freertos/idf): Add missing critical sections to vTaskSuspendAll()
vTaskSuspendAll() requires critical sections when building for SMP. Otherwise,
it is possible for a task to switch cores in between getting the core ID and
before incremented uxSchedulerSuspended.
2024-05-15 23:29:28 +08:00
Rahul Tank
c516516a01 Merge branch 'doc/update_readme_enc_adv_kconfig' into 'master'
fix(nimble): Remove ESP IP dependancy on enc_adv_data example

See merge request espressif/esp-idf!30847
2024-05-15 22:50:17 +08:00
Konstantin Kondrashov
aed84fa818 feat(efuse): Support Linux target 2024-05-15 16:54:45 +03:00
Armando (Dou Yiwen)
0665d7511a Merge branch 'bugfix/fix_isp_input_data_type_limit' into 'master'
fix(isp): updated to only support input data type as raw8

See merge request espressif/esp-idf!30840
2024-05-15 18:46:41 +08:00
Rahul Tank
4d873e3c9f fix(nimble): Remove ESP IP dependancy on enc_adv_data example 2024-05-15 15:27:11 +05:30
gaoxu
37487f1c5e feat(gpio): fix the fspics0 in io mux reg 2024-05-15 17:34:25 +08:00
Shu Chen
83eaef8c25 Merge branch 'feature/add_check_for_154_frame' into 'master'
fix(802.15.4): fix a risk for receive_at and ignore bit8 for the frame length

Closes TZ-729

See merge request espressif/esp-idf!30835
2024-05-15 16:01:13 +08:00
Marius Vikhammer
bb380f92fd Merge branch 'bugfix/c5_isr_masking' into 'master'
fix(interrupt): fixed interrupt thresholds not working on C5

See merge request espressif/esp-idf!30818
2024-05-15 16:00:17 +08:00
Ondrej Kosta
a558e94952 fix(esp_eth): fixing memory leak and invalid bit shift 2024-05-15 09:27:37 +02:00
Konstantin Kondrashov
668886842f feat(all): Remove usage old log macros 2024-05-15 15:25:30 +08:00
Konstantin Kondrashov
09dc55fb78 Merge branch 'feature/set_correct_soc_caps' into 'master'
feat(soc): Update efuse related soc_caps for c61 and c5 (MP/beta3)

See merge request espressif/esp-idf!30708
2024-05-15 14:44:17 +08:00
Abhinav Kudnar
c1787c24bd feat(nimble): Added API to get local used address 2024-05-15 12:12:04 +05:30
Armando
f85e0cfdc3 fix(isp): updated to only support input data type as raw8 2024-05-15 14:32:15 +08:00
Rahul Tank
6b34b6c1fb Merge branch 'bugix/avoid_reset_extract_cb' into 'master'
fix(nimble): Avoid slave instance reset inside extract_cb

See merge request espressif/esp-idf!30420
2024-05-15 13:20:52 +08:00
Mahavir Jain
43908774fe Merge branch 'bugfix/refactor_data_variable_in_mpi_periph' into 'master'
fix(soc): Refactor variable names for MPI operations and block bases

Closes IDF-9508

See merge request espressif/esp-idf!30658
2024-05-15 12:02:51 +08:00
Mahavir Jain
c8d59db5a0 Merge branch 'feature/enable_ecc_support_for_c5_mp' into 'master'
feat: added ecc peripheral support for esp32c5 for mp version

Closes IDF-8625

See merge request espressif/esp-idf!30744
2024-05-15 12:01:41 +08:00
zhangyanjiao
8710a192c4 fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-05-15 11:48:29 +08:00
zwx
17eb2dcce3 fix(802.15.4): fix a risk for receive_at and ignore bit8 for the frame length 2024-05-15 11:08:47 +08:00
Marius Vikhammer
7a89223aed fix(lp_core_test): fixed race-condition in lp core tests 2024-05-15 10:50:23 +08:00
Marius Vikhammer
fc6a068a52 Merge branch 'fix/brownout_crash' into 'master'
fix(brownout): fixed brownout isr crashing if cache disabled

Closes IDF-9731

See merge request espressif/esp-idf!30746
2024-05-15 09:13:04 +08:00
Jiang Jiang Jian
4065dc56b9 Merge branch 'bugfix/nan_datapath_issues' into 'master'
Fix issues in NAN datapath establishment

Closes WIFIBUG-367

See merge request espressif/esp-idf!29065
2024-05-14 22:03:46 +08:00
Jiang Jiang Jian
ffae1dfb9d Merge branch 'doc/update_mesh_doc' into 'master'
docs(wifi): update the docmentation for mesh API

See merge request espressif/esp-idf!30238
2024-05-14 22:03:34 +08:00
Alexey Gerenkov
8b93323da6 Merge branch 'upgrade_clang_toolchain' into 'master'
Upgrade clang toolchain version to 'esp-17.0.1_20240419'

See merge request espressif/esp-idf!29811
2024-05-14 21:47:06 +08:00
Rahul Tank
fca1c0fa3b fix(nimble): Create separate API to only extract cb info 2024-05-14 17:15:49 +05:30