[Grbl_Esp32 Issue#185] not compiled

未分类 bolang 4个月前 (10-14) 37次浏览

Issue #185 | 状态: 已关闭 | 作者: koka7777745 | 创建时间: 2019-07-25


does not compile, gives an error
!2019-07-25_233450


评论 (9)

#1 – luc-github 于 2019-07-25

it compile fine with standard config : https://travis-ci.com/odaki/Grbl_Esp32/builds
function exists : https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/Esp.cpp#L168

what change did you do in FW / config ?
what version of esp32 core are you using ?


#2 – koka7777745 于 2019-07-25

I did not change anything in the configuration, I wanted to compile the firmware to upgrade the old version to ESP 32


#3 – luc-github 于 2019-07-25

what version of esp32 core are you using ?
what version of grbl_esp32 are you compiling ?


#4 – koka7777745 于 2019-07-25

I compile from the last downloaded source, for an esp-wroom 32 board


#5 – luc-github 于 2019-07-25

well with such info I only can say :
* delete all
* install again latest git of esp32 core , the development repository : https://github.com/espressif/arduino-esp32#installation-instructions
* download again latest git of grbl_esp32 master
* copy libraries as explained in wiki
* compile with fresh install


#6 – koka7777745 于 2019-07-26

All deleted and cleaned, and installed on a new one. It still gives errors. Can you tell me?

Arduino: 1.8.9 (Windows 10), Board: “ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None”

sketch\grbl_bluetooth.cpp.o:(.bss.SerialBT+0x0): multiple definition of SerialBT'

sketch\BTconfig.cpp.o:(.bss.SerialBT+0x0): first defined here

sketch\grbleeprom.cpp.o: In function memcpytoeepromwith_checksum(unsigned int, char*, unsigned int)’:

sketch/grbleeprom.cpp:23: multiple definition of memcpytoeepromwith_checksum(unsigned int, char*, unsigned int)'

sketch\eeprom.cpp.o:sketch/eeprom.cpp:23: first defined here

sketch\grbleeprom.cpp.o: In function memcpyfromeepromwith_checksum(char*, unsigned int, unsigned int)’:

grbleeprom.cpp:(.text.Z32memcpyfromeepromwithchecksumPcjj+0x0): multiple definition of `memcpyfromeepromwithchecksum(char*, unsigned int, unsigned int)’

sketch\eeprom.cpp.o:eeprom.cpp:(.text.Z32memcpyfromeepromwith_checksumPcjj+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

Multiple libraries were found for “WiFi.h”
Used: C:\Users\KOKA\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Multiple libraries were found for “SD.h”
Used: C:\Users\KOKA\Documents\Arduino\hardware\espressif\esp32\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
exit status 1
Error compiling for board ESP32 Dev Module.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.


#7 – luc-github 于 2019-07-26

yes – you did not delete but copied new grbl_eps32 on old grbl
there is no more eeprom.cpp in FW but now it isgrbl_eeprom.cpp

just do a real clean install – delete all previous code before installation


#8 – koka7777745 于 2019-07-26

Thanks, it turned out to compile, it works.


#9 – luc-github 于 2019-07-26

Great.
Please do not forget to close issue.


原始Issue: https://github.com/bdring/Grbl_Esp32/issues/185

喜欢 (0)