sp-cai

Results 3 issues of sp-cai

发现自 #8664 之后,所有 BSP 里 Kconfig 的 “option env=” 特性都无效了, 进一步对比以前的代码,是 kconfiglib.py 的函数“_parse_block”处少了如下代码: ``` if node.item.env_var: if node.item.env_var in os.environ: os.environ[node.item.name] = os.environ[node.item.env_var] else: os.environ[node.item.name] = ((node.defaults[0])[0]).name ``` 此特性还要用吗?是不是以后还会修复?如果已经永久停用了,是不是应该清理所有 BSP...

## 拉取/合并请求描述:(PR description) [ #### 为什么提交这份PR (why to submit this PR) rt_tick_t 是无符号数据类型,而 'timeout' 有时用到负值或与负值比较。 #8758 #### 你的解决方案是什么 (what is your solution) 参考: rt_err_t rt_mutex_take(rt_mutex_t mutex, rt_int32_t timeout); rt_err_t rt_sem_take(rt_sem_t...

discussion

无符号数与负数比较: https://github.com/RT-Thread/rt-thread/blob/87d47bf935cecb0651c066969f1696990ac97343/components/drivers/ipc/condvar.c#L50 负值不明确的自动转换为无符号数: https://github.com/RT-Thread/rt-thread/blob/87d47bf935cecb0651c066969f1696990ac97343/components/drivers/ipc/condvar.c#L128