Darian Leung
38d974aca0
freertos: Update scheduler suspension unit tests
...
This commit updates unit tests for vTaskSuspendAll()/xTaskResumeAll().
2022-07-20 11:32:10 +08:00
Darian Leung
ac38f9aaf1
freertos: Rename scheduler suspension test file
2022-07-20 11:32:10 +08:00
Darian Leung
db26ff2503
freertos: Fix vTaskSuspendAll() and xTaskResumeAll()
...
This commit fixes vTaskSuspendAll() and xTaskResumeAll() in the following ways.
- For vTaskSuspendAll()
- Sync function source code with upstream single core version
- Clearly mark IDF additions
- For xTaskResumeAll()
- Sync function source code with upstream single core version
- Clearly mark IDF additions
- Fix bug where cores other than core 0 were allowed to unwind pended ticks
2022-07-20 11:32:10 +08:00
Darian Leung
5971253971
freertos: Fix vTaskStepTick() and xTaskCatchUpTicks()
...
This commit fixes the following issues:
- Clearly mark IDF additions in vTaskStepTick() and xTaskCatchUpTicks()
- Add back vTaskSuspendAll()/xTaskResumeAll() to xTaskCatchUpTicks(). Scheduler
suspension and resumption is required to unwind the pended ticks.
2022-07-20 11:32:10 +08:00
Darian Leung
7a4e1fee99
freertos: Fix xTaskIncrementTick()
...
Previously, xTaskIncrementTick() would always trigger a yield (i.e., return pdTRUE)
when called on core 1. This would mean core 1 would call vTaskSwitchContext() on
every tick, leading to uneccesary CPU overhead.
This commit fixes xTaskIncrementTick() in the following ways:
- Clearly mark IDF additions in xTaskIncrementTick()
- Moved esp_vApplicationTickHook() to be called direclty in xPortSysTickHandler() in order to
simplify xTaskIncrementTick().
- Only core 0 calls xTaskIncrementTick() in order to simplify the function's logic. Core 0 is
solely responsible for managing xTickCount and xPendedTicks
- All other cores call xTaskIncrementTickOtherCores() instead which is a simplified version of
xTaskIncrementTick() and handles the following:
- Check if core 0 has unblocked a higher priority task to run
- Check if the current core requires time slicing
- Call vApplicationTickHook()
2022-07-20 11:31:50 +08:00
Roland Dobai
b59309852a
Merge branch 'features/check_SPDX_license' into 'master'
...
Add SPDX license check
Closes PACMAN-386
See merge request espressif/esp-idf!18664
2022-07-19 18:57:05 +08:00
Chen Jian Xing
4808f9b725
Merge branch 'bugfix/fix_write_to_null_pointer_if_malloc_failed_issue' into 'master'
...
Bugfix/fix write to null pointer if malloc failed issue
Closes IDFGH-7836
See merge request espressif/esp-idf!19087
2022-07-19 16:32:44 +08:00
Ivan Grokhotkov
c0e94c6688
Merge branch 'feature/update-gdb-to-11.2_20220715' into 'master'
...
tools: update gdb version to '11.2_20220715'
Closes IDFGH-7787
See merge request espressif/esp-idf!19071
2022-07-19 16:04:07 +08:00
Marius Vikhammer
12dcb95644
Merge branch 'ci/remove_temp_deepsleep_tag' into 'master'
...
ci: remove temp deepsleep tag runner
Closes IDF-5213
See merge request espressif/esp-idf!18654
2022-07-19 14:58:33 +08:00
Mo Fei Fei
f3a16d5122
Merge branch 'docs/update_nvs_encryption_cn_trans' into 'master'
...
Docs: Update CN translation for nvs encryption docs
Closes DOC-3202
See merge request espressif/esp-idf!18938
2022-07-19 14:47:16 +08:00
Simon
7c14328daa
Merge branch 'fix/i2c_clk_26M' into 'master'
...
I2C: Add the I2C clock tree, and support 26M XTAL on ESP32-C2
Closes IDF-5005, IDF-5415, and IDF-4535
See merge request espressif/esp-idf!19057
2022-07-19 13:34:22 +08:00
Chen Jian Xing
c449abc8cd
Merge branch 'feat/esp32c2_26M_phy_support' into 'master'
...
esp_phy: Support 26M and 40M crystal for esp32c2 phy
See merge request espressif/esp-idf!19010
2022-07-19 13:00:55 +08:00
Chen Yu Dong
2e9a620659
Merge branch 'ci/fix_advanced_ota_sdkconfig' into 'master'
...
CI: fix sdkconfig in advanced https ota example
Closes IDFCI-1369 and IDFCI-1370
See merge request espressif/esp-idf!19078
2022-07-19 12:28:00 +08:00
Marius Vikhammer
e4cbaa6f2b
ci: remove temp deepsleep tag runner
2022-07-19 12:12:46 +08:00
Shu Chen
6ebdeb3e1c
Merge branch 'feature/ot-cli-extension-component' into 'master'
...
openthread: use managed component for extension commands
See merge request espressif/esp-idf!19025
2022-07-19 11:57:07 +08:00
Jiang Jiang Jian
547785fb86
Merge branch 'feature/enable_h2beta2' into 'master'
...
esp32h2: use esp32h2-beta2 by default
See merge request espressif/esp-idf!19099
2022-07-19 11:46:14 +08:00
Cao Sen Miao
53580a62b5
I2C: Fullfill the I2C clock tree, and support 26M XTAL on ESP32-C2
2022-07-19 11:41:42 +08:00
David Čermák
d1dc30fd70
Merge branch 'example/icmpv6_ping' into 'master'
...
examples: Add ICMPv6 Echo Request/Reply example.
See merge request espressif/esp-idf!18731
2022-07-19 05:04:02 +08:00
Ivan Grokhotkov
eeb2808a32
Merge branch 'bugfix/check_readmes_pre_commit_idf_path' into 'master'
...
ci: allow running check-readmes pre-commit hook without IDF_PATH set
See merge request espressif/esp-idf!19055
2022-07-19 04:46:30 +08:00
Mahavir Jain
508661b03e
Merge branch 'bugfix/ipc_O0_stack' into 'master'
...
ipc: Increase stacksize when compiling with -O0
Closes IDFCI-1372 and IDFCI-1360
See merge request espressif/esp-idf!19083
2022-07-19 00:37:08 +08:00
David Čermák
5548f5acd6
Merge branch 'bugfix/lwip_ondemand_timers_num_system_timeout' into 'master'
...
lw ip: Fix on-demand timers to update internal system touts
Closes IDFGH-7595
See merge request espressif/esp-idf!18724
2022-07-18 21:56:57 +08:00
Shu Chen
b45ee118f3
esp32h2: use esp32h2-beta2 by default
2022-07-18 19:52:21 +08:00
Roland Dobai
9c61e5ccb0
Merge branch 'fix/tools_python_checker_message' into 'master'
...
Tools: Improve the message for missing setuptools in the Python checker
See merge request espressif/esp-idf!19091
2022-07-18 19:50:11 +08:00
Chen Yudong
84942f9121
CI: improve target test rules for ethernet and wifi tests
2022-07-18 18:47:01 +08:00
morris
9df1b0e3a1
Merge branch 'bugfix/not_test_bounce_buffer_mode_iram_safe' into 'master'
...
rgb_lcd: don't test bounce buffer mode with iram-safe
See merge request espressif/esp-idf!19089
2022-07-18 18:22:53 +08:00
Roland Dobai
b738953e90
Tools: Improve the message for missing setuptools in the Python checker
2022-07-18 11:56:32 +02:00
Jiang Jiang Jian
5b771082bd
Merge branch 'bugfix/wifi_owe_memory_leak' into 'master'
...
esp_wifi:bugfix for wifi owe memory leak
Closes WIFI-4589
See merge request espressif/esp-idf!19011
2022-07-18 17:53:51 +08:00
Jiang Jiang Jian
633a9f744a
Merge branch 'bugfix/OWE_memory_leak' into 'master'
...
esp_wifi : fixed OWE memory leak
See merge request espressif/esp-idf!19061
2022-07-18 17:20:36 +08:00
Jiacheng Guo
558ce70f40
openthread: use managed component for extension commands
2022-07-18 16:39:30 +08:00
morris
3ece942704
rgb_lcd: don't test bounce buffer mode with iram-safe
2022-07-18 14:55:11 +08:00
Abhik Roy
25c310b3da
examples: Add ICMPv6 Echo Request/Reply example.
...
Added example to create a raw ICMPv6 socket and sends an ICMPv6 Echo-Request
to the destination ipv6 address and wait for Echo-Reply for esp32 and Linux target.
2022-07-18 12:13:23 +05:30
Fu Hanxi
29307e0dbf
Merge branch 'ci/fix_nightly_run_missing_app' into 'master'
...
Ci/fix nightly run missing app
Closes IDFCI-1367 and IDFCI-1359
See merge request espressif/esp-idf!18915
2022-07-18 14:41:07 +08:00
intern
4866e91398
docs: update nvs encryption cn trans
2022-07-18 14:40:56 +08:00
Kapil Gupta
882ad4e5e7
Merge branch 'feature/eloop_debug_framework' into 'master'
...
wpa_supplicant: Add debug info for eloop functions
See merge request espressif/esp-idf!18451
2022-07-18 14:17:25 +08:00
Marius Vikhammer
ccc184de51
ipc: Increase stacksize when compiling with -O0
2022-07-18 13:55:03 +08:00
Krzysztof Budzynski
45ba00544a
Merge branch 'contrib/github_pr_9357' into 'master'
...
corrected a typo (GitHub PR)
Closes IDFGH-7828
See merge request espressif/esp-idf!19074
2022-07-18 10:58:11 +08:00
Fu Hanxi
d28c1be711
ci: build but set preserve to false for different nightly_run scenarios
2022-07-18 10:17:54 +08:00
Fu Hanxi
4317448f71
ci: allow pytest pass when no tests collected
2022-07-18 09:11:37 +08:00
Fu Hanxi
7bab78014f
fix: run_cmd
2022-07-18 09:10:33 +08:00
Chen Yudong
15f779b647
CI: fix sdkconfig in advanced https ota example
2022-07-17 20:15:48 +08:00
Oleg Savchenko
656d6dac15
fix possible memory leak if report level not set
2022-07-17 11:24:12 +03:00
Ivan Grokhotkov
1b1068ce22
Merge branch 'feature/console_log_level_command' into 'master'
...
console: add log_level command to the example
See merge request espressif/esp-idf!18614
2022-07-16 16:53:51 +08:00
David Čermák
1334011d4f
Merge branch 'bugfix/transport_foundation_intialization' into 'master'
...
tcp_transport: Fix initialition of transport
See merge request espressif/esp-idf!17869
2022-07-16 16:28:49 +08:00
Oleg Savchenko
a70a1d299a
fix write to null pointer if malloc failed
2022-07-15 23:55:59 +03:00
Chen Yu Dong
309440c687
Merge branch 'bugfix/update_get_ip_for_multiple_interfaces' into 'master'
...
ci: Fix wifi and ethernet test cases
See merge request espressif/esp-idf!18733
2022-07-15 22:07:48 +08:00
Ivan Grokhotkov
ef9e89062a
console: add log_level command to the example
...
This allows calling esp_log_level_set function from the console.
Together with CONFIG_LOG_MAXIMUM_LEVEL option, this allows enabling
logs from different tags at run time.
2022-07-15 14:51:05 +02:00
Ivan Grokhotkov
0abf886284
console: support ESP32-C2 in the 'version' command
2022-07-15 14:51:04 +02:00
Alexey Lapshin
868baf76f3
tools: update gdb version to '11.2_20220715'
2022-07-15 14:59:39 +04:00
Shyamal Khachane
88db86672d
fix for OWE memory leak
2022-07-15 14:29:32 +05:30
David Čermák
c65d818c1d
Merge branch 'bugfix/set_ipv6_dns_error' into 'master'
...
lw ip: Fixed that ipv6 dns cannot work
See merge request espressif/esp-idf!19018
2022-07-15 14:50:02 +08:00