Commit Graph

31113 Commits

Author SHA1 Message Date
Jiang Jiang Jian
f5fb6a6696 Merge branch 'bugfix/handle_sae_discarded_auth_frame' into 'master'
Discard commit frame received at confirmed state in SAE

Closes WIFI-6123

See merge request espressif/esp-idf!24671
2023-07-18 21:16:56 +08:00
Marek Fiala
e8ee59f68b fix(tools): create-project with proper file permission - pre-commit fix
Closes https://github.com/espressif/esp-idf/pull/11836
2023-07-18 14:08:37 +02:00
Rahul Tank
bbfb44a0fe fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-18 16:21:09 +05:30
Rahul Tank
f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
Shen Wei Long
13ea139a1a Merge branch 'feature/add_ble_multi_conn_example_with_vs_hci' into 'master'
Feature/add ble multi conn example with vs hci

See merge request espressif/esp-idf!24602
2023-07-18 18:00:14 +08:00
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Chen Yudong
2c22b74479 ci(rules): add patterns fast template app
Update pre-check job rules
2023-07-18 11:21:24 +08:00
Shyamal Khachane
a9e6deb615 fix(esp_wifi): Discard commit frame received at confirmed state in SAE 2023-07-18 08:09:08 +05:30
Cao Sen Miao
44693a63b4 spi_flash: fix gd25lq255e unlock mistake 2023-07-18 10:12:46 +08:00
Zim Kalinowski
a2d76ad38a Merge branch 'feature/freertos-10.5.1-added-base-riscv-porting-layer' into 'master'
feat(freertos): added base risc-v porting layer to 10.5.1

See merge request espressif/esp-idf!24773
2023-07-18 03:24:10 +08:00
Mahavir Jain
a7dadcea6c Merge branch 'bugfix/fix_https_request_failures_in_ci' into 'master'
fix: Add more ciphersuites in https_request example

See merge request espressif/esp-idf!24813
2023-07-17 20:10:16 +08:00
Shu Chen
db34e2a863 Merge branch 'bugfix/fix_ieee802154_state' into 'master'
fix(ieee802154): fix ieee802154 sleep state

See merge request espressif/esp-idf!24840
2023-07-17 19:55:53 +08:00
Ryan Yin
354e2c4673 feat: fix: create-project & create_component with proper file permission 2023-07-17 19:32:30 +08:00
Chen Jichang
304c7572a6 refactor(interrupt):put the interrupts definitions in soc/interrupts.h
Now the soc interrupts definitions are scattered around in the esp-idf
which are out of sync. Put interrupts definitions in soc/periph_defs.h
(!ESP32) or soc/soc.h(ESP32) together in soc/interrupts.h.
2023-07-17 19:31:56 +08:00
Zim Kalinowski
ccf51a6263 feat(freertos): added base risc-v porting layer to 10.5.1
This commit adds the source files for the GCC RISC-V port of FreeRTOS V10.5.1.
Files copied from https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/V10.5.1/portable/GCC/RISC-V
2023-07-17 18:59:16 +08:00
Roland Dobai
30672c7c65 Merge branch 'docs/monitor_rom_address_decoding' into 'master'
esp_idf_monitor: ROM ELF address decoding docs and tests

Closes IDF-372

See merge request espressif/esp-idf!24271
2023-07-17 18:52:29 +08:00
Armando (Dou Yiwen)
2d4dabda25 Merge branch 'feature/added_cache_msync_behaviour_per_direction' into 'master'
feat(cache): added direction selection to esp_cache_msync API

Closes IDF-7674

See merge request espressif/esp-idf!24614
2023-07-17 18:04:42 +08:00
Jiang Jiang Jian
447704bb7f Merge branch 'bugfix/ignore_immediate_assoc_req' into 'master'
fix(wifi): Bugfix ignore immediate assoc req received by AP

See merge request espressif/esp-idf!24050
2023-07-17 16:56:28 +08:00
xiaqilin
a9a16cbd57 fix(ieee802154): fix ieee802154 sleep state 2023-07-17 15:42:18 +08:00
Konstantin Kondrashov
92d84b468a Merge branch 'bugfix/esp_timer_prevents_delay_for_isr_dispatch_callbacks' into 'master'
fix(esp_timer): Fix delay in ISR dispatch callbacks

