Commit Graph

27082 Commits

Author SHA1 Message Date
wuyuanyi135
5689db1ddf Fix incorrect invocation of the hook LWIP_HOOK_DHCPS_POST_APPEND_OPTS
Fix https://github.com/espressif/esp-idf/issues/11373
2023-07-07 14:14:15 +02:00
David Cermak
8ce037e99f esp_netif: Report error if esp_netif_receive() fails
Closes https://github.com/espressif/esp-idf/issues/10770
2023-07-07 13:56:25 +02:00
Armando
757f58c3ba fix(mm): correct mmap reserved irom and drom size
Prior to this commit, we don't consider the offset of the irom vaddr
start.

If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100

Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.

With this commit, when reserving the irom and drom, we take the offset
into consideration as well.

Closes https://github.com/espressif/esp-idf/issues/2561
2023-07-07 10:45:26 +00:00
Jiang Jiang Jian
a7ab77663a Merge branch 'bugfix/fix_ulp_adc_regression_v5.0' into 'release/v5.0'
adc_oneshot: move power acquire back to adc_oneshot_new_unit (v5.0)

See merge request espressif/esp-idf!24625
2023-07-07 18:25:06 +08:00
Jiang Guang Ming
ce1042a267 esp_rom: fix rom layout issues 2023-07-07 01:25:17 -07:00
harshal.patil
e858c2c1e0 mbedtls: update submodule to include:
fix: mbedtls_ecdsa_can_do was not being defined when ECDSA_SIGN_ALT is defined but ECDSA_VERIFY_ALT is not defined causing mbedtls_ecdsa_verify_restartable to always fail.
feature: initial version of the sbom.yml file
2023-07-07 10:30:33 +05:30
Armando
bf5e10dd23 fix(adc): fix s_adc_tsen_enabled not set issue 2023-07-06 16:48:59 +08:00
laokaiyao
bd70b44144 adc_oneshot: move power acquire back to adc_oneshot_new_unit
Revert and fix of d197c59eaa in !23575
2023-07-06 16:46:24 +08:00
Roshan Bangar
b4c8d92d94 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-06 11:49:09 +05:30
Darian Leung
52589aca08 ringbuf: Fix ordering of StaticRingbuffer_t
When building on linux/host compilers (e.g., GCC), the compiler may add padding
depending on the size and order of the member types.

This commit fixes the ordering or the StaticRingbuffer_t such that it matches
the internal Ringbuffer_t. The "_Static_assert" is always enabled for all
compilers.

Note: Removed all usage configSUPPORT_STATIC_ALLOCATION preprocessor conditions
as the macro is always set to 1.

Closes https://github.com/espressif/esp-idf/issues/11726
2023-07-04 21:42:12 +01:00
Krzysztof
7114092451 docs(jtag): Update CN translation of 'api-guides/jtag-debugging/index.rst' 2023-07-04 19:29:52 +08:00
Xabi Crespo
bfddc02963 docs(jtag): Update chip revisions to follow ESP32-C3 errata (GitHub PR) 2023-07-04 19:29:52 +08:00
jgujarathi
181666c4a7 fix(esp_wifi) : Fix collection of issues in sta roam and scan.
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
   supports both WPA_EAP and WPA_EAP_SHA256 authmode.
   Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
   configuration of the time spent between scanning consecutive
   channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-04 11:59:26 +05:30
Shreyas Sheth
5714d6d324 esp_wifi: Bugfix concurrency observed while doing eloop register 2023-07-04 09:42:39 +05:30
Jiang Jiang Jian
4c775e3eb8 Merge branch 'bugfix/fix_bleqabr23_338_v5.0' into 'release/v5.0'
bluedroid: fixed gatt tcb free when disconnecting (backport v5.0)

See merge request espressif/esp-idf!24499
2023-06-30 11:05:49 +08:00
Jiang Jiang Jian
2558d4c46d Merge branch 'bugfix/fix_esp32s3_tsens_v5.0' into 'release/v5.0'
fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3(v5.0)

See merge request espressif/esp-idf!24477
2023-06-30 10:18:02 +08:00
chenjianhua
64a2778d5f bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 20:55:37 +08:00
cjin
75bd131a54 ble: fix cca for esp32c2 2023-06-29 20:02:34 +08:00
Jiang Jiang Jian
ad5a8be6ab Merge branch 'bugfix/decouple_softap_c2_v5.0' into 'release/v5.0'
Bugfix/decouple softap c2 (v5.0)

See merge request espressif/esp-idf!24471
2023-06-29 18:22:24 +08:00
chenjianxing
af44033b5a esp_wifi: fix timer callback crash after wifi deinit on esp32c2. 2023-06-29 15:09:07 +08:00
chenjianxing
ef3fe14b5f esp_wifi: decouple softap for esp32c2. 2023-06-29 15:09:07 +08:00
Jiang Jiang Jian
b1e79dbcf5 Merge branch 'bugfix/temperature_weak_link_phy_xpd_v5.0' into 'release/v5.0'
temperature_sensor: only link phy_xpd_tsens function in phy_lib ( backport v5.0)

See merge request espressif/esp-idf!24473
2023-06-29 15:07:06 +08:00
Jiang Jiang Jian
3a8e28d862 Merge branch 'bugfix/fix_deepsleep_saradc_leakage_by_sar' into 'release/v5.0'
bugfix: fix adc current leakage by sar_adc on v5.0

See merge request espressif/esp-idf!24344
2023-06-29 14:23:38 +08:00
Vikram
8390818e7e Added description to disable coredump logs to ram_usage.rst
Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-29 11:51:03 +05:30
Vikram
7c766af407 Optionally disable logs in espcoredump component
Early log strings used by this component are placed in DRAM.
Disabling these logs saves ~5KB of internal memory

