初级会员
- 积分
- 54
- 金钱
- 54
- 注册时间
- 2015-10-29
- 在线时间
- 6 小时
|
楼主 |
发表于 2016-7-12 09:24:01
|
显示全部楼层
原来的UCOSII配置文件:
#define OS_MAX_EVENTS 10u /*系统最大事件数 Max. number of event control blocks in your application */
#define OS_MAX_FLAGS 5u /*系统最大的信号量集数Max. number of Event Flag Groups in your application */
#define OS_MAX_MEM_PART 5u /*内存块数目 Max. number of memory partitions */
#define OS_MAX_QS 5u /* Max. number of queue control blocks in your application */
#define OS_MAX_TASKS 20u /* Max. number of tasks in your application, MUST be >= 2 */
改成:#define OS_MAX_EVENTS 20u /*系统最大事件数 Max. number of event control blocks in your application */
#define OS_MAX_FLAGS 10u /*系统最大的信号量集数Max. number of Event Flag Groups in your application */
#define OS_MAX_MEM_PART 10u /*内存块数目 Max. number of memory partitions */
#define OS_MAX_QS 10u /* Max. number of queue control blocks in your application */
#define OS_MAX_TASKS 20u /* Max. number of tasks in your application, MUST be >= 2 */
结果还是一样,只支持3个TCP连接,不知道哪里还需要改?
|
|