Commit Graph

20999 Commits

Author SHA1 Message Date
“YangZhao”
12ec4866b8 Fix the high-impact issues from the code analysis report from customer.
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
Omar Chebib
a857f52107 Merge branch 'bugfix/sleep_wrong_log_lvl' into 'master'
Sleep: fix wrong print function in critical section

Closes IDFGH-6273

See merge request espressif/esp-idf!16027
2021-11-22 08:14:24 +00:00
Aditya Patwardhan
be65338212 secure_boot: Fix warning when UART ROM DL mode is disabled
*Additionally use updated calls to enable rom secure download mode
2021-11-22 12:01:15 +05:30
Island
704994785a Merge branch 'docs/examples_bluedroid_ble50' into 'master'
Readme for the bluedroid ble50 example with tutorial of walkthrough example

See merge request espressif/esp-idf!15606
2021-11-22 06:29:56 +00:00
Jiang Jiang Jian
5f86e13455 Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit' into 'master'
[nimble]: clear timer handle during de-initialization

See merge request espressif/esp-idf!15950
2021-11-22 05:45:44 +00:00
Kapil Gupta
e0206afdfa Merge branch 'bugfix/11kv_scan_event_removal' into 'master'
esp_wifi: Fixes related to 802.11kv

Closes WIFI-4030, IDFGH-5703, and IDFGH-6112

See merge request espressif/esp-idf!15282
2021-11-22 05:40:19 +00:00
Darian Leung
9b3796d2f1 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()

Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()

Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
  thus the spinlock test pass threshold had to be increased to account for the extra runtime.

Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 13:28:39 +08:00
Laukik Hase
eb766a25e0 gh_actions: Sync approved PRs to internal codebase
- Changed trigger from pull_request_review to pull_request_target [labeled]
2021-11-22 12:56:42 +08:00
Mahavir Jain
7207a3c4d5 Merge branch 'bugfix/improve_ota_test_success_rate' into 'master'
OTA examples: Reduce example test failure rate

See merge request espressif/esp-idf!15953
2021-11-22 04:49:46 +00:00
Jakob Hasse
a052b37ab1 Merge branch 'bugfix/cxx_gpio_explicit_constructor' into 'master'
bugfix (cxx)!: added missing explicit for some strong value types

Closes IDF-4234

See merge request espressif/esp-idf!16015
2021-11-22 02:57:12 +00:00
Omar Chebib
c676b83d2f Sleep: fix wrong debug level
Fix usage of ESP_LOGD in sleep_modes.c which triggers a panic when
used in debug log level.

* Closes https://github.com/espressif/esp-idf/issues/7942
2021-11-22 10:52:19 +08:00
Kapil Gupta
4cbd4b19cb esp_wifi: Remove scan done event for supplicant scans
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-20 18:25:55 +05:30
Kapil Gupta
fa8f057ba8 wpa_supplicant: Fix compilation error when debug enabled
Closes https://github.com/espressif/esp-idf/issues/7789
2021-11-20 18:24:56 +05:30
Kapil Gupta
27e3422a23 wpa_supplicant: Optimize BTM request scan 2021-11-20 18:24:56 +05:30
Shubham Kulkarni
d959a35e28 advanced_https_ota: Move example tests on ethernet runners
Move BT tests to nightly run
2021-11-19 15:07:31 +05:30
Shubham Kulkarni
91ccac08f8 native_ota_example: Move all example tests to ethernet based runners 2021-11-19 15:07:31 +05:30
Shubham Kulkarni
40a72ef3cf simple_ota_example: Move redundant and failing example_tests to nightly run 2021-11-19 15:07:31 +05:30
Shubham Kulkarni
afa0a68c31 target-test.yml: Add EXAMPLE_ETH_OTA runner to OTA on ethernet based runners 2021-11-19 15:07:31 +05:30
Jakob Hasse
ce7cdeffb4 bugfix (cxx)!: added missing explicit for some strong value types
BREAKING CHANGE: Users who have been using the GPIO and SPI classes
                 may need to revisit their code as it's now not allowed
                 anymore to pass raw numbers for classes like MOSI
                 or GPIONum.
2021-11-19 16:07:32 +08:00
Roland Dobai
451ce8a7ed Merge branch 'feat/msys_migr_doc' into 'master'
Docs: Add migration guide for Windows environment (Msys/Mingw was removed)

See merge request espressif/esp-idf!16010
2021-11-19 07:12:56 +00:00
wangmengyang
8cfffa260b [nimble]: clear timer handler during de-initialization 2021-11-19 15:08:55 +08:00
satish.solanke
b523256c49 Readme for the bluedroid ble50 example with tutorial of walkthrough example. 2021-11-19 12:04:47 +05:30
Isha Pardikar
28db922cfd Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
Fix for potential allocation bug in protocomm_nimble.c

Closes IDFGH-6005

See merge request espressif/esp-idf!15669
2021-11-19 04:47:44 +00:00
Harshit Malpani
cfa896ec54 feature: Checking Certificate Expiry 2021-11-19 09:43:27 +05:30
Anton Maklakov
a7347cdf1a Merge branch 'feat/add_track_startup_time_to_startup_time_example' into 'master'
feat: Added tracking startup_time example startup times

