Giter Site home page Giter Site logo

Unsuccessful compiling about ulptool HOT 14 CLOSED

duff2013 avatar duff2013 commented on June 27, 2024
Unsuccessful compiling

from ulptool.

Comments (14)

yankobogdan avatar yankobogdan commented on June 27, 2024

And still compiling issue on Win 10 and Mac OS High Sierra

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

Can we start with Windows 7 first? Turn on verbose compile in Arduino IDE preferences and copy and past the error using the example program from my README.md. I need to see the build process along with the python error.

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

Also what version of python do you have?

from ulptool.

yankobogdan avatar yankobogdan commented on June 27, 2024

Thanks for fast reply. Python ver. 2.7.15

Error code:
Arduino: 1.8.5 (Windows 7), Board: "TTGO LoRa32-OLED V1, 80MHz, 921600, None"
Archiving built core (caching) in: C:\Users\bogdan\AppData\Local\Temp\arduino_cache_206580\core\core_esp32_esp32_ttgo-lora32-v1_FlashFreq_80,UploadSpeed_921600,DebugLevel_none_0dd32befce4daf6467bf62049c4fab56.a
Traceback (most recent call last):
File "C:\Users\bogdan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ulp/esp32ulp_build_recipe.py", line 440, in
main(sys.argv[1:])
File "C:\Users\bogdan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ulp/esp32ulp_build_recipe.py", line 139, in main
build_ulp(options.bpath, options.ppath, ulp_files, board_options)
File "C:\Users\bogdan\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0/tools/sdk/include/ulp/esp32ulp_build_recipe.py", line 153, in build_ulp
proc = subprocess.Popen(cmd[1],stdout=subprocess.PIPE,stderr=subprocess.STDOUT,shell=False)
File "C:\Python27\lib\subprocess.py", line 394, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
startupinfo)
WindowsError: [Error 2]
exit status 1
Error compiling for board TTGO LoRa32-OLED V1.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

Can you make sure this is checked, thanks.
arduino_pref

from ulptool.

yankobogdan avatar yankobogdan commented on June 27, 2024

Deleated

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

Can you compile a blank sketch?

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

Couple of things to check:

Make sure you have binutils toolchain installed:
~\Documents\Arduino\Hardware\espressif\esp32\tools\esp32ulp-elf-binutils

Is the esptool.exe located here?
~\Documents\Arduino\Hardware\espressif\esp32\tools\esptool
If so then change the Platform.txt file line #6 to:
tools.esptool.path={runtime.platform.path}/tools/esptool/

from ulptool.

yankobogdan avatar yankobogdan commented on June 27, 2024

My path to hardware folder looks like:
C:\Users\bogdan\AppData\Local\Arduino15\packages\esp32\hardware

from ulptool.

yankobogdan avatar yankobogdan commented on June 27, 2024

binutils toolchain is installed
Mb you can archive your Arduino ide files to one folder and share?

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

How did you install esp32 into Arduino, through the Arduino Package Manager?

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

This video show how installed esp32 into Arduino, can you try to reinstall Arduino and esp32 this way?
https://www.youtube.com/watch?v=QBjiuOcJics

from ulptool.

yankobogdan avatar yankobogdan commented on June 27, 2024

Solved!!!
The problem was that linker looking for esptool.exe in ...esp32/tools/ but it was inside esptool folder os I've just copy esptool.exe to tools folder and its compiled. My goal to try read i2c si7021 sensor, save the data and sometimes wakeup main CPU.
Anyway thanks!

from ulptool.

duff2013 avatar duff2013 commented on June 27, 2024

Great, so I think espressif moved the esptool into it's own folder recently breaking my script, I'll update the script to reflect that change.

from ulptool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.