Search found 75 matches

by wevets
Tue Mar 10, 2020 8:03 pm
Forum: ESP32 IDF
Topic: build problems suddenly popping up.
Replies: 1
Views: 412

build problems suddenly popping up.

I was building a project with one main program and 5 custom components and associated include files under esp-idf 3.3. (I don't plan to move to move to 4.0 until I hit my next major milestone.) Things were building nicely until yesterday when I must have screwed up something in the IDF and things st...
by wevets
Tue Mar 10, 2020 7:51 pm
Forum: ESP32 IDF
Topic: Cant use ULP and timer wake up right
Replies: 3
Views: 909

Re: Cant use ULP and timer wake up right

I struggled to get the ULP to behave myself. Every time I restart the ULP and go into deep sleep, I call, in order, ulp_run((&ulp_entry - RTC_SLOW_MEM) / sizeof(uint32_t)); esp_sleep_enable_ulp_wakeup(); esp_deep_sleep_start(); I'm guessing, and it is a guess, that you're lacking the middle call to ...
by wevets
Sun Feb 09, 2020 7:18 am
Forum: ESP32 IDF
Topic: Closing down WiFi to save power
Replies: 2
Views: 345

Re: Closing down WiFi to save power

Thanks, That seems to have been the problem. I just added a flag, WiFiShuttingDown, that I set pdFALSE when I initialized the WiFi stack, and set pdTRUE when I wanted to tear it down, and a conditional in the WiFi event handler that allowed calling esp_wifi_connect() only when WiFiShuttingDown was f...
by wevets
Sat Feb 08, 2020 7:23 pm
Forum: ESP32 IDF
Topic: how to retain GPIO state when system wakes up?
Replies: 7
Views: 882

Re: how to retain GPIO state when system wakes up?

Several of the GPIO pins work during deep sleep and are accessible from the ULP. These keep their state on wake up, although as wake up causes a system reset, it's easy to re-initialize them to any desired state on wake reboot. But these GPIOs/RTC GPIOs will retain their state on transition to deep ...
by wevets
Fri Feb 07, 2020 10:37 pm
Forum: ESP32 IDF
Topic: Closing down WiFi to save power
Replies: 2
Views: 345

Closing down WiFi to save power

Not having received a reply in the IoT forum, I thought I'd try this one. I have an application in which I want to very occasionally start up wifi to POST some data to a remote server. I can get things going and POST the message, but am having trouble with the tear-down phase. As I read the docs, th...
by wevets
Fri Feb 07, 2020 5:26 am
Forum: ESP IoT Solution
Topic: dismissing wifi to save power
Replies: 0
Views: 1529

dismissing wifi to save power

I have an application in which I want to very occasionally start up wifi to POST some data to a remote server. I can get things going and POST the message, but am having trouble with the tear-down phase. As I read the docs, the right steps and the order in which they should be called is: esp_http_cl...
by wevets
Wed Jan 29, 2020 9:18 pm
Forum: Documentation
Topic: documentation files in .rst format
Replies: 2
Views: 1940

Re: documentation files in .rst format

Thanks. I continued rooting around after I posted my question at the top and found the online docs.
by wevets
Wed Jan 29, 2020 6:07 am
Forum: Documentation
Topic: documentation files in .rst format
Replies: 2
Views: 1940

documentation files in .rst format

in the documentation directory of the esp-idf, most of the files are in some '.rst' format. I can open the files in most any editor/word processor/browser. But he files clearly have block diagrams and other material in some sort of markup format that nothing I've tried, and I've tried several, can d...
by wevets
Mon Jan 20, 2020 3:20 am
Forum: General Discussion
Topic: ulp code as an esp-idf project component not compiling
Replies: 4
Views: 804

Re: ulp code as an esp-idf project component not compiling

I have not experimented with any directory structure other than that explicitly supported by the esp idf, but I have a project using ULP code in which a directory appears in main called ULP. The .S files in that directory both assemble and are linked into the program of which the .cpp file is in mai...
by wevets
Wed Jan 08, 2020 8:16 am
Forum: ESP32 IDF
Topic: Flash port
Replies: 2
Views: 258

Re: Flash port

Angus,
That fixed it. I must have set that months ago and, never having had cause to change it, forgot about it.
Thanks. Works perfectly now.
wevets

Go to advanced search