Search found 15 matches

by edmund-huber
Wed Jun 07, 2017 4:29 pm
Forum: ESP-IDF
Topic: Minimizing power consumption while connected to WiFi
Replies: 6
Views: 21138

Re: Minimizing power consumption while connected to WiFi

Is there a chance we can have a discussion about this?
by edmund-huber
Wed Jun 07, 2017 6:49 am
Forum: Showcase
Topic: [info] Logging on esp32 using ring_log
Replies: 3
Views: 14197

Re: [info] Logging on esp32 using ring_log

Thank you, that means a lot to me. While jsonex pretty much works in its current state, I found it a little too handicapping in the end for anything more than very simple JSON. If you want to look at all items in a list in JSON for example, it's not really going to help you with that. I'm in the mid...
by edmund-huber
Tue Jun 06, 2017 7:26 pm
Forum: Showcase
Topic: [info] Logging on esp32 using ring_log
Replies: 3
Views: 14197

[info] Logging on esp32 using ring_log

We're all familiar with logging to Flash. You want to keep persistent logs to know how something failed, or to see patterns of behavior, etc. But of course you can't log forever, unless you first figure out a way to get rid of old logs. I wrote a library called ring_log (GitHub) to deal with the log...
by edmund-huber
Mon Jun 05, 2017 4:25 pm
Forum: General Discussion
Topic: [ resolved - won't do] ESP32 on Stack Overflow
Replies: 4
Views: 8029

Re: ESP32 on Stack Overflow

Well, I couldn't disagree more with either of you. I must see the "how to put stuff const stuff in Flash?" question every time I reload the forum. Nonetheless, the StackOverflow admins decided that since "IoT" already exists, you can't also have "esp32". They have made the decision for us and don't ...
by edmund-huber
Mon Jun 05, 2017 7:00 am
Forum: ESP-IDF
Topic: Is the FreeRTOS in esp-idf utilized to the smallest?
Replies: 7
Views: 11494

Re: Is the FreeRTOS in esp-idf utilized to the smallest?

Try building in release mode. If you're not using WiFi or Bluetooth, disable either or both under "Component config" If you're only using BLE, not BT Classic, find the "Release DRAM from Classic BT Controller" option and try that out. That's about 30KB according to the documentation for that option....
by edmund-huber
Sun Jun 04, 2017 11:12 pm
Forum: General Discussion
Topic: [ resolved - won't do] ESP32 on Stack Overflow
Replies: 4
Views: 8029

[ resolved - won't do] ESP32 on Stack Overflow

TLDR: please help put "ESP32" on Stack Overflow by going here and adding (and answering) common questions. I proposed an ESP32 site for Stack Overflow, which I think would help condense a lot of the knowledge (especially common questions like - "how to use light sleep?", "how much available RAM?") ...
by edmund-huber
Sun Jun 04, 2017 10:27 pm
Forum: ESP-IDF
Topic: Is the FreeRTOS in esp-idf utilized to the smallest?
Replies: 7
Views: 11494

Re: Is the FreeRTOS in esp-idf utilized to the smallest?

Can you clarify what you are trying to figure out, or what you mean? In general, I would say that there is room for ESP-IDF to be better about RAM usage, but also you can slim down ESP-IDF quite a bit through sdkconfig options. Where it comes to Flash, the linker in the esp32 toolchain (ld) does a g...
by edmund-huber
Sun Jun 04, 2017 8:48 pm
Forum: ESP-IDF
Topic: how to check that the wifi is idle?
Replies: 4
Views: 8702

Re: how to check that the wifi is idle?

One way this (hypothetical) "esp_wifi_internal_tx_is_empty" function could be implemented would be to also have a "esp_internal_tx_mark_bottom" which would set some inconsequential bit in the link layer (if it's possible) or the IP header of the last entry in the tx queue - some bit that is set for ...
by edmund-huber
Sun Jun 04, 2017 4:15 am
Forum: ESP-IDF
Topic: Minimizing power consumption while connected to WiFi
Replies: 6
Views: 21138

Re: Minimizing power consumption while connected to WiFi

Incidentally, I have found that modem sleep doesn't seem to ever kick in while the BT controller is on (BTDM mode). Will modem sleep be able to work when we have BLE -only mode available?