Commit Graph

31492 Commits

Author SHA1 Message Date
Aditya Patwardhan
083e943704 docs(security): Added host based workflow to enable secure boot externally
* Styling changes for the host-based workflow document
* Fix formatting for the document for host based security wofkflows
2023-07-19 10:11:30 +05:30
morris
fb7cc00378 Merge branch 'refactor/reorganize_the_interrupt_description_files' into 'master'
refactor(interrupt): Put the interrupts definitions in soc/interrupts.h

Closes IDF-5776

See merge request espressif/esp-idf!24578
2023-07-19 12:05:56 +08:00
Song Ruo Jing
4ac2d436ea fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 12:03:38 +08:00
Fu Hanxi
f5984d482a
ci: fix skipping qemu test always 2023-07-19 12:02:59 +08:00
wanglai@espressif.com
d1443a91fa feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-19 11:59:07 +08:00
Fu Hanxi
e872b69c12
ci: show mr.env env file 2023-07-19 11:50:53 +08:00
Jakob Hasse
a703d7aa89 refactor(esp_event): improved tests to fail less frequently on QEMU
* improved setup/teardown to not put shared event system into
  inconsistent state
* reduced timing-dependency of several tests by using
  a semaphore instead of waiting for a guessed timeout
* Deactivated WDT (both Interrupt WDT, Task WDT) for QEMU tests
* Ignore esp_timer-based test for QEMU, CPU timing is different
  on ESP32 simulation in QEMU
2023-07-19 11:50:44 +08:00
morris
b589355a10 feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 11:32:35 +08:00
Fu Hanxi
7610e535ea
ci: ignore test scripts under managed_components 2023-07-19 11:21:49 +08:00
Jiang Jiang Jian
9d872ee34e Merge branch 'bugfix/esp32h2_revision_config_prompt' into 'master'
fix(esp32h2): correct typo in chip revision prompt

See merge request espressif/esp-idf!24877
2023-07-19 10:19:10 +08:00
Roland Dobai
79b15bd410 Merge branch 'feature/rewrite_build_sys_tests_v6' into 'master'
Tools: Rewrite build system unit tests to python - git

Closes IDF-7386

See merge request espressif/esp-idf!23860
2023-07-19 01:20:06 +08:00
Roland Dobai
c5b355143a Merge branch 'contrib/github_pr_11836' into 'master'
fix: create-project & create_component with proper file permission (GitHub PR)

Closes IDFGH-10599

See merge request espressif/esp-idf!24854
2023-07-19 01:16:38 +08:00
Mahavir Jain
6431091ce6
fix(esp32h2): correct typo in chip revision prompt 2023-07-18 20:46:45 +05:30
Mahavir Jain
8dc7d3bc17
fix(provisioning): build failure with secure boot enabled case
Application partition size was not correctly declared per secure
boot alignment requirements. This was causing build failure when
example was built with secure boot enabled.
2023-07-18 20:30:19 +05:30
Marek Fiala
f4e3c9c03a refactor(tools): Rewrite build system unit tests to python
Rewritten parts:
 - git
 - version
 - build
2023-07-18 15:51:04 +02:00
zhanghaipeng
f83664929a fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-18 21:33:56 +08:00
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
Alexey Lapshin
99ac68246e fix(freertos): enable esp32c2 runtime-gdbstub 2023-07-18 12:15:33 +04: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
Marius Vikhammer
f2485590c2 Apply 1 suggestion(s) to 1 file(s) 2023-07-17 16:28:50 +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