bsp\stm32f10x>scons --target=cb -s
TypeError: 'NoneType' object is not iterable:
File "E:\work\rt-thread\rt-thread_git_fork\bsp\stm32f10x\SConstruct", line 40:
EndBuilding(TARGET)
File "E:\work\rt-thread\rt-thread_git_fork\tools\building.py", line 342:
CBProject('project.cbp', Projects, program)
File "E:\work\rt-thread\rt-thread_git_fork\tools\codeblocks.py", line 62:
CB_AddHeadFiles(program, elem, project_path)
File "E:\work\rt-thread\rt-thread_git_fork\tools\codeblocks.py", line 15:
for item in program:
经查问题出在 SConstruct 的末尾:
# build program
env.Program(TARGET, objs)
# end building
EndBuilding(TARGET)
这块是应该修改成:
# make a building
DoBuilding(TARGET, objs)
还是
# build program
+program = env.Program(TARGET, objs)
# end building
+EndBuilding(TARGET, program)
经查问题出在 SConstruct 的末尾:
这块是应该修改成:
还是