Closed unicornx closed 2 months ago
bsp/cvitek/cv18xx_risc-v/SConstruct
stack_lds = open('link_stacksize.lds', 'w') if GetDepend('__STACKSIZE__'): stack_size = GetDepend('__STACKSIZE__') stack_lds.write('__STACKSIZE__ = %d;\n' % stack_size) stack_lds.close()
这里 stack_size = GetDepend('__STACKSIZE__') 是有何用意?GetDepend 返回值是 True/False
stack_size = GetDepend('__STACKSIZE__')
这里设置的 stack_size 和 Kconfig/.config/rtconfig.h 中的 CONFIG_STACKSIZE 是一个概念吗?如果是一个概念,感觉值有冲突
提到 https://github.com/RT-Thread/rt-thread/issues/9232 去了。
bsp/cvitek/cv18xx_risc-v/SConstruct
这里
stack_size = GetDepend('__STACKSIZE__')
是有何用意?GetDepend 返回值是 True/False这里设置的 stack_size 和 Kconfig/.config/rtconfig.h 中的 CONFIG_STACKSIZE 是一个概念吗?如果是一个概念,感觉值有冲突