Search found 16 matches

by duffster
Wed Mar 14, 2018 8:05 pm
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 22
Views: 43042

Re: esp32 ulp programming

So I have learned a lot since my last post, this problem is on four fronts: [1] First was getting the correct OS compiled binutils ulp toolchain into Arduino. [2] Second was figuring out how to build and link the ulp to the main code using esp32-idf with command line. [3] Third was figuring out how ...
by duffster
Mon Mar 12, 2018 6:27 pm
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 22
Views: 43042

Re: esp32 ulp programming

That sounds correct. Another possibility- develop and debug your ULP code using IDF, then convert the result into hex text, and embed it in your Arduino code. What I did is to use Arduino as a component in the esp-idf build environment as a way to see how to build and link in the ulp code but the m...
by duffster
Thu Mar 08, 2018 8:10 pm
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 22
Views: 43042

Re: esp32 ulp programming

I took a deep dive into this problem and found that the .S assembly files do work with Arduino, the instructions refer to the main cores not the ulp! This was evident from the platform.txt https://github.com/espressif/arduino-esp32/blob/master/platform.txt#L33 file so looks like the only way current...
by duffster
Wed Mar 07, 2018 6:42 pm
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 22
Views: 43042

Re: esp32 ulp programming

I've been looking at how to program the ulp in non Arduino environment and I'm going to try to set that up to see if I can glean any info into integrating it into the Arduino IDE. Looks like the ulp needs its own tool chain and esp32ulp-binutils to compile .S assembly files. I know the Arduino IDE c...
by duffster
Tue Mar 06, 2018 4:31 am
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 22
Views: 43042

Re: esp32 ulp programming

Well, looks like I can use the ulp assembly MACROS to program ulp coprocessor. Here is a little test sketch I put together that just blinks my esp32's on board led. Not sure all esp32 led's are on the same pin but you can change that in the sketch. I'm still trying to work through the docs about the...
by duffster
Sun Mar 04, 2018 2:23 am
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 22
Views: 43042

esp32 ulp programming

edit: Goto https://github.com/duff2013/arduino_ulp to see how to use the Arduino IDE to compile ulp assembly files. Has anyone been able to program the ulp co-processor using the Arduino ide? I have not found anything about this. Arduino can compile .S assembly files but the esp32 core gives errors...