19 #include "../../src/ISConstants.h" 21 #include "../drivers/d_time.h" 22 #if !defined(PLATFORM_IS_EVB_2) 23 #include "../../../hdw-src/uINS-3/IS_uINS/src/misc/debug_gpio.h" 26 #if defined(PLATFORM_IS_EVB_2) && PLATFORM_IS_EVB_2 27 #define RTOS_NUM_TASKS (EVB_RTOS_NUM_TASKS) 29 #define RTOS_NUM_TASKS (UINS_RTOS_NUM_TASKS) 32 #if defined(DBGPIO_START) && defined(DBGPIO_END) 33 #define BEGIN_CRITICAL_SECTION {vTaskSuspendAll(); taskENTER_CRITICAL(); DBGPIO_START(DBG_CRITICAL_SECTION_PIN);} 34 #define END_CRITICAL_SECTION {DBGPIO_END(DBG_CRITICAL_SECTION_PIN); taskEXIT_CRITICAL(); xTaskResumeAll();} 36 #define BEGIN_CRITICAL_SECTION {vTaskSuspendAll(); taskENTER_CRITICAL();} 37 #define END_CRITICAL_SECTION {taskEXIT_CRITICAL(); xTaskResumeAll();} 40 #define GPBR_IDX_STATUS 0 41 #define GPBR_IDX_G1_TASK 1 42 #define GPBR_IDX_G2_FILE_NUM 2 43 #define GPBR_IDX_G3_LINE_NUM 3 44 #define GPBR_IDX_G4_FLASH_MIG 4 45 #define GPBR_IDX_G5_LR 5 47 #define GPBR_IDX_PSR 7 52 const char *
const pcName,
53 unsigned short usStackDepth,
void vApplicationTickHook(void)
void rtosResetStats(void)
void vApplicationMallocFailedHook(uint32_t size, uint32_t remaining, uint32_t prevLR)
void vApplicationStackOverflowHook(xTaskHandle *pxTask, signed char *pcTaskName)
uint32_t g_faultFileNumber
void vApplicationIdleHook(void)
uint32_t g_faultLineNumber
void rtos_monitor(int numRtosTasks)
int createTask(int index, pdTASK_CODE pxTaskCode, const char *const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, portTickType xTimeIncrement)