35 #define MICRIUM_SOURCE
36 #include <os_cfg_app.h>
39 #ifdef VSC_INCLUDE_SOURCE_FILE_NAMES
40 const CPU_CHAR *os_cfg_app__c =
"$Id: $";
43 #define OS_CFG_IDLE_TASK_STK_LIMIT ((OS_CFG_IDLE_TASK_STK_SIZE * OS_CFG_TASK_STK_LIMIT_PCT_EMPTY) / 100u)
44 #define OS_CFG_INT_Q_TASK_STK_LIMIT ((OS_CFG_INT_Q_TASK_STK_SIZE * OS_CFG_TASK_STK_LIMIT_PCT_EMPTY) / 100u)
45 #define OS_CFG_STAT_TASK_STK_LIMIT ((OS_CFG_STAT_TASK_STK_SIZE * OS_CFG_TASK_STK_LIMIT_PCT_EMPTY) / 100u)
46 #define OS_CFG_TICK_TASK_STK_LIMIT ((OS_CFG_TICK_TASK_STK_SIZE * OS_CFG_TASK_STK_LIMIT_PCT_EMPTY) / 100u)
47 #define OS_CFG_TMR_TASK_STK_LIMIT ((OS_CFG_TMR_TASK_STK_SIZE * OS_CFG_TASK_STK_LIMIT_PCT_EMPTY) / 100u)
57 #if (OS_CFG_ISR_POST_DEFERRED_EN > 0u)
62 #if (OS_CFG_ISR_STK_SIZE > 0u)
70 #if (OS_CFG_STAT_TASK_EN > 0u)
77 #if (OS_CFG_TMR_EN > 0u)
95 #if (OS_CFG_ISR_POST_DEFERRED_EN > 0u)
114 #if (OS_CFG_ISR_STK_SIZE > 0u)
132 OS_MSG *
const OSCfg_MsgPoolBasePtr = (OS_MSG *)0;
136 #if (OS_CFG_STAT_TASK_EN > 0u)
166 #if (OS_CFG_TMR_EN > 0u)
198 +
sizeof(OSCfg_IntQTaskStk)
202 +
sizeof(OSCfg_MsgPool)
206 +
sizeof(OSCfg_StatTaskStk)
210 +
sizeof(OSCfg_TmrTaskStk)
211 +
sizeof(OSCfg_TmrWheel)
214 #if (OS_CFG_ISR_STK_SIZE > 0u)
245 p_temp = (
void const *)&OSCfg_DataSizeRAM;
252 #if (OS_CFG_ISR_POST_DEFERRED_EN > 0u)
253 p_temp = (
void const *)&OSCfg_IntQBasePtr;
254 p_temp = (
void const *)&OSCfg_IntQSize;
255 p_temp = (
void const *)&OSCfg_IntQSizeRAM;
256 p_temp = (
void const *)&OSCfg_IntQTaskStkBasePtr;
257 p_temp = (
void const *)&OSCfg_IntQTaskStkLimit;
258 p_temp = (
void const *)&OSCfg_IntQTaskStkSize;
259 p_temp = (
void const *)&OSCfg_IntQTaskStkSizeRAM;
262 p_temp = (
void const *)&OSCfg_ISRStkBasePtr;
263 p_temp = (
void const *)&OSCfg_ISRStkSize;
264 p_temp = (
void const *)&OSCfg_ISRStkSizeRAM;
267 p_temp = (
void const *)&OSCfg_MsgPoolSize;
268 p_temp = (
void const *)&OSCfg_MsgPoolSizeRAM;
269 p_temp = (
void const *)&OSCfg_MsgPoolBasePtr;
272 #if (OS_CFG_STAT_TASK_EN > 0u)
273 p_temp = (
void const *)&OSCfg_StatTaskPrio;
274 p_temp = (
void const *)&OSCfg_StatTaskRate_Hz;
275 p_temp = (
void const *)&OSCfg_StatTaskStkBasePtr;
276 p_temp = (
void const *)&OSCfg_StatTaskStkLimit;
277 p_temp = (
void const *)&OSCfg_StatTaskStkSize;
278 p_temp = (
void const *)&OSCfg_StatTaskStkSizeRAM;
281 p_temp = (
void const *)&OSCfg_StkSizeMin;
283 p_temp = (
void const *)&OSCfg_TickRate_Hz;
284 p_temp = (
void const *)&OSCfg_TickTaskPrio;
285 p_temp = (
void const *)&OSCfg_TickTaskStkBasePtr;
286 p_temp = (
void const *)&OSCfg_TickTaskStkLimit;
287 p_temp = (
void const *)&OSCfg_TickTaskStkSize;
288 p_temp = (
void const *)&OSCfg_TickTaskStkSizeRAM;
289 p_temp = (
void const *)&OSCfg_TickWheelSize;
290 p_temp = (
void const *)&OSCfg_TickWheelSizeRAM;
292 #if (OS_CFG_TMR_EN > 0u)
293 p_temp = (
void const *)&OSCfg_TmrTaskPrio;
294 p_temp = (
void const *)&OSCfg_TmrTaskRate_Hz;
295 p_temp = (
void const *)&OSCfg_TmrTaskStkBasePtr;
296 p_temp = (
void const *)&OSCfg_TmrTaskStkLimit;
297 p_temp = (
void const *)&OSCfg_TmrTaskStkSize;
298 p_temp = (
void const *)&OSCfg_TmrTaskStkSizeRAM;
299 p_temp = (
void const *)&OSCfg_TmrWheelSize;
300 p_temp = (
void const *)&OSCfg_TmrWheelSizeRAM;