Darian Leung
0d846ffe26
fix(freertos/idf): Add missing vPortSetStackWatchpoint() call
...
This commit restores a missing call to vPortSetStackWatchpoint() in the
V10.5.1 kernel.
2023-10-21 04:39:16 +08:00
Darian Leung
6c6a6ad44a
fix(freertos/idf): Add workaround for same priority preemption in xTaskIncrementTick()
...
This commit temporarily disables a bugfixed introduced by FreeRTOS v10.5.1 that
ensures timed out tasks will only preempt if their priority is higher than the
currently running task.
This bugfix has been temporarily reversed due to some compatibility issues with
some IDF tests.
2023-10-21 04:39:16 +08:00
Darian Leung
4d14717e77
fix(freertos/idf): Add work around vTaskResumeAll() compiler optimization
...
This commit adds a workaround for a compiler optimization issue in FreeRTOS
v10.5.1 in xTaskResumeAll() where pxTCB is only read once, even if in a loop.
A follow up ticket has been added to properly resolve this issue.
2023-10-21 04:39:16 +08:00
Darian Leung
0c15815c2b
fix(freertos/idf): vTaskStepTick assertions in SMP
...
Fixes vTaskStepTick() assertions in SMP, where SMP uses critical sections
instead of scheduler suspension when handling tickless idling.
2023-10-21 04:39:16 +08:00
Darian Leung
ec1ba78b7c
fix(freertos/idf): Fix utility function performance
...
This commit optimizes the following utility functions to achieve higher
overall system performance:
xTaskGetCurrentTaskHandle():
- Made into stand alone function instead of wrapper call to "ForCore" variant
- Replaced critical sections with disabling interrupts. Lack of lock contention
improves performance.
xTaskGetCurrentTaskHandleForCore():
- Removed unecessary critical sections
xTaskGetSchedulerState():
- Replaced critical sections with disabling interrupts. Lack of lock contention
improves performance.
2023-10-21 04:39:16 +08:00
Darian Leung
b13b9c1163
fix(freertos/idf/linux): Fix configMAX_PRIORITIES for linux port
...
Previously the linux port of FreeRTOS set configMAX_PRIORITIES to 7. However,
multiple linux POSIX simulator examples will call API that create tasks with
priortiies >= 7.
This commit fixes the configMAX_PRIORITIES and unifies all ports to have 25
priorities.
2023-10-21 04:39:16 +08:00
Darian Leung
a23ba22fb7
fix(freertos/cmock): Fix FreeRTOS CMock builds for v10.5.1 kernel
...
This commit fixes the FreeRTOS CMock component in the following ways:
- Updated include directories to work with vanilla FreeRTOS v10.5.1
`#include "portmacro.h"` style inclusion.
2023-10-21 04:39:16 +08:00
Darian Leung
13f3a226bb
change(examples): Update example configurations for FreeRTOS v10.5.1
...
This commit updates the sdkconfig for some examples when building with the
v10.5.1 kernel. The updates fixes the following:
Place FreeRTOS functions into flash
- Some examples use nearly 100% of available IRAM, thus any small increase in
IRAM in other components (e.g., FreeRTOS) will lead to a build error. As a
result, 'CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH' has been enabled in those
examples to save some IRAM.
- Some examples consume too much flash memory, leading to the 'factory'
parition overflowing. IN those examples,
'CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE' has been enabled to use a larger
'factory' partition.
2023-10-21 04:39:16 +08:00
Darian Leung
5c0449a63a
change(freertos/idf): Update single-core macros to prevent unused variable error
...
Various convenience macros in tasks.c will simply leave macro arguments unused
when built for single-core. This leads to an 'unused variable' warning.
This commit updates those macrso so that the unused arguments have a
'(void)' statement.
2023-10-21 04:39:16 +08:00
Darian Leung
82ad04e3ba
change(freertos/idf): Update version number, licenses, and sbom to v10.5.1
...
Following the upgrade to FreeRTOS kernel v10.5.1, this commit updates the
version numbers, licenses, and SBOM files of FreeRTOS files to reflect v10.5.1.
Note:
- Updated licenses as v10.5.1 now uses SPDX format
- Removed CVE-2021-43997 as it was fixed post v10.4.5
2023-10-21 04:39:16 +08:00
Darian Leung
16ccb31d33
change(freertos/idf): Make v10.5.1 the default kernel
...
This commit makes v10.5.1 the default FreeRTOS kernel in ESP-IDF by removing
the CONFIG_FREERTOS_USE_KERNEL_10_5_1 option and v10.4.3 specific code
blocks.
2023-10-21 04:39:16 +08:00
Darian Leung
2025a77dd6
change(freertos/idf): Move v10.5.1 kernel files
...
This commit moves the v10.5.1 kernel files to the 'FreeRTOS-Kernel' directory.
2023-10-21 04:39:16 +08:00
Darian Leung
fe5a577198
change(freertos/idf): Remove v10.4.3 kernel files
...
This commit removes the v10.4.3 kernel files in prepartion for upgrading to
v10.5.1.
- Portable files still remain
- Added as a separate commit to preserve commit history
2023-10-21 04:39:16 +08:00
Aditya Patwardhan
7b8a2e8119
Merge branch 'fix/https_request_example_build_with_esp_wolfssl' into 'master'
...
fix(esp-tls): Fix the https_request example build for esp-wolfssl
See merge request espressif/esp-idf!26576
2023-10-20 22:31:14 +08:00
Martin Vychodil
8cd898ebee
Merge branch 'docs/nvs_add_return_error_description_for_nvs_open' into 'master'
...
docs: nvs_open* add ESP_ERR_INVALID_ARG to return description
Closes IDF-1528
See merge request espressif/esp-idf!26583
2023-10-20 22:27:42 +08:00
Ivan Grokhotkov
40347c9c27
Merge branch 'feature/app_trace_component_test_app' into 'master'
...
feat(app_trace): migrate the tests from unit-test-app
Closes IDF-5564
See merge request espressif/esp-idf!26273
2023-10-20 21:45:05 +08:00
Jiang Jiang Jian
aa22a66c22
Merge branch 'feat/support_esp32c3_eco7_wifi' into 'master'
...
Feat/support esp32c3(v1.1) wifi
Closes WIFI-6274
See merge request espressif/esp-idf!26132
2023-10-20 19:13:03 +08:00
Rocha Euripedes
c82c00d238
Merge branch 'ci/move_pubconnect_to_nightly' into 'master'
...
ci(mqtt): Move publish tests to nightly
See merge request espressif/esp-idf!26594
2023-10-20 18:30:33 +08:00
Roland Dobai
91da72ef95
Merge branch 'docs/dialout_group_linux' into 'master'
...
docs(get-started): Adjusteded docs flashing part to be more user friendly
Closes IDFGH-11199
See merge request espressif/esp-idf!26411
2023-10-20 16:36:12 +08:00
Aditya Patwardhan
7e6f4d4e87
fix(esp-tls): Fix the https_request example build for esp-wolfssl
2023-10-20 13:43:18 +05:30
Roland Dobai
44fcbe2ea4
Merge branch 'feat/min_config_labels' into 'master'
...
feat(tools/kconfig): add menu labels for min config
Closes IDFGH-8945
See merge request espressif/esp-idf!26312
2023-10-20 15:54:49 +08:00
Armando (Dou Yiwen)
37a5ab0f09
Merge branch 'bugfix/fix_bootloader_random_multiple_build_issue' into 'master'
...
rng: only build bootloader_random apis once
See merge request espressif/esp-idf!26571
2023-10-20 15:48:22 +08:00
Alex Lisitsyn
1c0631ee70
Merge branch 'bugfix/modbus_examples_fix_format_issues' into 'master'
...
modbus: fix -wno-format issues in the examples
Closes IDF-6437
See merge request espressif/esp-idf!26542
2023-10-20 15:27:33 +08:00
Alex Lisitsyn
c5b2291eea
modbus: fix -wno-format issues in the examples
2023-10-20 15:27:33 +08:00
Euripedes Rocha
9628c9b5b8
ci(mqtt): Move publish tests to nightly
...
Publish test cases are prone to fail depending on Ci load.
2023-10-20 07:44:35 +02:00
Rahul Tank
e7e478205b
Merge branch 'bugfix/fix_espcoredump_compilation_warning' into 'master'
...
fix(espcoredump): fixed compilation warning
Closes IDFGH-11151
See merge request espressif/esp-idf!26395
2023-10-20 13:41:47 +08:00
Jiang Jiang Jian
172f3a77bc
Merge branch 'feat/dynamic_integration_pipeline' into 'master'
...
ci: dynamic integration child pipeline
Closes IDFCI-1659 and MTWJ-306
See merge request espressif/esp-idf!25898
2023-10-20 11:12:08 +08:00
alanmaxwell
cd784eb0f1
fix(ci): disable WiFi IRAM option for bleprph_wifi_coex example
2023-10-20 11:02:05 +08:00
alanmaxwell
4d33bf7ee9
feat(wifi): support esp32c3 v1.1 WiFi
...
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-20 11:01:07 +08:00
Jiang Guang Ming
5f00b8a4d5
fix(esp32c3): Update esp32c3 chip revision
2023-10-20 11:01:07 +08:00
Jiang Guang Ming
d1fbec028c
feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720
2023-10-20 11:01:07 +08:00
Shen Wei Long
4c9d181076
Merge branch 'ci/update_bt_examples_build_rules' into 'master'
...
ci: update bluetooth examples build rules
Closes IDFCI-1820 and IDF-8368
See merge request espressif/esp-idf!26271
2023-10-20 10:50:06 +08:00
Armando (Dou Yiwen)
1bce665e73
Merge branch 'feat/sdspi_esp32p4' into 'master'
...
sdspi: supported sdspi on esp32p4
Closes IDF-7501
See merge request espressif/esp-idf!26458
2023-10-20 10:41:44 +08:00
Wang Meng Yang
5557ef4036
Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example' into 'master'
...
fix(bt/bluedroid): Send device status of AG to HF with a different api
Closes BT-3437
See merge request espressif/esp-idf!26350
2023-10-20 09:45:59 +08:00
morris
565b9fd117
Merge branch 'refactor/hal_util_bitwise_reverse8' into 'master'
...
hal: add util function to reverse a 8bit byte
See merge request espressif/esp-idf!26532
2023-10-20 09:43:15 +08:00
Jiang Jiang Jian
865d29ea18
Merge branch 'bugfix/update_ble_lib_1018' into 'master'
...
change(ble): update ble lib on c6 h2 and c2 chip
Closes BLERP-144, BLERP-134, BLERP-143, BLERP-128, BLERP-136, BLERP-135, BLERP-132, BLERP-146, BLERP-147, BLERP-148, BLERP-149, BLERP-150, BLERP-145, BLERP-151, BLERP-152, BLERP-153, BLERP-154, BLERP-155, and BLERP-156
See merge request espressif/esp-idf!26541
2023-10-20 00:40:54 +08:00
Armando (Dou Yiwen)
471f1f61ae
Merge branch 'feature/support_sdmmc_ver2_on_p4' into 'master'
...
sdmmc: esp32p4 support
Closes IDF-6502
See merge request espressif/esp-idf!25405
2023-10-19 22:00:40 +08:00
Jiang Jiang Jian
06822da186
Merge branch 'fix/phy_pll_track_corner' into 'master'
...
fix(esp_phy): fix pll track corner case
Closes WIFIBUG-199
See merge request espressif/esp-idf!26546
2023-10-19 21:33:10 +08:00
Jakub Kocka
9cc213289d
docs(get-started): Adjusteded docs flashing part to be more user friendly
...
Closes https://github.com/espressif/esp-idf/issues/12366
2023-10-19 15:11:34 +02:00
Adam Múdry
6154f22ab3
docs: nvs_open* add ESP_ERR_INVALID_ARG to return description
...
ESP_ERR_INVALID_ARG is returned from underlying functions but this was not easily evident
2023-10-19 14:36:10 +02:00
Rahul Tank
d2e9314c24
fix(espcoredump): fixed compilation warning
...
Added conditional compilation for logging stack usage only when CONFIG_ESP_COREDUMP_LOGS is
enabled.
Closes: https://github.com/espressif/esp-idf/issues/12318
2023-10-19 16:48:28 +05:30
Jiang Jiang Jian
6db16c6e81
Merge branch 'feature/sta_sae_ext_key' into 'master'
...
feat(wifi): Add support for sae ext key for station
Closes WIFI-6170
See merge request espressif/esp-idf!24833
2023-10-19 18:49:15 +08:00
Ren Pei Ying
fa13977275
Merge branch 'docs/update_format_for_kconfig_and_external-ram.rst' into 'master'
...
docs: Update Chinese translation for external-ram.rst and kconfig.rst
See merge request espressif/esp-idf!26517
2023-10-19 18:05:32 +08:00
Roland Dobai
ad1a9201a2
Merge branch 'feature/update_ninja_to_1.11.1' into 'master'
...
feat(tools): Update ninja to v1.11.1
Closes IDF-7429
See merge request espressif/esp-idf!25031
2023-10-19 18:01:09 +08:00
Armando
05c147c3e8
fix(rng): only build bootloader_random apis once
2023-10-19 16:15:52 +08:00
luomanruo
b5767372a8
fix(ble): fixed ble connection timeout issue on ESP32H2
2023-10-19 14:28:18 +08:00
Jiang Jiang Jian
a94bb6201b
Merge branch 'bugfix/deep_sleep_force_to_sleep' into 'master'
...
fix(esp_hw_support): Return deep sleep APIs to the original behavior
Closes IDFGH-11192, PM-11, and IDF-7600
See merge request espressif/esp-idf!26341
2023-10-19 14:27:02 +08:00
Xue Yun Fei
e64712b263
Merge branch 'lost_timer_failed_to_start_when_sta_is_connected' into 'master'
...
esp-netif:lost timer failed to start when sta is disconnected
Closes WIFI-5984
See merge request espressif/esp-idf!24076
2023-10-19 14:12:17 +08:00
Zhi Wei Jian
e925665f94
Merge branch 'bugfix/fix_ble_bond_error_after_reboot' into 'master'
...
fix(ble/bluedroid): fixed BLE bond error after reboot
Closes CBLE50Y23-58
See merge request espressif/esp-idf!26392
2023-10-19 11:58:16 +08:00
Zhang Xiao Yan
dffe28b787
Merge branch 'docs/add_parameter_description_to_esp_netif' into 'master'
...
docs: add parameter description to esp_netif.h
See merge request espressif/esp-idf!26487
2023-10-19 10:52:51 +08:00