Commit Graph

23486 Commits

Author SHA1 Message Date
Wang Meng Yang
6aa64033bc Merge branch 'bugfix/no_wakeup_sleep_master' into 'master'
fix(ble): Fixed Bluetooth not waking up due to clock drift

Closes BTQABR2023-158 and BLERP-464

See merge request espressif/esp-idf!28376
2024-01-26 11:42:15 +08:00
Marius Vikhammer
e67f101c5c Merge branch 'bugfix/stack_prot_issue_p4' into 'master'
fix(system): fixed -fstack-protector issue on P4

See merge request espressif/esp-idf!28688
2024-01-26 10:44:26 +08:00
Marius Vikhammer
b5540cfda6 Merge branch 'bugfix/format_ulp_astyle' into 'master'
fix(ulp): enable astyle linter and format ULP component

See merge request espressif/esp-idf!28597
2024-01-26 10:22:18 +08:00
Shu Chen
e358506118 Merge branch 'support/openthread_radio_caps_rx_on_when_idle' into 'master'
feat(openthread): support openthread radio caps rx on when idle

See merge request espressif/esp-idf!28583
2024-01-26 08:09:15 +08:00
Erhan Kurubas
f1d5f97719 feat(coredump): use SHA ROM functions for all targets except ESP32
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-01-25 15:13:56 +01:00
SumeetSingh19
92d20f6708 feat(nimble): client presentation and aggregate format descriptor support 2024-01-25 18:34:55 +05:30
SumeetSingh19
0bd8301755 feat(nimble): signed write support 2024-01-25 18:34:55 +05:30
SumeetSingh19
7ad6df977e feat(nimble): additional AD types for advertisements 2024-01-25 18:34:55 +05:30
SumeetSingh19
7bda1db4f8 feat(nimble): authorization permission on gatt read and write 2024-01-25 18:34:55 +05:30
SumeetSingh19
2d71f64033 fix(nimble): allow auto connection and observer role 2024-01-25 18:34:55 +05:30
Shu Chen
aab24b0dd7 feat(ieee802154): make the receive done handler feature mandatory 2024-01-25 20:27:03 +08:00
zwl
2f7c122c51 Update ble lib to eb473dda on ESP32-C6 and ESP32-H2 2024-01-25 20:26:35 +08:00
Song Ruo Jing
cf93777077 refactor(rtc): move soc/rtc.h from soc to esp_hw_support component
Deprecated rtc_xtal_freq_t, replaced with soc_xtal_freq_t defined in
clk_tree_defs.h in soc component.
2024-01-25 19:15:33 +08:00
Jakob Hasse
65e4118893 docs(esp_system): Document limitations of esp_execute_shared_stack_function 2024-01-25 19:02:25 +08:00
Shu Chen
86cf144aa7 feat(ieee802154): remove the ieee802154 lib submodule 2024-01-25 18:59:09 +08:00
morris
08845cf669 feat(rmt): added a help function for allocating encoder memory
The encoder memory location should respect the RMT_MEM_ALLOC_CAPS,
which is affected by some Kconfig options, like ISR_IRAM_SAFE

Closes https://github.com/espressif/esp-idf/issues/13032
2024-01-25 18:44:25 +08:00
Ivan Grokhotkov
dee5b087fa
feat(newlib): implement scandir and alphasort
Based on https://man7.org/linux/man-pages/man3/scandir.3.html
2024-01-25 11:03:19 +01:00
Abhik Roy
dfb1e0e087 Merge branch 'update_esp_netif_changes' into 'master'
fix(lwip): Corrected NAPT dependency text

See merge request espressif/esp-idf!28546
2024-01-25 17:19:39 +08:00
zwl
5172a99c9b feat(ble): add ble controller version output on ESP32-C6 and ESP32-H2 2024-01-25 17:04:48 +08:00
zwl
4a5127c029 feat(ble): add ble controller status check api on ESP32-C6 and ESP32-H2 2024-01-25 17:04:48 +08:00
zwl
e1d27c3b5d fix(ble): fixed build error when disable sm feature 2024-01-25 17:04:44 +08:00
zwx
265531c971 feat(openthread): support openthread radio caps rx on when idle 2024-01-25 16:11:50 +08:00
luomanruo
688cbcfa31 Update C6 H2 lib to bb9d578e 2024-01-25 16:09:08 +08:00
Marius Vikhammer
d90cad70f3 Merge branch 'bugfix/c5_newlib_reent_cleanup_fix' into 'master'
fix(newlib): fix stub_table init on C5

