freertos: changed isr time test case variables to static

This commit is contained in:
Felipe Neves
2019-11-26 14:49:08 -03:00
parent 3882d986bd
commit 0ea6453b1c
4 changed files with 9 additions and 10 deletions

View File

@@ -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

View File

@@ -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
) )

View File

@@ -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;

View File

@@ -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