mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
freertos: changed isr time test case variables to static
This commit is contained in:
@@ -439,4 +439,5 @@ menu "FreeRTOS"
|
||||
bool
|
||||
help
|
||||
Hidden option, gets selected by CONFIG_ESPxx_DEBUG_OCDAWARE
|
||||
|
||||
endmenu
|
||||
|
@@ -5,7 +5,7 @@ if(IDF_TARGET STREQUAL "esp32")
|
||||
endif()
|
||||
|
||||
|
||||
idf_component_register(SRC_DIRS ${src_dirs}
|
||||
idf_component_register(SRC_DIRS ${srcdirs}
|
||||
INCLUDE_DIRS .
|
||||
REQUIRES unity test_utils
|
||||
)
|
@@ -17,10 +17,10 @@
|
||||
|
||||
static SemaphoreHandle_t sync;
|
||||
static SemaphoreHandle_t end_sema;
|
||||
uint32_t cycle_before_trigger;
|
||||
uint32_t cycle_before_exit;
|
||||
uint32_t delta_enter_cycles = 0;
|
||||
uint32_t delta_exit_cycles = 0;
|
||||
static uint32_t cycle_before_trigger;
|
||||
static uint32_t cycle_before_exit;
|
||||
static uint32_t delta_enter_cycles = 0;
|
||||
static uint32_t delta_exit_cycles = 0;
|
||||
|
||||
static void software_isr(void *arg) {
|
||||
(void)arg;
|
||||
|
@@ -29,11 +29,9 @@
|
||||
|
||||
/**
|
||||
* @note For some reason setjmp does not work with
|
||||
* unity in local tests for, at least now, unknown
|
||||
* reasons since the interrupt handling was modified
|
||||
* so if you want to perform tests locally,
|
||||
* uncomment this line. Remote tests on CI
|
||||
* still working as expected
|
||||
* unity, since it is only used on test entry and
|
||||
* exit it should not impact the rest of test
|
||||
* framework. So we disable it here.
|
||||
*/
|
||||
#define UNITY_EXCLUDE_SETJMP_H
|
||||
|
||||
|
Reference in New Issue
Block a user