TI中文支持网
TI专业的中文技术问题搜集分享网站

使用enet_s2e放到\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c1294xl目录下用CCS6编译出错,为什么呢??代码什么都没动啊???

使用enet_s2e官方例程放到\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c1294xl目录下用CCS6编译出错,为什么呢??代码什么都没动啊???

出错信息:指向

/* Architecture specific optimisations. */
#ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
#endif

#if configUSE_PORT_OPTIMISED_TASK_SELECTION == 1

/* Check the configuration. */
#if( configMAX_PRIORITIES > 32 ) //双击出错信息指向这
#error configUSE_PORT_OPTIMISED_TASK_SELECTION can only be set to 1 when configMAX_PRIORITIES is less than or equal to 32. It is very rare that a system requires more than 10 to 15 difference priorities as tasks that share a priority will time slice.
#endif

/* Store/clear the ready priorities in a bit map. */
#define portRECORD_READY_PRIORITY( uxPriority, uxReadyPriorities ) ( uxReadyPriorities ) |= ( 1UL << ( uxPriority ) )
#define portRESET_READY_PRIORITY( uxPriority, uxReadyPriorities ) ( uxReadyPriorities ) &= ~( 1UL << ( uxPriority ) )

/*———————————————————–*/

#define portGET_HIGHEST_PRIORITY( uxTopPriority, uxReadyPriorities ) uxTopPriority = ( 31 – __clz( ( uxReadyPriorities ) ) )

#endif /* configUSE_PORT_OPTIMISED_TASK_SELECTION */

yasheng zhang:

你好 怎么解决的呢 我也出现了这样的错误

赞(0)
未经允许不得转载:TI中文支持网 » 使用enet_s2e放到\TivaWare_C_Series-2.1.3.156\examples\boards\ek-tm4c1294xl目录下用CCS6编译出错,为什么呢??代码什么都没动啊???
分享到: 更多 (0)