Closes IDF-9093

See merge request espressif/esp-idf!28647
2024-01-25 12:02:46 +08:00
Mahavir Jain
0e7908369f Merge branch 'bugfix/fix_http_auth_without_qop' into 'master'
fix(esp_http_client): Fix http digest auth without qop

Closes IDFGH-11876

See merge request espressif/esp-idf!28570
2024-01-25 11:48:53 +08:00
Marius Vikhammer
21d0c65e52 fix(system): fixed -fstack-protector issue on P4
During cpu_start stack-smashing would errorounsly trigger when compiled
with -Os on P4. This happened due to the stack canary value (stored in bss) changing when
we initialized bss and then getting flagged as a stackoverflow.

Disable fstack-protector for cpu_start to avoid this issue
2024-01-25 11:12:35 +08:00
xiongweichao
3e2ef4f26c fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-25 10:23:02 +08:00
Konstantin Kondrashov
51e9cd4884 Merge branch 'bugfix/efuse_test_apps_for_p4' into 'master'
fix(efuse): Fix test_apps for esp32p4

Closes IDFCI-1972

See merge request espressif/esp-idf!28675
2024-01-24 21:44:20 +08:00
Wu Zheng Hui
55f04b3326 Merge branch 'feature/clean_up_retention_context_definitions' into 'master'
refactor(esp_hw_support): move sleep retention context definition to soc target folder

Closes PM-10

See merge request espressif/esp-idf!26753
2024-01-24 20:24:02 +08:00
Konstantin Kondrashov
5bede51ec8 fix(efuse): Fix test_apps for esp32p4 2024-01-24 11:25:08 +02:00
hongshuqing
0b79d9bf4c feat(pmu): set fix voltage to different mode for esp32h2
h2 remove include
2024-01-24 13:11:41 +08:00
Shu Chen
bbd0142ccb Merge branch 'fix/ieee802154_test_rx_break_issue' into 'master'
fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex

See merge request espressif/esp-idf!28541
2024-01-24 10:43:51 +08:00
Marius Vikhammer
7823d246c5 Merge branch 'bugfix/p4_rvfp_rom' into 'master'
fix(esp_rom): fixed float to int conversion functions not working on P4

Closes IDF-8977 and IDF-8109

See merge request espressif/esp-idf!28396
2024-01-24 10:10:57 +08:00
Shu Chen
d499ba432b Merge branch 'feature/add_ieee802154_pending_tx' into 'master'
feat(802.15.4): introduce pending tx while rx feature

See merge request espressif/esp-idf!28404
2024-01-24 09:30:54 +08:00
Ivan Grokhotkov
ecccad727f Merge branch 'bugfix/macos_build_linux_target_freertos' into 'master'
fix(freertos): override select function without relying on -Wl,--wrap

See merge request espressif/esp-idf!28065
2024-01-24 04:14:00 +08:00
Erhan Kurubas
1227409c02 Merge branch 'coredump_traverse_state_lists' into 'master'
Improve the probability of accessing healthy TCBs

Closes IDF-2245

See merge request espressif/esp-idf!28114
2024-01-24 01:44:10 +08:00
Ivan Grokhotkov
f5cd3b7ff4
fix(freertos): override select function without relying on -Wl,--wrap
This commit changes the approach used to override select function
in FreeRTOS simulator.

The previous approach relied on '--wrap', which is a feature of GNU
linker that performs symbol substitution at link time. Sadly this
feature is not present in macOS linker.

The alternative solution is to define 'select' wrapper as a regular
(exported) symbol, preventing it from being loaded from system
libraries. To call the "real" select implementation we use dlsym
function and find the function pointer at run time. This solution
works on both Linux and macOS.
2024-01-23 16:57:38 +01:00
Ivan Grokhotkov
66431a62d1
fix(freertos): warning fix for building with IDF_TARGET=linux on macOS 2024-01-23 16:57:37 +01:00
Xu Si Yu
ad3e1e3daf Merge branch 'bugfix/set_spinel_interface_buffer_to_static' into 'master'
fix(openthread): set spinel frame buffer to member variables

See merge request espressif/esp-idf!28510
2024-01-23 22:40:43 +08:00
Shu Chen
65c838b68a Merge branch 'support/integrate_console_command_with_ot_command' into 'master'
feat(openthread): integrate console command with ot command

