Closed yankobogdan closed 6 years ago
And still compiling issue on Win 10 and Mac OS High Sierra
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.
Also what version of python do you have?
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
Can you make sure this is checked, thanks.
Deleated
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:
}
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/
My path to hardware folder looks like: C:\Users\bogdan\AppData\Local\Arduino15\packages\esp32\hardware
binutils toolchain is installed Mb you can archive your Arduino ide files to one folder and share?
How did you install esp32 into Arduino, through the Arduino Package Manager?
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
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!
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.
Arduino: 1.8.5 (Windows 7), Плата:"TTGO LoRa32-OLED V1, 80MHz, 921600, None" 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