Darian Leung
c26d2ad132
freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame
...
The Xtensa FreeRTOS port does not save the threadptr register when
doing a voluntary yield. This can result in a crash when multiple
tasks used the threadptr register and call "taskYIELD()".
This commit adds the threadptr register to the solicited stack frame.
2022-07-04 18:27:57 +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
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 974ac3b4b8
.
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 a84faa3cef
.
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
KonstantinKondrashov
dcc706280d
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-22 16:39:02 +08:00
Sudeep Mohanty
b72f987c5c
ulp: Added ULP RISC-V support for esp32s3
...
This commit adds support for ULP RISC-V for esp32s3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-06-22 13:33:14 +08:00
Scott Mabin
e6964819b4
newlib: dirent d_ino type fix
...
As per the posix spec, `d_ino` should be defined as `ino_t`. See the
reference:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html .
2022-06-21 14:40:13 +01:00
Rahul Tank
9ddf575e42
Nimble: Sync sending Host Number of Completed Packets command
2022-06-21 16:40:59 +05:30
xiongweichao
5020faf559
update hfp_ag version to 1.7.2
2022-06-21 14:41:19 +08:00
Laukik Hase
279ab23244
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs
2022-06-21 11:17:09 +05:30
Jiang Jiang Jian
6c5fb29c2c
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday_v4.4' into 'release/v4.4'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday (v4.4)
See merge request espressif/esp-idf!18413
2022-06-21 01:27:33 +08:00
Jiang Jiang Jian
746df6107c
Merge branch 'bugfix/bond_not_saved_for_pairing_again' into 'release/v4.4'
...
Bugfix/bond not saved properly after re-pairing
See merge request espressif/esp-idf!18235
2022-06-21 00:21:13 +08:00