-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collect2.exe: error: ld returned 1 exit status #573
Comments
It is not arduino framework. |
Thank you for a quick answer. Please help me a little more, by answering the following questions. In according with documentation on this project (https://github.com/jeelabs/esp-link), you can see that it supports arduino:
Can i solve this problem simply by replacing the "framework = arduino" string to other? What is the framework must be there? Arduino |
I try to compile this project for ESP8266 (IDE: Visual Studio Code, extension PlatformIO), but i get the following error:
c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\esp12e\libFrameworkArduino.a(core_esp8266_main.cpp.o):(.text._ZL12loop_wrapperv+0x8): undefined reference to
setup' c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\esp12e\libFrameworkArduino.a(core_esp8266_main.cpp.o):(.text._ZL12loop_wrapperv+0xc): undefined reference to
loop'c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\esp12e\libFrameworkArduino.a(core_esp8266_main.cpp.o): in function
_ZL12loop_wrapperv': core_esp8266_main.cpp:(.text._ZL12loop_wrapperv+0x29): undefined reference to
setup'c:/users/user/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: core_esp8266_main.cpp:(.text._ZL12loop_wrapperv+0x35): undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp12e\firmware.elf] Error 1
The content of platformio.ini file is the following:
[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino
upload_port = COM[3]
upload_speed = 115200
monitor_port = COM[3]
Can you help me to solve this problem?
The text was updated successfully, but these errors were encountered: