(OS_CFG_SCHED_LOCK_TIME_MEAS_EN > 0u) CPU_TS SchedLockTimeMax; /* Maximum scheduler lock time */ #endif #if (OS_CFG_DBG_EN > 0u) OS_TCB *DbgPrevPtr; OS_TCB *DbgNextPtr; CPU_CHAR *DbgNamePtr; #endif #if (defined(OS_CFG_TRACE_EN) && (OS_CFG_TRACE_EN > 0u)) CPU_...
计数变量记录了当前该挂起队列中所存放的任务个数。 4)功能调试部分:当配置宏OS_CFG_DBG_EN为1时,便使能了uC/OS-III提供的专用于调试的代码,其作用是将所有的内建和外建消息队列按照创建时的顺序以队列的形式展现给用户,方便用户调试时查看所有消息队列及其数据。 5)消息存储部分:该部分由指针InPtr、OutPtr和...
* OS_MSG_EN 宏用于确定是否启用消息队列功能。 * 如果任务队列 (OS_CFG_TASK_Q_EN) 或普通队列 (OS_CFG_Q_EN) 启用,则 OS_MSG_EN 为 1u,表示启用消息队列功能;否则为 0u,表示不启用消息队列功能。 *** */ #define OS_OBJ_TYPE_REQ (((OS_CFG_DBG_EN > 0u) || (OS_CFG_OBJ_TYPE_CHK_...
#if OS_CFG_DBG_EN > 0u //如果使能(默认使能)了调试代码和变量 void OS_SemDbgListAdd (OS_SEM *p_sem) //将该多值信号量插入到多值信号量列表的最前端 { p_sem->DbgNamePtr = (CPU_CHAR *)((void *)" "); //先不指向任何任务的名称 p_sem->DbgPrevPtr = (OS_SEM *)0; //将该信号...
#if (CPU_CFG_TS_TMR_EN == DEF_ENABLED)void CPU_TS_TmrInit (void){CPU_INT32U cpu_clk_freq_hz; DEM_CR |= (CPU_INT32U)DEM_CR_TRCENA; /* Enable Cortex-M3's DWT CYCCNT reg. */DWT_CYCCNT = (CPU_INT32U)0u;DWT_CR |= (CPU_INT32U)DWT_CR_CYCCNTENA; ...
cfg80211 cdc_subset cdc_ncm cdc_ether cdc_eem belkin_sa ax88179_178a asix ark3116 aqc111 zstd xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_socket xt_recent xt_quota xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_hl ...
RIOT is developed by an international open-source community which is independent of specific vendors (e.g. similarly to the Linux community) and is licensed with a non-viral copyleft license (LGPLv2.1), which allows indirect business models around the free open-source software platform provided ...
os_dbg.c 包含内核调试器或uC/Probe使用的常量的声明。 os_flag.c 包含事件标志的管理代码。 os_int.c 包含中断处理任务的代码。只有当OS_CFG_ISR_POST_DEFERRED_EN(位于os_cfg.h中)设置为1时才能使用该任务。 os_mem.c 包含uC/OS-III固定大小的存储分区的管理代码。
2.修改文件app_cfg.h中代码 (1)将 #define APP_CFG_SERIAL_EN DEF_ENABLED 改为 #define APP_CFG_SERIAL_EN DEF_DISABLED (2) 将 #define APP_TRACE BSP_Ser_Printf 改为 #define APP_TRACE (void) 3.修改include.h的代码 (1) 将 #include <stm32f10x_lib.h> ...
These sections are organized according to the order in Micrium OS CANopen's template configuration file, canopen_cfg.h. Object Dictionary Configuration Table - Object Dictionary Configuration SDO Server Configuration Table - SDO Server Configuration ...