See merge request espressif/esp-idf!28194
2024-01-23 22:03:55 +08:00
Ondrej Kosta
c956e44a9e Merge branch 'feature/ethernet_ci' into 'master'
ci(esp_eth): enable Ethernet tests

See merge request espressif/esp-idf!28566
2024-01-23 21:59:38 +08:00
Xu Si Yu
f9f32d4e5f Merge branch 'feature/add_config_for_ot_address_query' into 'master'
feat(openthread): add menuconfig for openthread address query

See merge request espressif/esp-idf!28445
2024-01-23 20:55:48 +08:00
Jakob Hasse
c6a570fb37 Merge branch 'feature/pthread_psram' into 'master'
feat(pthread): Allow SPI RAM as stack

Closes IDFGH-9237, IDF-7262, and IDFGH-7045

See merge request espressif/esp-idf!27166
2024-01-23 18:39:32 +08:00
Rahul Tank
bcb8d179dd Merge branch 'bugfix/fix_sm_inject_io_return_val' into 'master'
fix(nimble): Added change to ensure that API execution returns success

See merge request espressif/esp-idf!28402
2024-01-23 18:06:16 +08:00
Marius Vikhammer
4b89e52964 fix(newlib): fix stub_table init on C5 2024-01-23 18:05:53 +08:00
Tomas Rezucha
525bdf26f8 Merge branch 'feature/p4_usb_hal' into 'master'
feature(usb/host): Add HS PHY configuration

See merge request espressif/esp-idf!28549
2024-01-23 17:55:23 +08:00
Mahavir Jain
a02b0968d2 Merge branch 'fix/fix_esp_tls_client_key_parsing' into 'master'
fix(esp_tls): Fixed client key parsing for ECC key

Closes IDF-8894

See merge request espressif/esp-idf!27982
2024-01-23 17:14:49 +08:00
Mahavir Jain
09c9001895 Merge branch 'feature/add_key_manager_hw_support' into 'master'
Feature/add key manager hw support

Closes IDF-7925 and IDF-8041

See merge request espressif/esp-idf!26328
2024-01-23 17:11:05 +08:00
Song Ruo Jing
9ba5f4dab2 Merge branch 'feature/esp32p4_dma2d_support' into 'master'
feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4

Closes IDF-6498

See merge request espressif/esp-idf!25527
2024-01-23 15:19:25 +08:00
Harshit Malpani
bc901c0a3a
fix(esp_http_client): Fix http digest auth without qop
Closes https://github.com/espressif/esp-idf/issues/12962
2024-01-23 12:22:35 +05:30
Xu Si Yu
568adfb869 feat(openthread): add menuconfig for openthread address query 2024-01-23 14:43:51 +08:00
Guillaume Souchere
7bb236254e Merge branch 'doc/update-esp-event-instance-register-descrition' into 'master'
docs(esp-event): Update description of esp_event_handler_instance_x

Closes IDFGH-11711

See merge request espressif/esp-idf!28063
2024-01-23 13:48:31 +08:00
Aditya Patwardhan
e2d5b323ca fix(esp_tls): Fixed client key parsing for ECC key
Client key parsing for ECC keys was failing as the
    RNG supplied to the key parsing API was uninitialized.
    This commit fixes that behaviour
2024-01-23 13:40:57 +08:00
wuzhenghui
f3f12e973c
refactor(esp_hw_support): separate different chip system peripheral regs context defs to target folder 2024-01-23 13:30:01 +08:00
Mahavir Jain
e3d4b901f9 Merge branch 'bugfix/compilation_failed_in_bootloader_with_sb_fe_verbose' into 'master'
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe

Closes IDF-6373

See merge request espressif/esp-idf!26339
2024-01-23 13:29:02 +08:00
Jakob Hasse
db33f5a52e Merge branch 'fix/console_context_setting' into 'master'
fix(console): Made setting command context less error-prone and clearer

See merge request espressif/esp-idf!28395
2024-01-23 13:25:25 +08:00
Aditya Patwardhan
4dc2ace0b7
fix(esp_hw_support): Update key manager support
1) Added new Key Manager APIs
    2) Added crypto locking layer for Key Manager
    3) Remove support for deploying known key
    4) Format key manager support
    5) Fix build header error
    6) Updated the key_mgr_types.h file
    7) Added key manager tests