Closes IDFCI-823

See merge request espressif/esp-idf!14976
2021-11-19 03:08:52 +00:00
Wang Meng Yang
2ee3c7b542 Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
NimBLE: Fixed wifi_prov_mgr crash after provisioning

See merge request espressif/esp-idf!15793
2021-11-19 02:59:12 +00:00
Wang Meng Yang
83a5823564 Merge branch 'bugfix/fix_device_name_len_limited_mr' into 'master'
Fix the issue of device name len limited

Closes BT-2066

See merge request espressif/esp-idf!15880
2021-11-19 02:36:25 +00:00
Wang Meng Yang
412808909c Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_master' into 'master'
fix modem sleep hw error

See merge request espressif/esp-idf!15824
2021-11-19 02:34:39 +00:00
Wei Tian Hua
4d3323d4cc Merge branch 'bugfix/leedarson_master' into 'master'
component_bt: Fix some code logic errors

Closes BT-2079

See merge request espressif/esp-idf!15943
2021-11-19 02:03:15 +00:00
Darian
098dfe8a08 Merge branch 'bugfix/doc_for_ipc_isr' into 'master'
doc: Update esp_ipc documentation

See merge request espressif/esp-idf!15661
2021-11-18 17:01:35 +00:00
Jakob Hasse
8337dd8a27 Merge branch 'refactor/i2c_cxx_align_example' into 'master'
C++ I2C example now uses MPU9250 intead of MCP9808

See merge request espressif/esp-idf!15991
2021-11-18 14:58:54 +00:00
KonstantinKondrashov
209702d055 esp_ipc: Update documentation and API descriptions
This commit updates the documentation and API descriptions of
the esp_ipc and esp_ipc_isr features.
2021-11-18 21:34:50 +08:00
Roland Dobai
3ce9bd995e Docs: Add migration guide for Windows environment (Msys/Mingw was removed) 2021-11-18 14:08:48 +01:00
xiongweichao
ce2d72ddfb Missing break in switch 2021-11-18 19:47:09 +08:00
xiongweichao
5152b33385 Dereference null return value 2021-11-18 19:47:09 +08:00
xiongweichao
1bada6c0f6 already defined in bt_target.h 2021-11-18 19:47:09 +08:00
xiongweichao
752b1976c0 Dereference after null check 2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110 Dereference before null check 2021-11-18 19:38:48 +08:00
xiongweichao
564f9e8f68 Logically dead code 2021-11-18 19:38:48 +08:00
Jakob Hasse
de6bc33f3c refactor (cxx): C++ I2C example now uses MPU9250 instead of MCP9808
Also fixes the documentation of I2CTransfer::sync_transfer().
2021-11-18 19:07:44 +08:00
Roland Dobai
460f3ad7b6 Merge branch 'feat/drop_msys' into 'master'
Tools: Remove MSYS/Mingw support

Closes IDF-3954

See merge request espressif/esp-idf!15862
2021-11-18 10:58:43 +00:00
isha pardikar
7377f8a5a6 Merge branch 'bugfix/protocomm_nimble_allocation' into 'master'
NimBLE: Fixed potential allocation bug in protocomm_nimble.c

Closes https://github.com/espressif/esp-idf/issues/7689

See merge request espressif/esp-idf!15669
2021-11-18 14:15:08 +05:30
Yang Zhao
3b84612582 Update esp32 bt-lib
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if neesed.
2021-11-18 15:23:36 +08:00
Anton Maklakov
231571301c Merge branch 'feature/oocd_ver_upgrade' into 'master'
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'

See merge request espressif/esp-idf!15911
2021-11-18 07:21:44 +00:00
Marius Vikhammer
f6389d5e58 Merge branch 'bugfix/pdf_build_cn_invalid_char' into 'master'
docs: remove invalid symbol from ota.rst file

Closes IDFCI-977

See merge request espressif/esp-idf!16004
2021-11-18 06:08:43 +00:00
Jiang Jiang Jian
aa2047a83f Merge branch 'mesh/bugfix_fix_layer2_node_connection_issue' into 'master'
mesh: fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared

See merge request espressif/esp-idf!15181
2021-11-18 03:55:00 +00:00
Marius Vikhammer
b6a06b7533 docs: remove invalid symbol from ota.rst file 2021-11-18 11:37:09 +08:00
Zim Kalinowski
d7d280b9df Merge branch 'staging/improve_riscv_vector_s_file' into 'master'
RISC-V: Fix vectors.S assembly file indentation and macro usage

See merge request espressif/esp-idf!15927
2021-11-18 00:50:35 +00:00
isha pardikar
e2a37b2712 Merge branch 'bugfix/wifi_prov_mgr_crash' into 'master'
NimBLE: Fixed wifi_prov_mgr crash after provisioning

See merge request espressif/esp-idf!15793
2021-11-17 18:35:40 +05:30
Lv Xin Yue
1172177e16 Merge branch 'doc/add_esp32s3-kevkitm-1_user_guide_cn_and_en' into 'master'
Doc/add esp32s3 kevkitm 1 user guide cn and en

See merge request espressif/esp-idf!15954
2021-11-17 11:13:35 +00:00