Closes IDFGH-10379 and IDFGH-10380

See merge request espressif/esp-idf!24599
2023-07-17 15:20:19 +08:00
Armando (Dou Yiwen)
18107f1d1a Merge branch 'bugfix/fix_adc_continuous_driver_isr_flag_issue' into 'master'
adc: fix continuous hal func not in iram when gdma isr iram

Closes IDFGH-10537

See merge request espressif/esp-idf!24595
2023-07-17 14:35:29 +08:00
Frantisek Hrbata
ff1ce54869 fix(debug_ext): CTRL+C handling while waiting on gdb process
idf.py spawns gdb process within a thread and uses Thread.join() to wait
for the gdb process to finish. As CTRL+C(SIGINT) is used by gdb to interrupt the
running program, we catch the SIGINT while waiting on the gdb to finish,
and try Thread.join() again.

With cpython's commit

	commit a22be4943c119fecf5433d999227ff78fc2e5741
	Author: Victor Stinner <vstinner@python.org>
	Date:   Mon Sep 27 14:20:31 2021 +0200

	    bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532)

this logic doesn't work anymore, because cpython internally marks the
thread as stopped when join() is interrupted with an exception. IMHO
this is broken in cpython and there is a bug report about this
https://github.com/python/cpython/issues/90882. Problem is that
waiting on a thread to finish is based on acquiring a lock. Meaning
join() is waiting on _tstate_lock. If this wait is interrupted, the
above referenced commit adds a logic that checks if the lock is help,
meaning the thread is done and marks the thread as stopped. But there is
no way to tell if the lock was acquired by us running join() or if it's
held by someone else e.g. still by the thread bootstrap code. Meaning
the thread is still running.

