esp-idf/components/freertos/test
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
..
CMakeLists.txt IPC: Move ipc sources to esp_system 2021-11-11 10:30:01 +08:00
test_context_save_clobber.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_context_save_clobber.S freertos: don't clobber a4 while spilling register windows 2020-09-02 15:40:41 +02:00
test_float_in_isr.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_freertos_backported_functions.c freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
test_freertos_debug_functions.c unity: separate common and IDF specific functionality 2018-11-19 12:36:31 +08:00
test_freertos_eventgroups.c gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
test_freertos_get_state.c tests: re-add all disabled tests and all disabled configurations 2020-10-14 16:11:49 +11:00
test_freertos_isinisrcontext.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_freertos_mutex.c Update tests for assert and abort 2021-08-05 11:09:22 +05:30
test_freertos_scheduling_round_robin.c freertos: Fix SMP round robin scheduling 2021-11-02 14:00:14 +08:00
test_freertos_scheduling_time.c ci: update performance test key to db compatible format 2021-06-21 14:17:45 +08:00
test_freertos_task_delay_until.c system: enable shared stack watchpoint 2021-02-18 15:38:30 +08:00
test_freertos_task_delete.c freertos: Add some comments about deleting tasks when using SMP 2021-04-13 03:40:10 +00:00
test_freertos_task_notify.c gptimer: clean up hal and ll for driver-ng 2021-10-20 18:40:08 +08:00
test_freertos_trace_utilities.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_isr_latency.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_legacy_hooks.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_newlib_reent.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_panic.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_preemption.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_queuesets.c freertos: Add critical sections to queue sets. 2018-07-13 13:58:54 +08:00
test_spinlocks.c freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 2021-11-22 13:28:39 +08:00
test_stream_buffers.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
test_suspend_scheduler.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
test_task_priorities.c unity: separate common and IDF specific functionality 2018-11-19 12:36:31 +08:00
test_task_suspend_resume.c freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs 2021-07-16 18:26:02 +05:00
test_tasks_snapshot.c freertos: Remove critical nested macros 2021-10-22 13:17:20 +08:00
test_thread_local.c test/freertos: add RISC-V support in thread local storage test 2021-01-24 12:38:15 +00:00
test_timers.c freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
test_xtensa_loadstore_handler.c freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00