st-device-sdk-c-ref icon indicating copy to clipboard operation
st-device-sdk-c-ref copied to clipboard

About ESP8266 compilation issues

Open hangsome-xiang opened this issue 3 years ago • 0 comments

I encountered a problem that I could not solve by myself. The specific output log is as follows: Generating esp8266.project.ld Traceback (most recent call last): File "/home//document/st-device-sdk-c-ref/bsp/esp8266/tools/ldgen/ldgen.py", line 150, in main() File "/home//document/st-device-sdk-c-ref/bsp/esp8266/tools/ldgen/ldgen.py", line 106, in main dump = StringIO(subprocess.check_output([objdump, "-h", library]).decode()) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 21: ordinal not in range(128) make: *** [/home//document/st-device-sdk-c-ref/bsp/esp8266/components/esp8266/Makefile.projbuild:74:/home//document/st-device-sdk-c-ref/apps/esp8266/switch_example/build/esp8266/esp8266.project.ld] error 1

hangsome-xiang avatar Oct 05 '22 10:10 hangsome-xiang