Commit Graph

14364 Commits

Author SHA1 Message Date
Jiang Jiang Jian
d949df8dcb Merge branch 'bugfix/ext_adv_param_check_v4.4' into 'release/v4.4'
Bluedroid: fix channel map of ext adv params check for v4.4

See merge request espressif/esp-idf!18890
2022-07-06 17:21:27 +08:00
Jiang Jiang Jian
bdaeab5de7 Merge branch 'bugfix/xtensa_sol_frame_saves_extra_registers_v4.4' into 'release/v4.4'
freertos: Xtensa solicited stack frame should save threadptr register (v4.4)

See merge request espressif/esp-idf!18853
2022-07-06 17:19:32 +08:00
Jiang Jiang Jian
8546527213 Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env_v4.4' into 'release/v4.4'
bugfix/restore edr_en and add protect for vhci_env (v4.4)

See merge request espressif/esp-idf!18811
2022-07-06 17:15:54 +08:00
Jiang Jiang Jian
a3f72a9310 Merge branch 'feature/esp_docs_1.0.0_v4.4' into 'release/v4.4'
docs: update esp-docs to 1.0.0  (v4.4)

See merge request espressif/esp-idf!18210
2022-07-06 17:14:03 +08:00
chenjianhua
9113f72078 Bluedroid: fix channel map of ext adv params check 2022-07-05 19:44:12 +08:00
Marius Vikhammer
90e58c3721 docs: fix all doxygen warnings
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-07-05 11:14:40 +08:00
Jiang Jiang Jian
690f802b1c Merge branch 'bugfix/not_use_malloc_in_bluedroid_v4.4' into 'release/v4.4'
component/bt: use osi_malloc instead of malloc in bluedroid

See merge request espressif/esp-idf!18843
2022-07-04 20:05:46 +08:00
Jiang Jiang Jian
977a040301 Merge branch 'bugfix/fix_sink_wrong_sniff_params_v4.4' into 'release/v4.4'
Fix A2DP Sink Wrong Sniff Parameters which Caused by HID Porting[backport 4.4]

See merge request espressif/esp-idf!18801
2022-07-04 19:57:53 +08:00
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
baohongde
65ed4b5339 component/bt: use osi_malloc instead of malloc in bluedroid 2022-07-04 16:10:25 +08:00
Marius Vikhammer
27cd55dca1 docs: fix broken links 2022-07-04 11:05:49 +08:00
jincheng
f3917d1706 restore edr_en which wrongly cleared by rsw
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
2022-07-01 19:28:36 +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 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