Open supperthomas opened 1 year ago
参考action 的编译日志: https://github.com/RT-Thread/rt-thread/actions/runs/5773375752
有一个问题不知道在这个issue下讨论是否合适,我刚开始使用rt-thread,并使用ubuntu系统构建开发环境,当在目录rt-thread/bsp/qemu-vexpress-a9
中使用scons --menuconfig
进行配置时,提示错误:
AttributeError: 'str' object has no attribute 'load_config':
File "/home/XXXX/workspace/rt-thread/bsp/qemu-vexpress-a9/SConstruct", line 29:
objs = PrepareBuilding(env, RTT_ROOT)
File "/home/XXXX/workspace/rt-thread/bsp/qemu-vexpress-a9/../../tools/building.py", line 316:
menuconfig(Rtt_Root)
File "/home/XXXX/.local/lib/python3.8/site-packages/menuconfig.py", line 685:
_conf_changed = _load_config()
File "/home/XXXX/.local/lib/python3.8/site-packages/menuconfig.py", line 741:
print(_kconf.load_config())
是我python的版本有问题吗?我应如何解决此问题?
rt-thread: 2023.11.30拉取的git仓库最新版本 ubuntu:20.04 gcc:EXEC_PATH = '/opt/gcc-arm-none-eabi-9-2020-q2-update/bin' python3:3.8.10(系统环境默认没有python指令,系统只有python3命令)
-------------------已经解决
尽可能使用conda/pip安装scons而不是使用apt-get安装
https://github.com/RT-Thread/rt-thread/actions/runs/7077921713/job/19262826362#step:12:215 hpmicro/hpm6750evk hpmicro/hpm6750evkmini microchip/saml10 nuclei/gd32vf103_rvstar
scons: Entering directory `/home/runner/work/rt-thread/rt-thread/bsp/hpmicro/hpm6750evk'
scons: Reading SConscript files ...
AttributeError: module 'rtconfig' has no attribute 'DEVICE':
mm32 目录下面执行命令
scons
编译错误NXP 下面目录执行
scons
编译错误Infine
其他
修复好的bsp: