esp-idf/tools/ci
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
..
python_packages ci: support keyword nightly_run in decorator 2021-11-03 11:11:38 +08:00
build_example_dirs.txt ci: support building examples with external components 2018-11-19 12:36:31 +08:00
build_template_app.sh CI: add fast_template_app and tools support 2021-11-06 17:33:44 +08:00
check_api_violation.sh ci: added script to check api violations 2021-06-22 11:28:01 +08:00
check_artifacts_expire_time.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_build_warnings.py Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
check_callgraph.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_codeowners.py ci: make ignore lists optional for approval 2021-10-12 10:14:23 +08:00
check_copyright_ignore.txt freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
check_copyright_permanent_ignore.txt Tools: Permanently ignore some header files from header check 2021-10-19 14:41:50 +02:00
check_copyright.py Tools: Permanently ignore some header files from header check 2021-10-19 14:41:50 +02:00
check_deprecated_kconfigs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_examples_rom_header.sh esp_rom: extract common GPIO apis into esp_rom_gpio.h 2020-07-07 11:40:19 +08:00
check_executables.py pre-commit: recognize Windows excecutable files with git 2020-11-12 17:52:31 +08:00
check_idf_version.sh Build & config: Remove the "make" build system 2021-11-10 09:53:53 +01:00
check_kconfigs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
check_ldgen_mapping_exceptions.txt components: fix ldgen check errors 2021-01-19 11:17:18 +08:00
check_public_headers_exceptions.txt freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
check_public_headers.py Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
check_readme_links.py check_readme_links: remove throwing of exception before exit 2021-04-26 15:36:30 +08:00
check_rules_yml.py ci(pre-commit): check if rules is updated and valid 2021-02-10 14:50:07 +08:00
check_soc_struct_headers.py soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one 2021-08-30 13:50:58 +08:00
check_tools_files_patterns.py ci: move check_tools_files_patterns to pre-commit 2021-10-13 09:13:33 +08:00
check_type_comments.py Change logic for MYPY checker 2021-05-11 08:45:14 +02:00
checkout_project_ref.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
ci_fetch_submodule.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
ci_get_mr_info.py Add mypy check to pre-commit-config 2021-02-25 07:05:43 +00:00
clang_tidy_dirs.txt ci: enable clang-tidy check for more components 2021-08-19 09:26:20 +08:00
configure_ci_environment.sh Add -Wstrict-prototypes check in CI 2019-08-01 16:28:56 +07:00
deploy_docs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
envsubst.py mqtt tests: connect to local broker when running in CI to make the tests more reliable 2019-01-11 15:30:15 +01:00
exclude_check_tools_files.txt [tools]: add mocks dir to pattern check exclude 2021-08-12 11:02:43 +08:00
executable-list.txt Build & config: Remove the "make" build system 2021-11-10 09:53:53 +01:00
find_apps_build_apps.sh CI: download only required bin for unit-tests. Refactor AssignTest related code 2020-08-04 13:27:16 +08:00
fix_empty_prototypes.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
get_supported_examples.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
get-full-sources.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
idf_ci_utils.py fix: git ls-files wrong result when call via pre-commit in worktrees 2021-10-27 14:20:49 +08:00
mirror-submodule-update.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
multirun_with_pyenv.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
mypy_ignore_list.txt Tools: Remove MSYS/Mingw support 2021-11-10 17:25:07 +01:00
push_to_github.sh Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
setup_python.sh Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
sonar_exclude_list.txt freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
static-analysis-rules.yml ci: enable clang-tidy check for more components 2021-08-19 09:26:20 +08:00
test_autocomplete.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
test_build_system_cmake.sh Build & config: Remove the "make" build system 2021-11-10 09:53:53 +01:00
test_check_kconfigs.py style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
test_configure_ci_environment.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
test_reproducible_build.sh build: create BUILD_DIR/prefix_map_gdbinit when enable reproducible build 2021-10-26 10:55:00 +08:00
utils.sh ci: enable clang-tidy check for more components 2021-08-19 09:26:20 +08:00