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
|
bool
|
||||||
help
|
help
|
||||||
Hidden option, gets selected by CONFIG_ESPxx_DEBUG_OCDAWARE
|
Hidden option, gets selected by CONFIG_ESPxx_DEBUG_OCDAWARE
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@@ -5,7 +5,7 @@ if(IDF_TARGET STREQUAL "esp32")
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
idf_component_register(SRC_DIRS ${src_dirs}
|
idf_component_register(SRC_DIRS ${srcdirs}
|
||||||
INCLUDE_DIRS .
|
INCLUDE_DIRS .
|
||||||
REQUIRES unity test_utils
|
REQUIRES unity test_utils
|
||||||
)
|
)
|
@@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
static SemaphoreHandle_t sync;
|
static SemaphoreHandle_t sync;
|
||||||
static SemaphoreHandle_t end_sema;
|
static SemaphoreHandle_t end_sema;
|
||||||
uint32_t cycle_before_trigger;
|
static uint32_t cycle_before_trigger;
|
||||||
uint32_t cycle_before_exit;
|
static uint32_t cycle_before_exit;
|
||||||
uint32_t delta_enter_cycles = 0;
|
static uint32_t delta_enter_cycles = 0;
|
||||||
uint32_t delta_exit_cycles = 0;
|
static uint32_t delta_exit_cycles = 0;
|
||||||
|
|
||||||
static void software_isr(void *arg) {
|
static void software_isr(void *arg) {
|
||||||
(void)arg;
|
(void)arg;
|
||||||
|
@@ -29,11 +29,9 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @note For some reason setjmp does not work with
|
* @note For some reason setjmp does not work with
|
||||||
* unity in local tests for, at least now, unknown
|
* unity, since it is only used on test entry and
|
||||||
* reasons since the interrupt handling was modified
|
* exit it should not impact the rest of test
|
||||||
* so if you want to perform tests locally,
|
* framework. So we disable it here.
|
||||||
* uncomment this line. Remote tests on CI
|
|
||||||
* still working as expected
|
|
||||||
*/
|
*/
|
||||||
#define UNITY_EXCLUDE_SETJMP_H
|
#define UNITY_EXCLUDE_SETJMP_H
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user