Jiacheng Guo
ce7c936633
vfs: reduce lock in vfs_select
2021-11-29 17:32:43 +08:00
Omar Chebib
581f1c4550
FreeRTOS: Fix xStreamBufferReset function always crashing
...
This function resets the spinlock given as a parameter after taking it
(when entering the critical section). This then results in a panic once
it tries to exit the same critical section.
* Closes https://github.com/espressif/esp-idf/issues/7725
2021-11-29 15:31:30 +08:00
Jiang Jiang Jian
75fa6d7e3f
Merge branch 'feature/add_coex_hci_command_v4.4' into 'release/v4.4'
...
Add hci command to set coexistence status (v4.4)
See merge request espressif/esp-idf!16053
2021-11-29 03:23:32 +00:00
Mahavir Jain
a524bd85fd
Merge branch 'bugfix/bootloader_utility_warnings_v4.4' into 'release/v4.4'
...
bootloader_support: Fix compiler warnings (v4.4)
See merge request espressif/esp-idf!16139
2021-11-26 13:32:28 +00:00
Roland Dobai
3c02b30a54
Merge branch 'bugfix/app_trace_tmo_init_v4.4' into 'release/v4.4'
...
startup: init timer before calling esp_apptrace_tmo_init (v4.4)
See merge request espressif/esp-idf!16136
2021-11-26 11:53:09 +00:00
Jakob Hasse
8179e858a9
docs(pthread): documentation about reader-writer-lock impl
2021-11-26 16:21:03 +08:00
Isha Pardikar
8fec43eecb
Merge branch 'nimble/add_throughput_example' into 'master'
...
NimBLE throughput example: Changed write api to write without response
See merge request espressif/esp-idf!16138
2021-11-26 12:07:11 +05:30
Island
19727b4968
Merge branch 'docs/examples_bluedroid_ble50_v4.4' into 'release/v4.4'
...
Readme for the bluedroid ble50 example with tutorial of walkthrough example (v4.4)
See merge request espressif/esp-idf!16099
2021-11-26 06:35:06 +00:00
Jiang Jiang Jian
fe91b306e4
Merge branch 'bugfix/multi_heap_get_info_impl_backport_v4.4' into 'release/v4.4'
...
heap: fix multi_heap_get_info_impl(backport v4.4)
See merge request espressif/esp-idf!16119
2021-11-26 05:44:49 +00:00
Gustavo Henrique Nihei
6f6538f053
bootloader_support: Fix unused-but-set-variable compiler warning
...
When building with BOOTLOADER_LOG_LEVEL lesser then VERBOSE, an error
code variable was being set but not consumed, resulting in a compiler
warning.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-26 01:34:42 -03:00
Gustavo Henrique Nihei
d21ef9b10a
bootloader_support: Fix unused-variable compiler warning
...
Builds for every chip other than ESP32 resulted in a compiler warning
due to "drom_load_addr_aligned" and "irom_load_addr_aligned" not being
used, besides being possible to actually reuse them.
Furthermore, extended the logic for the other similar variables.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-26 01:34:40 -03:00
Prasad Alatkar
279e135c8f
NimBLE throughput example: Add espressif license
2021-11-26 10:03:06 +05:30
Prasad Alatkar
76e3e3476e
NimBLE throughput example: make multi target support readable
2021-11-26 10:03:06 +05:30
Prasad Alatkar
ed43a4eb50
NimBLE: Add throughput demo examples
...
- Added blecent_throughput(client) and bleprph_throughput(server) examples to
demonstrate application throughput.
2021-11-26 10:03:06 +05:30
isha pardikar
1ef94299a5
Merge branch 'nimble_spp' of ssh://gitlab.espressif.cn:27227/espressif/esp-idf into 'release/v4.4'
...
Nimble: Added BLE SPP Service
Closes: https://github.com/espressif/esp-idf/issues/7303
See merge request espressif/esp-idf!16122
2021-11-26 09:58:42 +05:30
Erhan Kurubas
b748053e2e
startup: init timer before calling esp_apptrace_tmo_init
2021-11-25 23:58:36 +01:00
Mahavir Jain
41906a8d31
freertos: fix thread safety for checking scheduler state
...
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-25 15:43:07 +05:30
Wang Meng Yang
02237e4b77
Merge branch 'bugfix/bt_assert_failed_when_interrupt_hlevel_disable_v4.4' into 'release/v4.4'
...
component/bt: fix assert fail when interrupt hlevel disable(backport release/v4.4)
See merge request espressif/esp-idf!16043
2021-11-25 06:30:08 +00:00
Anton Maklakov
98a932d406
Merge branch 'feature/docker_build_use_git_mirror_v4.4' into 'release/v4.4'
...
ci: use LOCAL_GIT_MIRROR in docker build job, if set (v4.4)
See merge request espressif/esp-idf!16110
2021-11-25 05:33:42 +00:00
gaoxiaojie
666218d753
heap: fix multi_heap_get_info_impl
2021-11-25 10:34:06 +08:00
Ivan Grokhotkov
ac6793c02a
ci: use LOCAL_GIT_MIRROR in docker build job, if set
...
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-24 15:40:36 +01:00
Sergei Silnov
adf61033a7
ci: Remove component manager test from build system tests
...
Component manager itself has a set of integration tests
that run against different ESP-IDF versions
2021-11-24 13:49:46 +01:00
satish.solanke
426c79c7ad
Readme for the bluedroid ble50 example with tutorial of walkthrough example.
2021-11-24 14:56:53 +05:30
Roland Dobai
4ce9678c2b
Merge branch 'feature/json_schema_for_idf_size_v4.4' into 'release/v4.4'
...
tools: add json schema for idf_size (v4.4)
See merge request espressif/esp-idf!15959
2021-11-24 09:00:09 +00:00
Mahavir Jain
c193371028
Merge branch 'bugfix/bootloader_debug_buffers_v4.4' into 'release/v4.4'
...
bootloader_support: Fix and re-enable bootloader_debug_buffer function (v4.4)
See merge request espressif/esp-idf!16073
2021-11-24 03:38:57 +00:00
Gustavo Henrique Nihei
18dc2cfcc2
bootloader_support: Fix and re-enable bootloader_debug_buffer function
...
The body of the bootloader_debug_buffer function was conditioned to
macros that were never defined, resulting in deactivated code.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-11-23 09:01:24 -03:00
xiewenxiang
d7995a650e
component/bt: fix assert fail when interrupt hlevel disable
2021-11-23 19:50:54 +08:00
Jiang Jiang Jian
8539939c7d
Merge branch 'bugfix/nimble_dirty_timer_handle_after_deinit_v4.4' into 'release/v4.4'
...
[NimBLE]: clear timer handler during de-initialization(backport for v4.4)
See merge request espressif/esp-idf!16028
2021-11-23 07:15:50 +00:00
Jiang Jiang Jian
e073663660
Merge branch 'bugfix/11kv_scan_event_removal_v4.4' into 'release/v4.4'
...
esp_wifi: Fixes related to 802.11kv (v4.4)
See merge request espressif/esp-idf!16034
2021-11-23 07:15:31 +00:00
Jiang Jiang Jian
09a892a44f
Merge branch 'bugfix/sleep_wrong_log_lvl_v4.4' into 'release/v4.4'
...
Sleep: fix wrong debug level (backport v4.4)
See merge request espressif/esp-idf!16036
2021-11-23 07:15:02 +00:00
Jiang Jiang Jian
958d63a8d2
Merge branch 'bugfix/fix_static_check_error_mr_4.4' into 'release/v4.4'
...
Fix the high-impact issues from the code analysis report from customer.
See merge request espressif/esp-idf!16044
2021-11-23 07:14:41 +00:00
Mahavir Jain
81e0c7f662
Merge branch 'bugfix/nvs_partition_encrypted_flag_compatibility_v4.4' into 'release/v4.4'
...
nvs: add config to ignore "encrypted" flag of nvs partitions (v4.4)
See merge request espressif/esp-idf!15920
2021-11-23 05:46:44 +00:00
xiongweichao
a24ea59820
Add hci command to set coexistence status
2021-11-23 11:34:34 +08:00
xiongweichao
d43f5af6ef
Missing break in switch
2021-11-23 11:31:06 +08:00
xiongweichao
c48dec0d44
Dereference null return value
2021-11-23 11:31:06 +08:00
xiongweichao
74be458e62
already defined in bt_target.h
2021-11-23 11:31:06 +08:00
xiongweichao
a946b6042a
Dereference after null check
2021-11-23 11:31:06 +08:00
xiongweichao
abbc552f5f
Dereference before null check
2021-11-23 11:31:06 +08:00
xiongweichao
86ea712aa4
Logically dead code
2021-11-23 11:31:06 +08:00
“YangZhao”
4345e15f23
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 19:41:50 +08:00
Darian Leung
c5efb55d43
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 18:42:10 +08:00
Omar Chebib
2ca86a3eaf
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 16:32:21 +08:00
Kapil Gupta
1780c7d8da
esp_wifi: Remove scan done event for supplicant scans
...
Closes https://github.com/espressif/esp-idf/issues/7423
2021-11-22 13:37:42 +05:30
Kapil Gupta
57dc6de613
wpa_supplicant: Fix compilation error when debug enabled
...
Closes https://github.com/espressif/esp-idf/issues/7789
2021-11-22 13:37:42 +05:30
Kapil Gupta
e5091bb7af
wpa_supplicant: Optimize BTM request scan
2021-11-22 13:37:42 +05:30
Jiang Jiang Jian
4aa2ca369b
Merge branch 'ci/add_esp32s3_ssc_build_jobs_v4.4' into 'release/v4.4'
...
CI: add esp32s3 SSC build jobs
See merge request espressif/esp-idf!15910
2021-11-22 07:43:44 +00:00
Jiang Jiang Jian
81ce15f0e0
Merge branch 'bugfix/fix_esp32s3_usb_otg_v4.4' into 'release/v4.4'
...
esp_phy: fix esp32s3 phy work with USB-OTG issue(v4.4)
See merge request espressif/esp-idf!15914
2021-11-22 06:17:21 +00:00
Wang Meng Yang
7816b597a1
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_4.4' into 'release/v4.4'
...
fix modem sleep hw error
See merge request espressif/esp-idf!16017
2021-11-22 03:33:54 +00:00
wangmengyang
9d67cd8ac6
[nimble]: clear timer handler during de-initialization
2021-11-22 11:17:23 +08:00
Anton Maklakov
ddc44956bf
Merge branch 'bugfix/esp32s3_esp_timer_test_failure_v4.4' into 'release/v4.4'
...
examples: esp_timer: disable secondary console for S3/C3 that can affect test timing (v4.4)
See merge request espressif/esp-idf!16021
2021-11-19 14:35:01 +00:00