I may be missing something, but I don't see any reason why to spawn gdb
process within a thread. This change removes the thread and spawns gdb
directly. Instead waiting on a thread, we wait on the process to finish,
replacing join() with wait() and avoiding this problem.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-07-17 08:00:23 +02:00
Harshit Malpani
8507b3ba1b
fix: Add more ciphersuites in https_request example
MBEDTLS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 ciphersuite support
seems to be removed from howsmyssl.com. Add more ciphersuites in
server_supported_ciphersuites in https_request example to fix failures
while connecting to howsmyssl.
2023-07-17 11:08:32 +05:30
Mahavir Jain
3466204d18 Merge branch 'fix/esp_ptr_check_sign_compare' into 'master'
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom`

Closes IDFGH-10398 and IDFGH-10632

See merge request espressif/esp-idf!24791
2023-07-17 12:33:56 +08:00
Xiong Wei Chao
12d6268095 Merge branch 'docs/update_bluetooth_power_save_readme' into 'master'
Docs: update bluetooth power save readme

Closes FCS-1258

See merge request espressif/esp-idf!24562
2023-07-17 12:14:39 +08:00
Armando
83af9f37d4 test(adc): continuous driver iram test with gdma iram safe option only 2023-07-17 10:16:40 +08:00
Armando
8d54030890 fix(adc): fix adc continuous hal func not in iram when gdma isr iram 2023-07-17 10:15:48 +08:00
Darian
4fc2e5cb95 Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0' into 'master'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips

Closes IDF-3328

See merge request espressif/esp-idf!23873
2023-07-15 19:01:03 +08:00
Shreyas Sheth
88cbcf4696 fix(wifi): Bugfix ignore immediate assoc req received by AP
1) Ignore immediate assoc req received from the station while we are
processing the older one
2) Create station mutex (sta->lock) only for stations connecting with wpa3
security
3) Fix regression caused by 4cb4faa9
2023-07-15 13:53:51 +05:30
Jiang Jiang Jian
23d18bccc5 Merge branch 'bugfix/fix_esp32c2_wifi_works_on_too_low_apb_clk' into 'master'
fix(esp_pm): fix esp32c2 modem works on too low apb clk

See merge request espressif/esp-idf!24802
2023-07-15 12:17:43 +08:00
Anne Brondijk
aa2c0a10c3 feat(mcpwm): Allow for pull up/down to be configurable on generators 2023-07-14 21:44:03 +02:00
wuzhenghui
842ff10777 fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc 2023-07-15 01:54:48 +08:00
Roland Dobai
60a7b72b53 Merge branch 'orig_idf_version' into 'master'
tools(kconfig): add initial and current versions of IDF to kconfig

Closes IDF-3539

See merge request espressif/esp-idf!24183
2023-07-15 01:19:57 +08:00
Wu Zheng Hui
deae388e3c Merge branch 'bugfix/fix_sleep_cache_spi_safe_issues' into 'master'
Power Management: fix cache spi flash related issues in sleep process

Closes WIFI-6009 and IDF-7572

See merge request espressif/esp-idf!24270
2023-07-15 00:37:31 +08:00
Mahavir Jain
e73447622b Merge branch 'docs/update_cn_for_nvs-flash_and_flash-encryption' into 'master'
Docs: Update CN for nvs-flash and flash-encryption

Closes DOC-5321

See merge request espressif/esp-idf!24519
2023-07-14 23:04:32 +08:00
wuzhenghui
797efb1dd3 ci: add pd_vddsdio in lightsleep UT tests
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
wuzhenghui
a5c992c8af fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
wuzhenghui
4e9cc65763 change(uart): change sleep code to be cache safe
- Set uart ll with FORCE_INLINE_ATTR
- Add no_flash API periph_ll_uart_enabled api
2023-07-14 20:12:59 +08:00
wuzhenghui
6c14e1de9f fix: put vddsdio configure api always in iram if pd_flash is enabled
- Put vddsdio configure api always in iram if pd_flash is enabled to ensure access flash at flash unavailable time
2023-07-14 20:12:59 +08:00
wuzhenghui
9f993705a6 fix: wait spi bus idle before hold CS pin
- Wait for spi bus idle before holding CS pin to prevent hold selected state during sleep
2023-07-14 20:12:59 +08:00
wuzhenghui
b9550a1609 feat: support cache safe assertion check
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2023-07-14 20:12:59 +08:00
wuzhenghui
2b600df4ee fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working 2023-07-14 20:10:16 +08:00
Chen Yu Dong
ec82d1489e Merge branch 'ci/build_template_app_sh' into 'master'
ci(tools): fix build_template_app.sh syntax error

See merge request espressif/esp-idf!24816
2023-07-14 20:07:17 +08:00
Chen Yudong
3434d1a64d ci(tools): fix build_template_app.sh syntax error 2023-07-14 19:47:08 +08:00
Mahavir Jain
48ead0158e Merge branch 'fix/mbedtls_internal_shaX_process_api_port' into 'master'
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api

See merge request espressif/esp-idf!24545
2023-07-14 18:23:34 +08:00
Roland Dobai
88f18aa54a Merge branch 'bugfix/import_curses_module_check' into 'master'
Tools: curses tool existence check

Closes IDFGH-10387

See merge request espressif/esp-idf!24462
2023-07-14 16:58:37 +08:00
Island
0b2909bee7 Merge branch 'update/ble_mesh_debug_log_level_update' into 'master'
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level

Closes BLEQABR23-391

See merge request espressif/esp-idf!24768
2023-07-14 16:56:05 +08:00
Ondrej Kosta
3e97f81727 Merge branch 'bugdix/lwip_bridge_ci_err' into 'master'
Fix lwip bridge CI error

See merge request espressif/esp-idf!24718
2023-07-14 16:51:19 +08:00
Chen Jian Xing
e82348ace4 Merge branch 'bugfix/fix_miss_annotate_ld_function_issue' into 'master'
fix(wifi): missed annotate ld function from txop fix

See merge request espressif/esp-idf!24796
2023-07-14 16:40:03 +08:00
Jiang Jiang Jian
4b484574cd Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1

Closes WIFI-5909 and WIFI-6114

See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00