@@ -1,3 +1,10 @@
-idf_component_register(SRC_DIRS .
+idf_component_register(SRC_DIRS integration/event_groups
+ integration/queue
+ integration/stream_buffer
+ integration/tasks
+ integration/timers
+ miscellaneous
+ performance
+ port
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES cmock test_utils esp_system driver)
@@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
+
#include <stdio.h>
#include "freertos/FreeRTOS.h"
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ */
/*
* Test FreeRTOS debug functions and utilities.
* - Queue registry functions vQueueAddToRegistry(), vQueueUnregisterQueue(),
#include <stdlib.h>
#include <string.h>
#include "sdkconfig.h"
@@ -1,5 +1,5 @@
- * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
+ * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
Test for FreeRTOS vTaskDelayUntil() function by comparing the delay period of
the function to comparing it to ref clock.
* Test backported deletion behavior by creating tasks of various affinities and
* check if the task memory is freed immediately under the correct conditions.
Test of FreeRTOS task notifications. This test creates a sender and receiver
task under different core permutations. For each permutation, the sender task
@@ -1,8 +1,9 @@
#include "freertos/task.h"
#include "freertos/queue.h"
/* Tests for FreeRTOS scheduler suspend & resume all tasks */
Unit tests for FreeRTOS task priority get/set
/* Tests for FreeRTOS task suspend & resume */
/* FreeRTOS timer tests
* Test features that are backported from version FreeRTOS 9.0.0.
#include "freertos/semphr.h"
* Test FreeRTOS trace facility functions. These following functions are enabled
* when configUSE_TRACE_FACILITY is defined 1 in FreeRTOS.
Test for multicore FreeRTOS. This test spins up threads, fiddles with queues etc.
Unit tests for FreeRTOS preemption
#include <esp_types.h>
/* Helper function for the test case in test_context_save_clobber.c */
#if defined(__XTENSA__)
#include "unity.h"
#include "esp_intr_alloc.h"
See if xPortInIsrContext works
Combined unit tests & benchmarking for spinlock "portMUX" functionality
Test for thread local storage support.