Page 1 of 1

Simple ULP Blink Example

Posted: Mon Jan 28, 2019 12:43 am
by joba-1
Hi esp32 users,

I just started my esp32 ulp journey and found it a bit difficult to get going.
One reason was, I come from PlatformIO framework where no ulp integration exists (am I wrong?).

And then, because there was no really easy first blink example.
So, now that I got it working, I made one available on github: https://github.com/joba-1/Blink-ULP
It also describes very briefly how to install the required ESP-IDF with platformio, and the separate ULP toolchain.

Hope it helps others.

Joachim

Re: Simple ULP Blink Example

Posted: Sat Apr 20, 2019 1:35 pm
by Deouss
Any ideas how I use it without PlatformIO and under Windows additionally with CMake?

Re: Simple ULP Blink Example

Posted: Sat Apr 20, 2019 2:37 pm
by joba-1
me not really. I would think just replace the first two commands in my readme (pip/pio ) with a plain esp-idf installation for windows. The rest should be very similar, but I‘m nut sure. Never used esp-idf on windows.

Re: Simple ULP Blink Example

Posted: Sat Apr 20, 2019 2:43 pm
by Deouss
The idea is to compile ulp.s file into binary and load it with code.
Simple task but not easy. There is nothing explained how to use binutils-esp32ulp

Re: Simple ULP Blink Example

Posted: Tue Apr 30, 2019 3:16 am
by Deouss
I managed to modify the blink code and compile with CMake and latest ESP-IDF )
It was necessary to upgrade Idf to the latest version - newest toolchain comes with full ULP support and even nice examples which is very nice. I used just VSC and CMake (Win10) - no need for PlatformIO ;)

Re: Simple ULP Blink Example

Posted: Wed Aug 14, 2019 2:50 pm
by wevets
Hi, Deouss,

Is your example on git? Can you provide a pointer to it?
I also want to do a project with GPIO from the ULP and am having a bit of trouble climbing the learning curve.

Thanks.