Open unixbigot opened 5 years ago
This is fine as long as it doesn't break the stable release from working (v1.0.0). Will this script work for any OS?
Mac and linux are quite similar. Windows will need a separate script. Avoiding 'just copy over platform.txt and break any other modifications' will reduce breakage at version changes.
BTW 1.0.1 is the stable release now, it went gold last week.
Cool any update on this ?
I installed this library on my Windows 10, Python 3.7, Arduino 1.8.8, ESP 1.0.1 environment and it was straightforward to get working.
esp32ulp_build_recipe.py
needed a few minor syntax changes
The changes to platform.txt
for ULP to work need to be copied into the 1.0.1 version of platform.txt
platform.txt esp32ulp_build_recipe.py.txt
Thanks for a useful library
Is this fix good for 1.0.2?
1.0.2 should work fine now.
Ok, il undo everything thats there and rrapply everything from a fresh download and see what happens.
hi i am using 1.0.4-rc2 .i followed all the steps of manual installation but problem is that when i compile the given examples it produce error that Traceback (most recent call last):
File "C:\Users\usman\AppData\Local\Arduino15\packages\esp32\tools\ulptool\src/esp32ulp_build_recipe.py", line 560, in
main(sys.argv[1:])
File "C:\Users\usman\AppData\Local\Arduino15\packages\esp32\tools\ulptool\src/esp32ulp_build_recipe.py", line 103, in main
build_ulp(PATHS, ulp_files, board_options, False)
File "C:\Users\usman\AppData\Local\Arduino15\packages\esp32\tools\ulptool\src/esp32ulp_build_recipe.py", line 234, in build_ulp
fsym.write(out)
TypeError: write() argument must be str, not bytes
exit status 1 Error compiling for board ESP32 Dev Module.
@usmanshahid001,
You were using Python 3, but this project only runs on Python 2 for the moment.
Vincent
@usmanshahid001,
You were using Python 3, but this project only runs on Python 2 for the moment.
Vincent
Thanks, for your reply. Mb somebody can advise how I can choose Python 2 for compilation ulp connected stuff under Mac OS? I have the same errors as @usmanshahid001
If you are relying on ULP, don't accept the ESP32 1.0.1 upgrade, it's not compatible with arduino_ulp.
I'll have a PR for 101 compatibility hopefully tomorrow. And a semi-automated installation script.