之前用的一直好的,编译成mdk5版本也没啥问题
今天为了新加入8266外设,一顿操作后,编译不了了
$ scons --target=mdk5
scons: Reading SConscript files ...
scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "D:\RTT t-thread-v3.1.3 t-thread\bsp\stm32\stm32f10x-sjj\SConstruct", line 33, in
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb8 in position 14: ordinal not in range(128):
File "D:\RTT t-thread-v3.1.3 t-thread\bsp\stm32\stm32f10x-sjj\SConstruct", line 59:
DoBuilding(TARGET, objs)
File "D:\RTT t-thread-v3.1.3 t-thread\tools\building.py", line 766:
EndBuilding(target, program)
File "D:\RTT t-thread-v3.1.3 t-thread\tools\building.py", line 858:
GenTargetProject(program)
File "D:\RTT t-thread-v3.1.3 t-thread\tools\building.py", line 795:
MDK5Project('project.uvprojx', Projects)
File "D:\RTT t-thread-v3.1.3 t-thread\tools\keil.py", line 290:
MDK45Project(template_tree, target, script)
File "D:\RTT t-thread-v3.1.3 t-thread\tools\keil.py", line 268:
out.write(etree.tostring(root, encoding='utf-8').decode())
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 1126:
ElementTree(element).write(file, encoding, method=method)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 820:
serialize(write, self._root, encoding, qnames, namespaces)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 939:
_serialize_xml(write, e, encoding, qnames, None)
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 937:
write(_escape_cdata(text, encoding))
File "D:\RTT\RT-thread\env_release\env_released_1.1.1\env\tools\Python27\lib\xml\etree\ElementTree.py", line 1073:
return text.encode(encoding, "xmlcharrefreplace")
不知道怎么解决,为什么会有这个问题,编译其他例程又是好的,郁闷,卡在这里了