luomanruo
c624b0a45e
esp_rom_printf
2023-07-24 21:45:11 +08:00
aleks
c41579d2d3
examples: modbus add support for target esp32h2
2023-07-24 10:58:02 +02:00
luomanruo
99c0715962
ble update for doc: bugfix for esp32c6 and esp32h2
2023-07-24 10:59:19 +08:00
Kapil Gupta
020eba74c6
change(esp_wifi): Remove direct call of malloc() and free()
2023-07-22 07:13:53 +00:00
Rahul Tank
87ad40140e
docs(nimble): Update Kconfig help section for Example Ext Adv
2023-07-21 14:32:12 +00:00
luomanruo
14819cb409
ble update: bugfix for esp32c6 and esp32h2
2023-07-21 20:25:01 +08:00
Jiang Guang Ming
de15b6f819
fix(mbedtls): sha test will fail when run twice
2023-07-21 12:06:26 +00:00
xiaqilin
b8bbd90ad4
fix(ieee802154): fix ieee802154 sleep state
2023-07-21 11:03:23 +00:00
wuzhenghui
9df77e015a
fix(rtc_clk): fix i2c master clock missing in bbpll configure
2023-07-21 11:01:56 +00:00
Frantisek Hrbata
6406620712
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-21 12:37:19 +02:00
Harshit Malpani
2aaa5579f0
fix(ci): update HTTP client example tests runner assignment
...
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-21 15:21:41 +05:30
Harshit Malpani
3298a8a483
CI: fix esp_http_client example failures in CI. Timeout was observed in the logs while performing HTTP requests. Changing the endpoint when testing in CI
2023-07-21 15:20:09 +05:30
Shyamal Khachane
dbe7c4a78d
fix(esp_wifi): Backport some wifi fixes
...
1. Fix memory leak caused by assoc IE and retry timer
2. Discard commit frame received at confirmed state in SAE
3. Ignore immediate assoc req received from the station while we are
processing the older one. Fix regression caused by 4cb4faa9
2023-07-21 15:06:09 +05:30
gaoxiaojie
aff298be18
fix(cache): no longer use freeze in esp_cache_msync
...
Writeback and invalidation don't need cache to be frozen first
2023-07-21 17:19:11 +08:00
isha.pardikar@espressif.com
3b8853b3c0
NimBLE: Added health thermometer profile
2023-07-21 05:36:32 +00:00
morris
c8ec729252
feat(mcpwm): support open drain output for generator IO
...
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-21 05:08:20 +00:00
Anne Brondijk
c818ddd282
feat(mcpwm): Allow for pull up/down to be configurable on generators
2023-07-21 05:08:20 +00:00
Roland Dobai
1b2b046f9a
ci(pre-commit): Use the newest copyright checker
2023-07-21 04:41:18 +00:00
Mahavir Jain
3187b8b326
Merge branch 'ci/fix_build_examples_v5.1' into 'release/v5.1'
...
CI: fix build examples import future
See merge request espressif/esp-idf!24864
2023-07-21 12:40:11 +08:00
gaoxiaojie
38d54b4b62
fix(esp32s3): patch Cache_WriteBack_Addr api
...
Need to ensure that the cacheline being written back will not be
accessed during the write back process.
2023-07-21 11:44:56 +08:00
Chen Yudong
c4377e8dcc
ci(esp_prov): remove import future usage
2023-07-19 14:03:12 +08:00
Darian Leung
ff8c4f79d2
usb_host: Run formatting script
2023-07-15 12:56:45 +02:00
Darian Leung
a3e4e9c772
usb_host: Fix spelling errors
2023-07-15 12:56:45 +02:00
Darian Leung
b891aa0443
usb_host: Refactor USBH and USB Host Library calls to HCD
...
This commit refactors the USBH and the USB Host Library in the following ways:
- USBH now presents an abstraction of an endpoint (via usbh_ep_handle_t)
- Added separate functions to enqueue/dequeue URBs to a particular endpoint
- USB Host Library no longer calls HCD API directly. Calls USBH endpoint API
instead.
- Renamed "notif_cb" to "proc_req_cb" (Processing Request Callback)
- This is to avoid confusion with FreerTOS task notifications and Host
Library client event notifications.
- The processing functions of each layer (i.e., "xxx_process()") request
calls via the "proc_req_cb"
- The main handling function (i.e., usb_host_lib_handle_events()) is
responsible for calling the required "xxx_process()" of each layer
2023-07-15 12:56:45 +02:00
Jiang Jiang Jian
b530d768e6
Merge branch 'fix/esp_aes_return_values_v5.1' into 'release/v5.1'
...
fix(mbedtls): fix return values of esp-aes APIs (v5.1)
See merge request espressif/esp-idf!24804
2023-07-15 12:24:25 +08:00
Jiang Jiang Jian
d84e6c3dda
Merge branch 'bugfix/fix_esp32c2_wifi_works_on_too_low_apb_clk_v5.1' into 'release/v5.1'
...
fix(esp_pm): fix esp32c2 modem works on too low apb clk (backport v5.1)
See merge request espressif/esp-idf!24811
2023-07-15 12:18:09 +08:00
Jiang Jiang Jian
077cb8d150
Merge branch 'feature/usb_host_interface_claim_debug_info_v5.1' into 'release/v5.1'
...
USB Host: better debugging information during usb_host_interface_claim() (backport v5.1)
See merge request espressif/esp-idf!23456
2023-07-15 08:37:32 +08:00
Jiang Jiang Jian
b21005487d
Merge branch 'bugfix/fix_sleep_cache_spi_safe_issues_backport_v5.1' into 'release/v5.1'
...
Power Management: fix cache spi flash related issues in sleep process (backport v5.1)
See merge request espressif/esp-idf!24812
2023-07-15 08:36:46 +08:00
wuzhenghui
d2fb32ed70
fix(soc): fix wrong freq definition for 26Mhz version esp32c2 soc
2023-07-15 01:57:07 +08:00
wuzhenghui
9158cba846
fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working
2023-07-15 01:56:55 +08:00
wuzhenghui
16d849b95e
fix(esp_pm): fix flash access after light sleep wakeup
2023-07-15 01:41:03 +08:00
harshal.patil
34dccf840e
refactor(mbedtls): refactored the return values check in some esp-aes APIs
2023-07-14 20:51:47 +05:30
Mahavir Jain
77f6f72b83
Merge branch 'fix/mbedtls_internal_shaX_process_api_port_v5.1' into 'release/v5.1'
...
fix(mbedtls): Fix the port for mbedtls_internal_shaX_process api (v5.1)
See merge request espressif/esp-idf!24809
2023-07-14 22:53:13 +08:00
Roland Dobai
f447ee35b8
Merge branch 'pkg_res_deprecation_5.1' into 'release/v5.1'
...
fix(tools/python_dep_check): replace deprecated pkg_resources with importlib (backport v5.1)
See merge request espressif/esp-idf!24817
2023-07-14 22:44:05 +08:00
Peter Dragun
77429e3ef7
fix(tools/python_dep_check): replace deprecated pkg_resources with importlib
...
Closes https://github.com/espressif/esp-idf/issues/11712
2023-07-14 14:16:10 +02:00
Shen Weilong
2d1544b863
feat(ble): Added ble examples for multiple connections
2023-07-14 19:01:11 +08:00
Jiang Jiang Jian
82fde1e823
Merge branch 'backport_v5.1' into 'release/v5.1'
...
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.1)
See merge request espressif/esp-idf!24780
2023-07-14 18:17:32 +08:00
wuzhenghui
ec35c2ab60
fix(esp_pm): 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 17:48:27 +08:00
wuzhenghui
f69ea24d15
fix(esp_pm): 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 17:48:20 +08:00
Mahavir Jain
bba66a1566
Merge branch 'fix/esp_ptr_check_sign_compare_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.1)
See merge request espressif/esp-idf!24798
2023-07-14 17:27:54 +08:00
Island
4f37aeb747
Merge branch 'update/ble_mesh_debug_log_level_update_v5.1' into 'release/v5.1'
...
update(ble_mesh: stack): Update provisioning bearer check debug log to INFO level (v5.1)
See merge request espressif/esp-idf!24769
2023-07-14 16:56:19 +08:00
harshal.patil
895d86621b
fix(mbedtls): Fixed the transmission of return values of the esp-aes APIs
...
- Earlier, some intermediate return values were not stored and returned,
thus incorrect return values used to get transmitted to the upper layer of APIs.
- Also, zeroised the output buffer in case of error condition.
2023-07-14 14:20:47 +05:30
harshal.patil
8692da51a0
fix(mbedtls): Fix the port for the mbedtls_internal_shaX_process API
...
- Also added the fix to update intermediate SHA state in the mbedtls_shaX_update API
2023-07-14 14:20:20 +05:30
Jiang Jiang Jian
e9a3a3eeea
Merge branch 'bugfix/fix_some_wifi_bugs_24063_to_v5.1' into 'release/v5.1'
...
fix(wifi): Backport some wifi bugs 24063 to v5.1(Backport v5.1)
See merge request espressif/esp-idf!24794
2023-07-14 16:41:49 +08:00
Jiang Jiang Jian
fa95b46a0d
Merge branch 'bugfix/fix_miss_annotate_ld_function_issue_v5.1' into 'release/v5.1'
...
fix(wifi): missed annotate ld function from txop fix(Backport v5.1)
See merge request espressif/esp-idf!24800
2023-07-14 16:41:04 +08:00
Jiang Jiang Jian
da8b9ad59d
Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal_v5.1' into 'release/v5.1'
...
backport v5.1: support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1
See merge request espressif/esp-idf!24789
2023-07-14 16:34:09 +08:00
Shu Chen
1296991b2f
Merge branch 'backport/fix_br_issues_of_cert' into 'release/v5.1'
...
OpenThread: fix issues found in certification(backport v5.1)
See merge request espressif/esp-idf!24079
2023-07-14 15:01:07 +08:00
muhaidong
727a8cdb9e
fix(wifi): missed annotate ld function from txop fix
2023-07-14 14:04:14 +08:00
Laukik Hase
8abdb33072
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
...
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-14 10:52:19 +05:30
Shu Chen
fabe338a7a
Merge branch 'backport/enrich_ieee802154_assert_info' into 'release/v5.1'
...
ieee802154: add debug feature for driver (Backport v5.1)
See merge request espressif/esp-idf!24793
2023-07-14 13:17:32 +08:00