硬汉嵌入式论坛

 找回密码
 立即注册
查看: 5884|回复: 2
收起左侧

[ThreadX全家桶] ThreadX使用早期的内核版本开栈检测TX_ENABLE_STACK_CHECKING很多错误,升级到最新的6.1.6即可

[复制链接]

1万

主题

7万

回帖

11万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
115812
QQ
发表于 2021-4-20 17:07:25 | 显示全部楼层 |阅读模式

发现是在这个版本解决的:

QQ截图20210420170107.png
回复

使用道具 举报

1万

主题

7万

回帖

11万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
115812
QQ
 楼主| 发表于 2021-4-20 17:08:06 | 显示全部楼层

/* Determine whether or not stack checking is enabled. By default, ThreadX stack checking is
   disabled. When the following is defined, ThreadX thread stack checking is enabled.  If stack
   checking is enabled (TX_ENABLE_STACK_CHECKING is defined), the TX_DISABLE_STACK_FILLING
   define is negated, thereby forcing the stack fill which is necessary for the stack checking
   logic.  */

#ifndef TX_MISRA_ENABLE
#ifdef TX_ENABLE_STACK_CHECKING
#undef TX_DISABLE_STACK_FILLING
#endif
#endif
回复

使用道具 举报

681

主题

3487

回帖

5555

积分

论坛元老

积分
5555
发表于 2021-4-23 15:26:10 | 显示全部楼层
eric2013 发表于 2021-4-20 17:08
/* Determine whether or not stack checking is enabled. By default, ThreadX stack checking is
    ...

看来版本还是使用新的好哇
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2025-5-20 12:39 , Processed in 0.226980 second(s), 27 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表