Signed-off-by: Vikram <vikram.dattu@espressif.com>
2023-06-29 11:51:03 +05:30
chenjianxing
0f91ea5369 fix(esp_wifi): Fix crash caused by tx_pwctrl_background call in ESP32S3. 2023-06-29 11:08:09 +08:00
Cao Sen Miao
045467e439 temperature_sensor: only link phy_xpd_tsens function in phy_lib 2023-06-29 10:27:38 +08:00
wuzhenghui
e0370d89c3 ci: increase timeout threshold to solve deepsleep wakestub example ci failure 2023-06-28 18:12:33 +08:00
Linda
1dbca70b62 docs: update code of how to configure multiple antennas of wifi 2023-06-28 14:43:45 +08:00
Linda
a42b4da02d docs: fix a typo in api-guides/usb-otg-console 2023-06-28 14:40:53 +08:00
Linda
94294610e9 docs: update installation prerequisites for Ubuntu and Debian system 2023-06-28 14:38:50 +08:00
wuzhenghui
3eae74e966 bugfix: increase pm_dump time field width
Closes https://github.com/espressif/esp-idf/issues/11704
2023-06-28 14:35:20 +08:00
Linda
684e15f729 fix a typo in api-reference/system/ota 2023-06-28 14:28:32 +08:00
Ilia Lutchenko
837a46b5a7 btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:18:20 +08:00
Frantisek Hrbata
b947cab073 tools: add sbom information for submodules
This adds SBOM information for submodules, which are not managed
by Espressif. Meaning there is no fork for them in the espressif
namespace. Other submodules should add sbom.yml manifest file to
the root of their git repository.

The SBOM information for submodules is stored in the .gitmodules file.
Each SBOM related variable has the "sbom-" prefix and the following
variables may be used:

sbom-version:
   submodule version

sbom-cpe:
   CPE record if available in NVD. This will be used by the SBOM
   tool to check for possible submodule vulnerabilities. The
   version in the CPE can be replaced with the "{}" placeholder,
   which will be replaced by the "sbom-version" value from above.

sbom-supplier:
   Person or organization who is providing the submodule.
   It has to start with "Person:" or "Organization:" prefix
   as required by the SPDX-2.2 standard.

sbom-url:
   URL to the project if exists, e.g. github.

sbom-description:
   Project description.

sbom-hash:
   Submodule SHA as recorded in the git-tree. This field is used by
   CI to check that the submodule checkout hash and info in .gitmodules
   are in sync. IOW if submodule is updated and it has SBOM info in
   .gitmodules, the .gitmodules has to be updated too. The test is
   part of this commit. The checkout has of the submodule can be found
   by using "git submodule status".

Example for micro-ecc submodule
---8<---
[submodule "components/bootloader/subproject/components/micro-ecc/micro-ecc"]
	path = components/bootloader/subproject/components/micro-ecc/micro-ecc
	url = ../../kmackay/micro-ecc.git
	sbom-version = 1.0
	sbom-cpe = cpe:2.3🅰️micro-ecc_project:micro-ecc:{}:*:*:*:*:*:*:*
	sbom-supplier = Person: Ken MacKay
	sbom-url = https://github.com/kmackay/micro-ecc
	sbom-description = A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors
	sbom-hash = d037ec89546fad14b5c4d5456c2e23a71e554966
---8<---

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-27 10:05:29 +02:00
harshal.patil
ff28efe5be protobuf-c: Update submodule to v1.4.1 2023-06-27 11:17:43 +05:30
laokaiyao
a2cf3ae4df i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-27 10:39:43 +08:00
morris
e43622d1df touch_element: fix unintended integer division 2023-06-26 07:08:04 +00:00
morris
92ca847730 usbh: fix invalid assert on desc_status 2023-06-26 07:08:04 +00:00
morris
93ce0714fd vfs_uart: fix out-of-bounds read
when open uart device "/2" on chips only have 2 UART peripherals
2023-06-26 07:08:04 +00:00
jgujarathi
6c14120c7f wpa_supplicant : Fix occasional crash during btm roam.
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-06-26 10:34:33 +05:30
wangmengyang
49bb1e85b7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-25 15:37:54 +08:00
gongyantao
df68489f15 resolve the conflicts 2023-06-25 15:37:54 +08:00
Peter Dragun
57e188c2e3 fix(monitor/ansi_converter): decode multibyte characters 2023-06-23 09:32:13 +02:00
radim.karnis
7b98762ff5 fix: Compatibility with pyparsing>=3.1.0 2023-06-22 11:29:14 +02:00
KonstantinKondrashov
2bdbcf12a9 freertos: Fix Systick stuck when systimer was not reset
Relates to OTA update for S3/C3 chips from IDF version 4.3 to v5.0 and above
2023-06-21 14:42:34 +00:00
Rahul Tank
da223dd790 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-21 15:55:58 +05:30
wuzhenghui
f030c92d05 bugfix: fix adc current leakage by sar_adc on v5.0 2023-06-21 17:43:53 +08:00
Roland Dobai
96119acc8b Merge branch 'ci/ignore_pkg_resources_deprecation_warning_v5.0' into 'release/v5.0'
ci: ignore pkg_resources deprecation warning (v5.0)

See merge request espressif/esp-idf!24340
2023-06-21 15:36:20 +08:00
Frantisek Hrbata
4068c1d7b4 tools: bump check-copyright in .pre-commit-config.yaml
Newer check-copyright version 1.0.2 contains fixes for copyrights
with single year and also the proposed date update is applied only
if number of changed lines is greater or equal to a limit. The default
limit is 5 and can be changed with the --lines-changed option if needed.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-21 07:06:15 +02:00