Search found 18 matches

by malachib
Tue Jun 11, 2024 5:55 pm
Forum: ESP-IDF
Topic: Pure CMake component dependencies
Replies: 0
Views: 427

Pure CMake component dependencies

I'm exploring "pure" CMake components (libraries only) as per https://docs.espressif.com/projects/esp-idf/en/v5.1.4/esp32/api-guides/build-system.html#writing-pure-cmake-components Two related issues I face: 1. Cannot make it interact with IDF component manager 2. If main consuming app uses `COMPONE...
by malachib
Thu Feb 08, 2024 4:04 am
Forum: ESP-IDF
Topic: esp_http_server + zip
Replies: 1
Views: 905

Re: esp_http_server + zip

Anything? I am trying to do a multipart/mixed "download" (usually used for an upload) as an alternative It almost works. Having trouble with the parts' binary content getting parsed as text on the client side I'd still prefer the zip approach EDIT: After learning about the "central directory" requir...
by malachib
Fri Feb 02, 2024 5:58 am
Forum: ESP-IDF
Topic: esp_http_server + zip
Replies: 1
Views: 905

esp_http_server + zip

Hi, I am accumulating a bunch of JPG on a SD card via a camera and would like to serve them up in one big zip file/mime for download, preferably made on the fly (I don't need a zipfile on the SD card). Zip format seems to make sense. I don't need compression really, just a file container format. Ple...
by malachib
Tue Sep 12, 2023 7:19 pm
Forum: ESP-IDF
Topic: IRAM usage rising, especially libbtdm_app.a
Replies: 3
Views: 1470

Re: IRAM usage rising, especially libbtdm_app.a

I second this

Some of my boilerplate test apps which only provision over BLE sometimes run out of IRAM, without even adding any app logic

Using esp-idf 5.1.1
by malachib
Tue Mar 07, 2023 5:05 am
Forum: ESP-IDF
Topic: event loop: inhibit built-in logging
Replies: 4
Views: 2434

Re: event loop: inhibit built-in logging

Anyone? Does noone know precisely where and how the actual "calling line" or whatever it's called gets logged? By that I mean the orange-colored printout (presumably a log entry) which contains the line # and calling function name?
by malachib
Fri Feb 24, 2023 11:40 pm
Forum: ESP-IDF
Topic: event loop: inhibit built-in logging
Replies: 4
Views: 2434

Re: event loop: inhibit built-in logging

This gets me halfway there, so thank you. Though file/module level adjustment gets me what I need at a minimum, I'd still like to know precisely where that stack-trace-ish thing gets emitted. It doesn't appear to be directly in esp_event.c's handler_execute since that's a plain old ESP_LOGD I'm thin...
by malachib
Wed Feb 22, 2023 4:52 pm
Forum: ESP-IDF
Topic: event loop: inhibit built-in logging
Replies: 4
Views: 2434

event loop: inhibit built-in logging

Hi guys Normally I am a big fan of the way event loop (such as WIFI_EVENT, IP_EVENT) also indicate a warning-level log of the source line # of the event fnptr executing. However, I find myself in an edge case where I need that shut off. Specifically, I am using a LOT of templates, and that log entry...
by malachib
Thu Jan 19, 2023 12:23 am
Forum: Hardware
Topic: ESP32-C3 power consumption doesn't match to the datasheet
Replies: 12
Views: 18885

Re: ESP32-C3 power consumption doesn't match to the datasheet

I too am experiencing this. Measured right around 1ma. It seems though that the little red LED (during 5V pin usage) and the CP2102 are powered all the time, the combination of which plausibly could be 1ma. Because we're talking specifically about the DevKitM-1 right? That's what the schematic for t...
by malachib
Sun Jan 01, 2023 7:22 am
Forum: ESP-IDF
Topic: Using ULP on ESP32-S3 while main cores are awake.
Replies: 4
Views: 3193

Re: Using ULP on ESP32-S3 while main cores are awake.

Just for the record:

"Note that the ULP program keeps running and monitoring the input signal even when the SoC is woken up."

- https://github.com/espressif/esp-idf/tr ... lp_fsm/ulp
by malachib
Sun May 15, 2022 10:37 pm
Forum: General Discussion
Topic: ESP-WROVER-KIT E autoreset issue
Replies: 2
Views: 2248

Re: ESP-WROVER-KIT E autoreset issue

The solution to this problem for me was reconfiguring my Virtual Machine's virtual USB hub to be USB 3.0. It defaulted to 2.0. Physical host machine is 3.x. Discovered also that, as others have observed, the USB cable you use is VERY important. I was getting a lot of timeout errors. For me it was a ...