Skip to content

Commit

Permalink
Merge pull request #1 from AkashJohnSubash/test_esp_idf_update
Browse files Browse the repository at this point in the history
Test esp idf update
  • Loading branch information
AkashJohnSubash authored Dec 19, 2022
2 parents 454aeb3 + 9ef1a97 commit 28112d5
Showing 1 changed file with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ This file get's pulled into assembly sources. Therefore, some includes need to b
//Unlisted
#define INCLUDE_pxTaskGetStackStart 1

// -------------------- Trace Macros -----------------------

/*
For trace macros.
Note: Include trace macros here and not above as trace macros are dependent on some of the FreeRTOS configs
*/
#ifndef __ASSEMBLER__
#if CONFIG_SYSVIEW_ENABLE
#include "SEGGER_SYSVIEW_FreeRTOS.h"
Expand Down Expand Up @@ -291,3 +285,18 @@ extern void vPortCleanUpTCB ( void *pxTCB );
#endif // CONFIG_FREERTOS_SMP

#endif /* FREERTOS_CONFIG_H */

// -------------------- Trace Macros -----------------------
// Note: Include trace macros here and not above as trace macros are dependent on some of the FreeRTOS configs*/

#define traceTASK_INCREMENT_TICK(xTickCount)\
extern int taskList[100][2];\
extern int taskList_size;\
extern int idx_gl;\
if(idx_gl < taskList_size)\
{\
taskList[idx_gl][0] = pxCurrentTCB[0]->uxTCBNumber;\
taskList[idx_gl][1] = xTickCount;\
idx_gl++;\
}

0 comments on commit 28112d5

Please sign in to comment.