File tree Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ typedef unsigned long UBaseType_t;
73
73
#define portSTACK_GROWTH ( -1 )
74
74
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
75
75
#define portBYTE_ALIGNMENT 8
76
+ #define portDONT_DISCARD __attribute__(( used ))
76
77
/*-----------------------------------------------------------*/
77
78
78
79
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ typedef unsigned long UBaseType_t;
73
73
#define portSTACK_GROWTH ( -1 )
74
74
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
75
75
#define portBYTE_ALIGNMENT 8
76
+ #define portDONT_DISCARD __attribute__(( used ))
76
77
/*-----------------------------------------------------------*/
77
78
78
79
/* Scheduler utilities. */
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ typedef struct MPU_SETTINGS
109
109
#define portSTACK_GROWTH ( -1 )
110
110
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
111
111
#define portBYTE_ALIGNMENT 8
112
+ #define portDONT_DISCARD __attribute__(( used ))
112
113
/*-----------------------------------------------------------*/
113
114
114
115
/* SVC numbers for various services. */
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ typedef unsigned long UBaseType_t;
73
73
#define portSTACK_GROWTH ( -1 )
74
74
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
75
75
#define portBYTE_ALIGNMENT 8
76
+ #define portDONT_DISCARD __attribute__(( used ))
76
77
/*-----------------------------------------------------------*/
77
78
78
79
/* Scheduler utilities. */
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ typedef struct MPU_SETTINGS
109
109
#define portSTACK_GROWTH ( -1 )
110
110
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
111
111
#define portBYTE_ALIGNMENT 8
112
+ #define portDONT_DISCARD __attribute__(( used ))
112
113
/*-----------------------------------------------------------*/
113
114
114
115
/* SVC numbers for various services. */
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ typedef unsigned long UBaseType_t;
73
73
#define portSTACK_GROWTH ( -1 )
74
74
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
75
75
#define portBYTE_ALIGNMENT 8
76
+ #define portDONT_DISCARD __attribute__(( used ))
76
77
/*-----------------------------------------------------------*/
77
78
78
79
/* Scheduler utilities. */
You can’t perform that action at this time.
0 commit comments