Error compiler firmware ArduinoShield sparkfun eclipse
Posted: Fri Jan 08, 2016 12:06 pm
Hi
I try compile firmware for Arduino Shield of Sparkfun in eclipse and ESP8266_SDK_120
https://github.com/sparkfun/ESP8266_WiF ... r/Firmware
but i have the error
Thanks
Solution add "at" to LIBS =
I try compile firmware for Arduino Shield of Sparkfun in eclipse and ESP8266_SDK_120
https://github.com/sparkfun/ESP8266_WiF ... r/Firmware
but i have the error
Code: Select all
LD build/.out
build/eagle(user_main.o): In function `user_rf_pre_init':
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:17: undefined reference to `at_customLinkMax'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:17: undefined reference to `at_init'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:17: undefined reference to `at_set_custom_info'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:17: undefined reference to `at_port_print'
build/eagle(user_main.o): In function `user_init':
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:21: undefined reference to `at_init'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:28: undefined reference to `at_set_custom_info'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:28: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:29: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/user_main.c:30: undefined reference to `at_port_print'
build/eagle(at_ArduinoShield.o):(.irom0.text+0x4): undefined reference to `at_port_print'
build/eagle(at_ArduinoShield.o):(.irom0.text+0x8): undefined reference to `at_response_ok'
build/eagle(at_ArduinoShield.o): In function `at_testPinModeCmd':
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:160: undefined reference to `at_port_print'
C:/Users/Sabas/workspace/sparkfun/Makefile:187: recipe for target 'build/.out' failed
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:161: undefined reference to `at_response_ok'
build/eagle(at_ArduinoShield.o): In function `at_testWritePinCmd':
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:222: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:221: undefined reference to `at_response_ok'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:224: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:224: undefined reference to `at_response_ok'
build/eagle(at_ArduinoShield.o): In function `at_testReadPinCmd':
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:268: undefined reference to `at_get_next_int_dec'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:268: undefined reference to `at_response_error'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:268: undefined reference to `at_get_next_int_dec'
build/eagle(at_ArduinoShield.o): In function `at_setupPinModeCmd':
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:90: undefined reference to `at_response_error'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:142: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:142: undefined reference to `at_response_ok'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:155: undefined reference to `at_get_next_int_dec'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:155: undefined reference to `at_response_error'
build/eagle(at_ArduinoShield.o): In function `at_setupWritePinCmd':
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:199: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:199: undefined reference to `at_response_ok'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:207: undefined reference to `at_get_next_int_dec'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:216: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:192: undefined reference to `at_response_error'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:217: undefined reference to `at_response_error'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:217: undefined reference to `at_port_print'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:217: undefined reference to `at_response_ok'
build/eagle(at_ArduinoShield.o): In function `at_setupReadPinCmd':
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:231: undefined reference to `at_cmd_array_regist'
C:\Users\Sabas\workspace\sparkfun/user/at_ArduinoShield.c:244: undefined reference to `at_cmd_array_regist'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe: *** [build/.out] Error 1
Thanks
Solution add "at" to LIBS =