Simple ULP Blink Example

User avatar
joba-1
Posts: 10
Joined: Mon Jan 28, 2019 12:26 am

Simple ULP Blink Example

Postby joba-1 » Mon Jan 28, 2019 12:43 am

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

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: Simple ULP Blink Example

Postby Deouss » Sat Apr 20, 2019 1:35 pm

Any ideas how I use it without PlatformIO and under Windows additionally with CMake?

User avatar
joba-1
Posts: 10
Joined: Mon Jan 28, 2019 12:26 am

Re: Simple ULP Blink Example

Postby joba-1 » Sat Apr 20, 2019 2:37 pm

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.

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: Simple ULP Blink Example

Postby Deouss » Sat Apr 20, 2019 2:43 pm

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

Deouss
Posts: 425
Joined: Tue Mar 20, 2018 11:36 am

Re: Simple ULP Blink Example

Postby Deouss » Tue Apr 30, 2019 3:16 am

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 ;)

wevets
Posts: 112
Joined: Sat Mar 09, 2019 2:56 am

Re: Simple ULP Blink Example

Postby wevets » Wed Aug 14, 2019 2:50 pm

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.

Smitashinde
Posts: 1
Joined: Mon Sep 23, 2019 6:34 am

Re: Simple ULP Blink Example

Postby Smitashinde » Mon Sep 23, 2019 6:57 am

I got valuable information here. Thanks for sharing! Keep up!

Who is online

Users browsing this forum: No registered users and 8 guests