jincheng
59b50180a0
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-01 19:21:37 +08:00
Alexey Lapshin
09289fe451
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-07-01 15:19:21 +04:00
zhangyanjiao
53c186af26
esp_wifi: backport some wifi fix
...
1.Update wifi doc for espnow/LR/fix rate/disable 11b/multiple antennas
2.Optimization example of wifi station
3.Optimize the null pointer judgment of eb
4.Bugfix for close sniffer mode when wifi stop
5.Fix deep sleep can't reconnect to ap when pmf enable.
6.Fix some ap will ignore auth when rx deauth for a while.
7.Fixed espnow recv unencrypted packets issue
8.Fix not update phy according to country code.
9.Update regdomain max channel according to country info from nvs and or AP.
10.Channel 14 is allowed only 11b mode.
11.Remove csa when switch channel from/to 14 channel.
12.Update phy mode nvs when softap channel from 14 to other.
13.Fix the bug that check whether channel parameter is valid.
2022-07-01 17:39:53 +08:00
xueyunfei
d9a278827c
optimize the null pointer judgment of eb
2022-07-01 17:39:53 +08:00
Jessy Chen
31035183da
esp_wifi: update esp_wifi_internal_set_fix_rate usage
2022-07-01 17:39:53 +08:00
Jessy Chen
29432233f8
esp_wifi: update noise floor unit
2022-07-01 17:39:53 +08:00
xueyunfei
05770a1f52
Doc:update wifi api docs
...
* Add documents related to espnow config rate
* Optimization set dns server api description
2022-07-01 17:39:53 +08:00
zhangyanjiao
254ec47ae4
update wifi api docs
2022-07-01 17:39:53 +08:00
Jiang Jiang Jian
c9140caf8c
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh(v4.4)
See merge request espressif/esp-idf!18791
2022-07-01 17:17:39 +08:00
Jiang Jiang Jian
9616ef8ee8
Merge branch 'bugfix/wifi_condition_linker_mapping_v4.4' into 'release/v4.4'
...
esp_wifi: Fix linking of WiFi functions dependent on PM_ENABLE (v4.4)
See merge request espressif/esp-idf!18796
2022-07-01 17:17:21 +08:00
liqigan
4f598d2ec3
fix sink wrong sniff params which caused by HID porting
2022-07-01 14:49:54 +08:00
Jiang Jiang Jian
597ff180d8
Merge branch 'bugfix/fix_stale_pmf_config_v4.4' into 'release/v4.4'
...
Fix stale PMF config in NVS issue (Backport v4.4)
See merge request espressif/esp-idf!18662
2022-07-01 13:54:42 +08:00
Darian Leung
41b9e66082
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-07-01 12:29:35 +08:00
wangjialiang
23e482feeb
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-07-01 11:42:07 +08:00
Jiang Jiang Jian
69951819a0
Merge branch 'bugfix/s3_increase_static_alloc_size_v4.4' into 'release/v4.4'
...
bootloader, esp_system: increase static allocation space for esp32s3 (v4.4)
See merge request espressif/esp-idf!18685
2022-07-01 10:54:25 +08:00
Jiang Jiang Jian
b9e018aa53
Merge branch 'bugfix/ledc_auto_clk_refactor_v4.4' into 'release/v4.4'
...
LEDC: improved support for ESP32-C3 and refactored divisor calculation (v4.4)
See merge request espressif/esp-idf!17101
2022-07-01 10:52:00 +08:00
Jiang Jiang Jian
cb012683ff
Merge branch 'bugfix/spiffs_readdir_errno_v4.4_2' into 'release/v4.4'
...
spiffs: update submodule to fix SPIFFS_readdir errno issue (v4.4)
See merge request espressif/esp-idf!18637
2022-07-01 10:51:45 +08:00
Jiang Jiang Jian
1bd2e3f9df
Merge branch 'feature/s3_ulp_support_v4.4' into 'release/v4.4'
...
ulp: Added ULP support for esp32s3 (v4.4)
See merge request espressif/esp-idf!18621
2022-07-01 10:51:18 +08:00
Jiang Jiang Jian
cd2f38a7bb
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst_v4.4' into 'release/v4.4'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0 (v4.4)
See merge request espressif/esp-idf!17871
2022-07-01 10:43:40 +08:00
Jiang Jiang Jian
e8c7364fa3
Merge branch 'bugfix/mbedtls_free_keypair_v4.4' into 'release/v4.4'
...
Nimble: Fixed memory leak while generating keypair using embedtls v4.4
See merge request espressif/esp-idf!18775
2022-07-01 10:43:19 +08:00
muhaidong
52c78344c1
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-06-30 17:12:05 +08:00
Nachiket Kukade
279638a39b
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-30 14:28:32 +05:30
Jiang Jiang Jian
d5ed8f9db6
Merge branch 'feat/revert_touch_s3_v4.4' into 'release/v4.4'
...
touch: Added support for using touch in sleep modes back on ESP32-S3 (v4.4)
See merge request espressif/esp-idf!18691
2022-06-30 16:55:23 +08:00
Jiang Jiang Jian
7804d1c4db
Merge branch 'bugfix/esp32s2_startup_garbled_output_v4.4' into 'release/v4.4'
...
esp_system: fix garbled UART output on startup on esp32s2 (v4.4)
See merge request espressif/esp-idf!18750
2022-06-30 16:52:11 +08:00
Rahul Tank
ec6155dff1
Nimble: Fixed memory leak while generating keypair using embedtls
2022-06-30 14:21:54 +05:30
Jiang Jiang Jian
f015bcdaed
Merge branch 'bugfix/a_small_fix_for_multi_heap_backport_v4.4' into 'release/v4.4'
...
Heap: fix param passed to assert_valid_block, should be block not ptr(backport v4.4)
See merge request espressif/esp-idf!18673
2022-06-30 16:51:28 +08:00
Jiang Jiang Jian
d1ae2b8ffd
Merge branch 'bugfix/app_trace_iram_v4.4' into 'release/v4.4'
...
apptrace: move all apptrace related functions to IRAM (v4.4)
See merge request espressif/esp-idf!18728
2022-06-30 16:50:55 +08:00
Jiang Jiang Jian
7c28a05c69
Merge branch 'bugfix/configure_link_encryption_for_charac_v4.4' into 'release/v4.4'
...
WifiProv: Add configuration support for forcing link encryption (v4.4)
See merge request espressif/esp-idf!18660
2022-06-30 16:49:26 +08:00
Jiang Jiang Jian
55773f878d
Merge branch 'bugfix/mbedtls_custom_cert_ut_v4.4' into 'release/v4.4'
...
ci: Fix `custom certificate bundle` UT failure for S3 (v4.4)
See merge request espressif/esp-idf!18658
2022-06-30 16:48:45 +08:00
Jiang Jiang Jian
46cff3cd1c
Merge branch 'feature/add_filter_seq_auth_config_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Add filter old seq_auth packet menuconfig(v4.4)
See merge request espressif/esp-idf!18649
2022-06-30 16:48:01 +08:00
Jiang Jiang Jian
d76d3580c6
Merge branch 'wifi_prov_mgr/wpa3_psk_v4.4' into 'release/v4.4'
...
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs (v4.4)
See merge request espressif/esp-idf!18601
2022-06-30 16:46:53 +08:00
Jiang Jiang Jian
93d8cf3eb6
Merge branch 'bugfix/sync_host_nocp_cmd_v4.4' into 'release/v4.4'
...
Nimble: Sync sending Host Number of Completed Packets command
See merge request espressif/esp-idf!18607
2022-06-30 16:39:58 +08:00
Jiang Jiang Jian
1b17711caa
Merge branch 'bugfix/dirent-definition_v4.4' into 'release/v4.4'
...
newlib: dirent d_ino type fix (v4.4)
See merge request espressif/esp-idf!18611
2022-06-30 16:39:39 +08:00
Jiang Jiang Jian
b784b1c239
Merge branch 'feature/update_hfp_ag_version_v4.4' into 'release/v4.4'
...
component_bt: update hfp_ag version to 1.7.2(v4.4)
See merge request espressif/esp-idf!18603
2022-06-30 16:37:14 +08:00
Jiang Jiang Jian
e8ea685214
Merge branch 'bugfix/sap_mode_change_crash_issue_v4.4' into 'release/v4.4'
...
Fixes for SAP mode change and PMF issues (Backport v4.4)
See merge request espressif/esp-idf!18590
2022-06-30 16:33:58 +08:00
Ivan Grokhotkov
74e9376022
esp_system: fix garbled UART output on startup on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/9168
2022-06-29 12:33:05 +02:00
Marius Vikhammer
3c358dd074
ulp: only enable relevant wakeup sources for ULP
...
Do not enable co-processor trap wakeup source when running ULP FSM, as this
could cause spurious wake-ups.
2022-06-29 11:57:05 +08:00
Sudeep Mohanty
a0e3d488da
ulp: Added support for ULP FSM on esp32s3 and fixed bugs for esp32s2
...
This commit enables ULP FSM support for esp32s3 and updates ULP FSM code
flow for other chips.
It adds C Macro support for the ULP FSM instruction set on esp32s2 and
esp32s3.
The unit tests are also updated to test ULP FSM on ep32s2 and esp32s3.
2022-06-29 11:57:02 +08:00
intern
74d745a80b
docs: update cn trans for upl docs
2022-06-29 11:56:59 +08:00
Marius Vikhammer
dafcb9a883
apptrace: move all apptrace related functions to IRAM
...
Closes: https://github.com/espressif/esp-idf/issues/9131
2022-06-29 10:17:48 +08:00
Michael (XIAO Xufeng)
d424b93192
Revert "touch: add protection for touch sleep case"
...
This reverts commit 974ac3b4b820261b99d16baf0bd4bb009e067736.
2022-06-27 14:33:09 +08:00
Michael (XIAO Xufeng)
c3c802d9b8
Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
...
This reverts commit a84faa3cefc7927918665bf507de4b71f932d403.
2022-06-27 14:33:09 +08:00
Ivan Grokhotkov
6e6b9ec5a6
bootloader, esp_system: increase static allocation space for esp32s3
...
The previously used splits between memory allocated for ROM code,
2nd stage bootloader and the app were somewhat safe and conservative.
This resulted in some space being unavailable for static allocation
in the app.
This commit increases the space available for static allocation to the
maximum possible amount.
1. Some of the ROM code static allocation is only used in UART/USB/SPI
download modes. This region ("shared buffers") has been placed at
the lower end of ROM memory area, to be reusable in flash boot
mode. The 2nd stage bootloader linker script is modified to "pack"
all sections exactly up to the end but with roughly 8K margin between
startup stacks.
2. Instead of calculating the sections placement and hardcoding the
addresses in the LD script again, rewrite it to calculate the
start address of each memory region automatically based on the
logic above.
3. Adjust the app memory layout (SRAM_IRAM_END) accordingly,
increasing the space available for static allocation.
Overall these changes increase the space available for static
allocation by about 78kB.
The downside of these changes is that the 2nd stage bootloader .data
segment is now directly adjacent to the startup stack on the PRO CPU.
Previously, there was effectively about 78kB of extra stack space for
the PRO CPU, before the stack would run into the data segment.
2022-06-27 09:22:01 +05:30
jingli
41a0757bcc
fix param passed to assert_valid_block, should be block not ptr
2022-06-23 21:43:53 +08:00
Rahul Tank
7a01fe7a71
WifiProv: Extended support for configuring if link encryption is needed
...
when attempting to read / write characteristic to bluedroid stack
2022-06-23 17:44:38 +05:30
Laukik Hase
9e2369cb79
ci: Enable custom certificate bundle
test for ESP32-S3
...
- Increase leakage limit for `test performance RSA key operations`
UT by 64 bytes
2022-06-23 16:32:26 +05:30
Laukik Hase
e114850dda
mbedtls: Acquire lock before enabling MPI (RSA) hardware
...
- For ESP32-S3
2022-06-23 16:32:26 +05:30
wangjialiang
b82782f109
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-23 16:17:20 +08:00
Martin Vychodil
1736fdf256
spiffs: update submodule to fix SPIFFS_readdir errno issue
...
See https://github.com/pellepl/spiffs/pull/288 for the description of the issue.
Reported in https://github.com/esp-rs/rust/issues/117#issuecomment-1142159661
2022-06-22 17:52:17 +02:00
KonstantinKondrashov
c563d799fe
efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort
2022-06-22 17:16:26 +08:00