Search found 11 matches

by flimsy
Mon Mar 10, 2025 5:59 am
Forum: ESP-IDF
Topic: ESP-IDF v5.2.2 can't import "driver" components in dependencies
Replies: 2
Views: 1036

Re: ESP-IDF v5.2.2 can't import "driver" components in dependencies

Thanks for the help, adding PRIV_REQUIRES driver did in fact get the codebase to build, and the suggested changes to the module got it working with the updated dependency. I'm still a little confused, however, as I would think that adding REQUIRES driver to my primary CMakeLists.txt would achieve ...
by flimsy
Fri Mar 07, 2025 4:08 am
Forum: ESP-IDF
Topic: ESP-IDF v5.2.2 can't import "driver" components in dependencies
Replies: 2
Views: 1036

ESP-IDF v5.2.2 can't import "driver" components in dependencies

I'm currently in the process of migrating my dependencies for my project to use the component manager, but I've encountered a problem where one my github dependencies relies on driver/gpio.h, but can't seem to import it. The import in question is https://github.com/DavidAntliff/esp32-rotary-encoder ...
by flimsy
Sun Aug 11, 2024 4:44 am
Forum: ESP-IDF
Topic: ESP32 S3 device not enumerating over built-in USB after flash
Replies: 0
Views: 1237

ESP32 S3 device not enumerating over built-in USB after flash

I have a Waveshare 4.3" touchscreen based on an ESP32 S3, and the device has two USB ports, one for the built-in USB interface and one that uses a CH343P to provide an additional UART. I flashed a test firmware using the built-in USB port, and afterwards the device fails to enumerate at all. I've ...
by flimsy
Fri Jul 12, 2024 9:25 pm
Forum: ESP-IDF
Topic: How to prevent ESP_ERROR_CHECK from aborting
Replies: 4
Views: 3879

Re: How to prevent ESP_ERROR_CHECK from aborting

Excellent, thanks so much for the recommendations! I think I like the idea of manually probing the I2C slave, though I'm not sure exactly how to go about that.
by flimsy
Fri Jul 12, 2024 5:39 am
Forum: ESP-IDF
Topic: How to prevent ESP_ERROR_CHECK from aborting
Replies: 4
Views: 3879

How to prevent ESP_ERROR_CHECK from aborting

I'm using a library to interface with an I2C OLED display (specifically this one https://github.com/nkolban/esp32-snippets/blob/master/hardware/displays/U8G2), and have a long standing problem that when the I2C display is not connected my device just crash loops. The reason this happens is because ...
by flimsy
Wed Feb 07, 2024 1:41 am
Forum: ESP-IDF
Topic: How to pass data to IoT Button callback (via usr_data void pointer)
Replies: 2
Views: 1549

Re: How to pass data to IoT Button callback (via usr_data void pointer)

Ah, of course! That makes total sense, thank you!
by flimsy
Tue Feb 06, 2024 10:49 pm
Forum: ESP-IDF
Topic: How to pass data to IoT Button callback (via usr_data void pointer)
Replies: 2
Views: 1549

How to pass data to IoT Button callback (via usr_data void pointer)

I'm trying to define a set of buttons to control an LED channel via the IoT Button component. My issue is that when the callback gets executed, whatever user data would have been passed in to the callback appears to no longer exist. Even in the case below where I am passing in a reference to a ...
by flimsy
Wed Jan 17, 2024 6:24 pm
Forum: ESP-IDF
Topic: How to gracefully handle failed i2c connection
Replies: 2
Views: 1002

Re: How to gracefully handle failed i2c connection

Ah OK, I think I understand what's going on. Thank you!
by flimsy
Wed Jan 17, 2024 5:23 am
Forum: ESP-IDF
Topic: How to gracefully handle failed i2c connection
Replies: 2
Views: 1002

How to gracefully handle failed i2c connection

I've implemented an OLED display over i2c, and I'm trying to figure out whether there is a graceful way to fail to initialize the display gracefully and continue executing the rest of the behavior without the display. Currently when the display is not connected, the ESP boot loops with an error when ...
by flimsy
Sun Nov 12, 2023 6:58 am
Forum: General Discussion
Topic: PCNT rotary encoder example producing extra pulses
Replies: 2
Views: 3175

Re: PCNT rotary encoder example producing extra pulses

Been playing around with this for a week now and no progress. I've tried setting the glitch filter, but any value above 20 causes a crash with "set glitch filter failed", implying there is some undocumented upper limit to what the glitch filter can be? Would appreciate any guesses as to what is ...

Go to advanced search