Comments (14)
And still compiling issue on Win 10 and Mac OS High Sierra
from ulptool.
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.
Also what version of python do you have?
from ulptool.
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.
Can you make sure this is checked, thanks.
from ulptool.
Deleated
from ulptool.
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.
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.
My path to hardware folder looks like:
C:\Users\bogdan\AppData\Local\Arduino15\packages\esp32\hardware
from ulptool.
binutils toolchain is installed
Mb you can archive your Arduino ide files to one folder and share?
from ulptool.
How did you install esp32 into Arduino, through the Arduino Package Manager?
from ulptool.
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.
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.
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)
- use ulptool error HOT 1
- Complier error - ulpcc_counter eample
- Undefined reference HOT 12
- Cannot find ulptool.h HOT 2
- ULP in Eclipse CDT HOT 3
- Cannot compile README example: undefined reference HOT 10
- error compiling assembly code HOT 2
- ESP32 ULP wake up Inaccurate time HOT 1
- PlatformIO supported? HOT 1
- Underinvestigation HOT 14
- works on Heltec Automation ESP32
- File path incorrect HOT 2
- Linker unresolved references HOT 1
- Error compiling on Mac with IDE 18.6 HOT 2
- working esp32 1.0.0 +
- Upgrade problem with ULP
- esp32/ulp.h: No such file or directory
- RTC_DATA_ATTR error HOT 2
- Incompatiblity of esp32ulp_build_receipe.py with recent 2.0.6 esp32 release HOT 5
- undefined reference to `ulp_count' and `ulp_entry' Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulptool.