Vincent STRAGIER

Results 46 comments of Vincent STRAGIER

@usmanshahid001, You were using Python 3, but this project only runs on Python 2 for the moment. Vincent

Hello Kevin, I don't know if it is useful to keep the Python 2 compatibility. I did try to bring the Python 3 compatibility one or two years ago, but...

@swaraj429, In the `platform.local.txt` (read the readme to find its location), could you change `python` to `python2`: ``` ## ulp build tool compiler.s.cmd=python "{tools.ulptool.path}{tools.ulptool.cmd}" ``` to: ``` ## ulp build...

> I'm observing a similar issue when there is an ASM compile issue. Like typo or other problem. The compiler is not reporting where and what bug you have in...

Can you change the `err` to `err.decode('utf-8')` at the line 140 in the file `"/home/libor/.arduino15/packages/esp32/tools/ulptool/src/esp32ulp_build_recipe.py"`? From what I see, `err` is a bytes array.

Glad it helped. And yes, the remaining lines can be changed.

Yes, same error (I've used 'blink' to test it). But I don't think that comes from the 'esp32ulp_build_recipe.py' script since it just open, close 'ulp_main.ld' and exit the script in...

Examples are in a read only directory. I'll try to find an other workaround since just automatically creating an empty 'ulp.s' file is not really an option for the examples.

After 'some' investigations, I found that the issue comes from the extra flag `compiler.c.elf.extra_flags="-L{build.path}/sketch/" -T ulp_main.ld "{build.path}/sketch/ulp_main.bin.bin.o"` in "platform.local.txt". So it will be useful to add a conditional statement somehow......

I don't think it's possible to have a conditional statement in the 'platform.local.txt'. So, maybe overwriting the recipe: ``` ## Combine gc-sections, archives, and objects recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -Wl,--start-group {object_files}...