Problem linking Blink example
Posted: Tue Nov 08, 2016 10:29 pm
Folks:
I just got an ESP32 Thing from Sparkfun and am trying to get the Blink example to work (Mac running El Capitan). I followed the directions on their hookup guide for downloading and installing support for the ESP32 into the Arduino IDE. I set the board, port, speed, etc. and copy/pasta'ed their blink example (only changes the pin number (5) and the delay (500)). However, when it tries to link, I get the following error:
(full output at https://gist.github.com/ButchAnton/068e ... cf25627b2c)
I've tried five different versions of the Arduino IDE with similar results. I've also dropped into the python REPL and was able to import serial, so that shouldn't be an issue.
Any ideas?
Thanks!
I just got an ESP32 Thing from Sparkfun and am trying to get the Blink example to work (Mac running El Capitan). I followed the directions on their hookup guide for downloading and installing support for the ESP32 into the Arduino IDE. I set the board, port, speed, etc. and copy/pasta'ed their blink example (only changes the pin number (5) and the delay (500)). However, when it tries to link, I get the following error:
Code: Select all
Linking everything together...
"/Users/butch/Documents/Arduino/hardware/espressif/esp32/tools/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc" "-L/Users/butch/Documents/Arduino/hardware/espressif/esp32/tools/sdk/lib" "-L/Users/butch/Documents/Arduino/hardware/espressif/esp32/tools/sdk/ld" -nostdlib -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -Wl,--start-group "/var/folders/7g/mzjkvdxn5jb7dj9wty16tl_mxyly6b/T/arduino_build_686070/sketch/Blink.ino.cpp.o" "/var/folders/7g/mzjkvdxn5jb7dj9wty16tl_mxyly6b/T/arduino_build_686070/arduino.ar" -lgcc -lc -lm -lhal -lcore -lnet80211 -lphy -lrtc -lpp -lwpa -lsmartconfig -lbtdm_app -lbt -ldriver -lesp32 -lcrypto -lexpat -lfreertos -ljson -llog -llwip -lmbedtls -lnghttp -lnvs_flash -lspi_flash -ltcpip_adapter -lnewlib -lvfs -Wl,--end-group -o "/var/folders/7g/mzjkvdxn5jb7dj9wty16tl_mxyly6b/T/arduino_build_686070/Blink.ino.elf"
"python" "/Users/butch/Documents/Arduino/hardware/espressif/esp32/tools/esptool.py" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" -o "/var/folders/7g/mzjkvdxn5jb7dj9wty16tl_mxyly6b/T/arduino_build_686070/Blink.ino.bin" "/var/folders/7g/mzjkvdxn5jb7dj9wty16tl_mxyly6b/T/arduino_build_686070/Blink.ino.elf"
Traceback (most recent call last):
File "/Users/butch/Documents/Arduino/hardware/espressif/esp32/tools/esptool.py", line 25, in <module>
import serial
ImportError: No module named serial
exit status 1
Error compiling for board ESP32 Dev Module.
I've tried five different versions of the Arduino IDE with similar results. I've also dropped into the python REPL and was able to import serial, so that shouldn't be an issue.
Any ideas?
Thanks!