mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
188c21319d
This commit adds a README.md containing guidelines on how to refactor the FreeRTOS unit tests for upstreaming. A portTestMacro.h header was also added which contains port implementation specific macros used by the test cases.
14 lines
392 B
C
14 lines
392 B
C
/*
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "test_utils.h"
|
|
#include "esp_cpu.h"
|
|
|
|
#define configTEST_DEFAULT_STACK_SIZE 4096
|
|
#define configTEST_UNITY_TASK_PRIORITY UNITY_FREERTOS_PRIORITY
|
|
|
|
#define portTEST_GET_TIME() ((UBaseType_t) esp_cpu_get_cycle_count())
|