2024-01-23 10:24:39 +05:30
Aditya Patwardhan
5a1726c18c
feat(hal): Update HAL layer for Key manager
1)Added new clk related changes
2024-01-23 10:24:37 +05:30
Aditya Patwardhan
3eabb62850
feat(esp_hw_support): Add support for Key Manager 2024-01-23 10:24:35 +05:30
Island
9746de97ce Merge branch 'bugfix/struct_init_order_blemesh' into 'master'
ble mesh: Modify the structure initialization order to meet C++ requirements

See merge request espressif/esp-idf!18077
2024-01-23 12:20:18 +08:00
wuzhenghui
9b3dc69908
refactor(esp_hw_support): move regdma structure defination to soc components 2024-01-23 11:51:44 +08:00
wuzhenghui
2bd755c95d
refactor(esp_hw_support): move TIMG_WDT_WKEY_VALUE defination from hal to soc 2024-01-23 11:51:44 +08:00
Darian
a114237378 Merge branch 'refactor/core_component_headers_copyright_ignore' into 'master'
Tools/Core: Tidy up core-team releated copyright ignore list entries

See merge request espressif/esp-idf!28514
2024-01-23 11:39:59 +08:00
Xu Si Yu
65a261b290 fix(openthread): set spinel frame buffer to member variables 2024-01-23 10:52:03 +08:00
xueyunfei
4f96d04c9e feat(lwip): add fall back dns config in menuconfig
Closes https://github.com/espressif/esp-idf/issues/12530
2024-01-23 10:49:53 +08:00
KonstantinKondrashov
b471d9d22c change(all): Clearing unused efuse rom headers 2024-01-22 18:02:55 +02:00
Song Ruo Jing
08eada7301 feat(esp_hw_support/dma2d): Add 2D-DMA support on ESP32P4 2024-01-22 20:51:43 +08:00
Island
a4268b88c5 Merge branch 'bugfix/fix_ble_remove_bond' into 'master'
fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices

Closes BLERP-478

See merge request espressif/esp-idf!28589
2024-01-22 20:35:51 +08:00
Mahavir Jain
8b7d24ad71 Merge branch 'bugfix/soc_cpu_subsys_region' into 'master'
fix(soc): change debug addr range to CPU subsystem range

See merge request espressif/esp-idf!28499
2024-01-22 20:02:21 +08:00
Kevin (Lao Kaiyao)
2e037b8ab5 Merge branch 'feature/support_legacy_i2s_driver_on_p4' into 'master'
feat(i2s): support i2s legacy driver on p4

Closes IDF-8194

See merge request espressif/esp-idf!28474
2024-01-22 19:35:49 +08:00
Tomas Rezucha
ed1f20a972 feat(hal/usb): Add HS PHY configuration 2024-01-22 12:14:11 +01:00
C.S.M
c967dac3a9 Merge branch 'bugfix/one_byte_receive' into 'master'
fix(i2c_master): Fix bug on esp32 that read one byte data fails

See merge request espressif/esp-idf!28523
2024-01-22 18:17:33 +08:00
Darian Leung
f50d83413e refactor(tools): Tidy up core component files copyright ignore
Some files that should have their copyrights checked are still placed on the
copyright ignore list.

- These entries have been tidied up
- Copyrights of those files have been updated.
2024-01-22 18:07:35 +08:00
Darian Leung
06952431a0 refactor(esp_system): Remove intr.c from the esp_system component
This file is empty and not used anywhere, thus can be removed.
2024-01-22 18:01:25 +08:00
zwx
706005c2e6 feat(802.15.4): introduce pending tx while rx feature 2024-01-22 16:43:41 +08:00
Ondrej Kosta
f732c3b7fd ci(esp_eth): enable Ethernet tests 2024-01-22 09:30:24 +01:00
xiaqilin
0fe78ed468 fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex 2024-01-22 16:04:37 +08:00
zwx
f478d3d81d feat(openthread): integrate console command with ot command 2024-01-22 16:04:04 +08:00
Jakob Hasse
be59c94917 feat(pthread): Pthread can now use PSRAM as stack
Closes https://github.com/espressif/esp-idf/pull/10623
Closes https://github.com/espressif/esp-idf/issues/8662

