esp-idf/tools
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
..
ble
catch
ci freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
cmake Build & config: Remove the "make" build system 2021-11-10 09:53:53 +01:00
docker
esp_app_trace
esp_prov
find_build_apps Build & config: Remove the "make" build system 2021-11-10 09:53:53 +01:00
idf_monitor_base
idf_py_actions Merge branch 'feat/drop_msys' into 'master' 2021-11-18 10:58:43 +00:00
idf_size_yaml CI: add fast_template_app and tools support 2021-11-06 17:33:44 +08:00
kconfig
kconfig_new Tools: Remove MSYS/Mingw support 2021-11-10 17:25:07 +01:00
ldgen replace the old header in ldgen.py with a new SPDX header style and delete it from check_copyright_ignore.txt to complete pipelines without errors 2021-11-15 18:03:33 +01:00
mass_mfg
mocks
templates/sample_component
test_apps Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
test_idf_monitor
test_idf_py
test_idf_size tools: add json schema for idf_size 2021-11-10 16:21:50 +01:00
test_idf_tools tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' 2021-11-12 16:07:28 +08:00
test_mkdfu
test_mkuf2
unit-test-app IPC: Move ipc sources to esp_system 2021-11-11 10:30:01 +08:00
windows/idf_exe Tools: Remove MSYS/Mingw support 2021-11-10 17:25:07 +01:00
build_apps.py
check_python_dependencies.py Tools: Remove MSYS/Mingw support 2021-11-10 17:25:07 +01:00
check_term.py
detect_python.fish
detect_python.sh
eclipse-code-style.xml
find_apps.py
format-minimal.sh
format.sh
gdb_panic_server.py
gen_esp_err_to_name.py
generate_debug_prefix_map.py
idf.py Merge branch 'feat/drop_msys' into 'master' 2021-11-18 10:58:43 +00:00
idf_monitor.py
idf_size.py tools: add json schema for idf_size 2021-11-10 16:21:50 +01:00
idf_tools.py Merge branch 'feat/drop_msys' into 'master' 2021-11-18 10:58:43 +00:00
mkdfu.py
mkuf2.py
python_version_checker.py
set-submodules-to-github.sh
toolchain_versions.mk
tools.json tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' 2021-11-12 16:07:28 +08:00
tools_schema.json