Search found 49 matches

by wevets
Fri Oct 11, 2019 8:53 pm
Forum: ESP32 IDF
Topic: cmake in esp-idf 4.0-beta verbose
Replies: 6
Views: 271

Re: cmake in esp-idf 4.0-beta verbose

Is there any reply to my last post?
I've gone back v3.3 in the meantime.

wevets
by wevets
Thu Oct 10, 2019 6:06 am
Forum: ESP32 IDF
Topic: cmake in esp-idf 4.0-beta verbose
Replies: 6
Views: 271

Re: cmake in esp-idf 4.0-beta verbose

Hi. I added that one line to .../components/ulp/project_include.cmake as you suggested. Things are still not working completely. Again, things work with C-only files. But this is a ULP thing. The build seems to finish without error, but then I get (the last 5 lines of screen output are shown) C:/Use...
by wevets
Wed Oct 09, 2019 5:54 pm
Forum: ESP32 IDF
Topic: cmake in esp-idf 4.0-beta verbose
Replies: 6
Views: 271

Re: cmake in esp-idf 4.0-beta verbose

When I submitted my last reply, I'm not sure the file I tried to attach went with the submission. Here's another attempt. If you get two copies of the same file, ignore one. ;-)

wevets
by wevets
Wed Oct 09, 2019 5:51 pm
Forum: ESP32 IDF
Topic: cmake in esp-idf 4.0-beta verbose
Replies: 6
Views: 271

Re: cmake in esp-idf 4.0-beta verbose

As you suggested, I set up virgin build conditions for ulp_example_main.c, in the esp-idf\examples\system\ulp directory hanging off \desktop, as installed by the esp-idf v4.0 install file, by deleting the build directory, and started a build. (The file ulp_pulse_cnt.S file is in the ulp directory ha...
by wevets
Wed Oct 09, 2019 1:17 am
Forum: ESP32 IDF
Topic: cmake in esp-idf 4.0-beta verbose
Replies: 6
Views: 271

cmake in esp-idf 4.0-beta verbose

A couple of days ago I downloaded esp-idf v4.0-beta as it seemed like a good time to do it, (I was having some problems with esp-idf 3.3 and would have had to re-install anyway) and things generally work with C programs. I'm running windows 10 cmd.exe as called out in the documentation. Cmd is lacki...
by wevets
Mon Oct 07, 2019 5:28 am
Forum: ESP32 IDF
Topic: ESP-IDF problems with mingw/mingw32/make
Replies: 17
Views: 847

Re: ESP-IDF problems with mingw/mingw32/make

The problem is that going way back to DOS, "con" was a reserved word in the "OS" as the directory of the console. One could write to it like one can write to ttyn in Unix. The OS wouldn't let that directory be deleted by mere mortals, and that is carried as legacy all the way up to Windows 10. Weird...
by wevets
Tue Oct 01, 2019 7:07 am
Forum: ESP32 IDF
Topic: Another ULP timer question
Replies: 13
Views: 416

Re: Another ULP timer question

Right, but I was wondering about a "halt-sleep". The docs say that the halt instruction stats a timer indicated n the last "sleep n" instruction. That doesn't work. But there is that value still in SENS_ULP_CP_SLEEP_CYC0_REG, so I was thinking of an experiment to determine if that halt started a tim...
by wevets
Tue Oct 01, 2019 6:12 am
Forum: ESP32 IDF
Topic: Another ULP timer question
Replies: 13
Views: 416

Re: Another ULP timer question

My experiments show that there is an initial sleep on starting the ULP based on the the value put in SENS_ULP_CP_SLEEP_CYC0_REG by calling ulp_set_wakeup_period(), but that's the only delay available from any of these registers in deep sleep mode. I can use that. I haven't done the experiments in li...
by wevets
Mon Sep 30, 2019 8:53 pm
Forum: ESP32 IDF
Topic: Another ULP timer question
Replies: 13
Views: 416

Re: Another ULP timer question

OK. Sleep doesn't work, at least in deep sleep. That's a disappointing bug as I'd intended to use it. I looked at the blink example you pointed me to, and it does, indeed, work. I made my code look more like the blink program, simplifying it a bit so I could focus on what was important, and it works...
by wevets
Mon Sep 30, 2019 8:16 am
Forum: ESP32 IDF
Topic: Another ULP timer question
Replies: 13
Views: 416

Re: Another ULP timer question

In addition to my problem with the wait instruction, I am still not able to get the sleep instruction to work. Using what you told me above, I cloned all the ULP examples in the Iot-esp-solution area of git. I searched every .S file using grep -ri –include=*.S “sleep[[:blank:]][0-4] (I love grep) Th...

Go to advanced search