Thanks to f-hoepfinger-hr-agrartechnik for the contribution
in https://github.com/espressif/esp-idf/pull/10623
2024-01-22 15:33:05 +08:00
InfiniteYuan
8191f319a3 ble_mesh: stack: fix the structure init order to meet C++ requirements 2024-01-22 14:12:11 +08:00
Mahavir Jain
9ecd2fd7e3 fix(soc): change debug addr range to CPU subsystem range
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).

For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.

For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-22 13:34:32 +08:00
Xiao Xufeng
e0856e208e ci(flash): remove hpm-dc configs from octal flash 2024-01-22 12:44:27 +08:00
Marius Vikhammer
1bcfde4e7f fix(ulp): enable astyle linter and format ULP component 2024-01-22 11:43:38 +08:00
morris
01f1434fdd Merge branch 'feature/esp_lcd_mipi_dsi' into 'master'
esp lcd mipi dsi driver

Closes IDF-6499

See merge request espressif/esp-idf!28273
2024-01-22 11:22:00 +08:00
Adam Múdry
3da19a647c Merge branch 'feature/fatfs_2_fat_copies_on_volume' into 'master'
feat(fatfs): Add an option to use 2 FATs (file allocation tables) in FATFS volumes

Closes IDF-8735 and IDF-4091

See merge request espressif/esp-idf!27452
2024-01-22 11:15:04 +08:00
Cao Sen Miao
1e3ffdf628 fix(i2c_master): Fix bug on esp32 that read one byte data fails 2024-01-22 11:13:10 +08:00
Island
ed025da95c Merge branch 'feat/support_ble_aux_when_data_length_zero' into 'master'
feat(bt/bluedroid): Support ext adv aux option

Closes BLERP-253 and BLERP-470

See merge request espressif/esp-idf!28458
2024-01-22 11:06:01 +08:00
Jiang Jiang Jian
54bcaae1ac Merge branch 'bugfix/fix_scan_request_ifs_error' into 'master'
Fixed BLE scan request ifs time error in coexistence scenarios on ESP32

Closes BT-3593, CBLE50Y23-138, and BT-3605

See merge request espressif/esp-idf!28460
2024-01-22 11:00:54 +08:00
Island
f8a12adcf5 Merge branch 'feat/support_ble_get_callback' into 'master'
Feat/support ble get callback

See merge request espressif/esp-idf!28355
2024-01-22 10:43:28 +08:00
Island
44862867a7 Merge branch 'bugfix/fix_ble_memory_leak' into 'master'
fix(ble/bluedroid): Fix ble memory leak when gattc config off

See merge request espressif/esp-idf!28468
2024-01-22 10:42:56 +08:00
Island
b667d20312 Merge branch 'bugfix/ble_update_lib_20231229' into 'master'
update lib on master

Closes BLERP-414, BLERP-415, BLERP-416, BLERP-418, BLERP-419, BLERP-417, BLERP-355, BLERP-420, BLERP-421, BLERP-422, BLERP-443, BLERP-445, BLERP-444, BLERP-442, BLERP-446, and BT-3558

See merge request espressif/esp-idf!28186
2024-01-22 10:38:16 +08:00
Island
4071984f47 Merge branch 'bugfix/fix_ble_heap_malloc' into 'master'
fix(bt/bluedroid): Fix BLE malloc internal wrapper fail

See merge request espressif/esp-idf!27677
2024-01-22 10:34:07 +08:00
Erhan Kurubas
029a0582e1 feat(coredump): improve the probability of accessing healthy TCBs 2024-01-22 00:18:28 +08:00
morris
e0dec99741 feat(dsi): add mipi dsi lcd unit test app 2024-01-20 17:02:28 +08:00
morris
7013815ea7 feat(dsi): add mipi dsi driver to esp_lcd 2024-01-20 16:50:22 +08:00
zhanghaipeng
101bfcd7a1 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-20 16:42:54 +08:00
zhanghaipeng
b491c7bb6f fix(ble/bluedroid): Fix dangling pointer issue in deletion of bonded devices 2024-01-20 16:35:38 +08:00
linruihao
b6d6735190 fix(esp_coex): Fixed potential BLE scan request ifs timer error bug 2024-01-20 11:26:52 +08:00
zhiweijian
5552941e57 Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-20 11:26:52 +08:00
Konstantin Kondrashov
261651fc19 Merge branch 'feature/efuse_update' into 'master'
feat(efuse): Adds new efuses for H2 and C6 chips

See merge request espressif/esp-idf!27672
2024-01-20 03:10:44 +08:00