Search found 13 matches

by KallDrexx
Wed Mar 27, 2024 1:31 am
Forum: ESP-IDF
Topic: How to manage multiple rgb lcd frame buffers?
Replies: 3
Views: 2174

Re: How to manage multiple rgb lcd frame buffers?

Oh I see. So the color data I pass to esp_lcd_panel_draw_bitmap can be fb1 instead of a different buffer. When that happens ESP-IDF recognizes that it's it's own managed frame buffer and not to do a copy. And therefore, since I'm telling it which ESP-IDF managed frame buffer to draw, that allows me ...
by KallDrexx
Wed Mar 27, 2024 1:25 am
Forum: ESP-IDF
Topic: How to manage multiple rgb lcd frame buffers?
Replies: 3
Views: 2174

Re: How to manage multiple rgb lcd frame buffers?

(fb0, fb1, fb2). By default, the LCD controller will use fb0 as the working frame buffer, then you can prepare others in fb1 and fb2. If you want to tell the LCD controller to switch to the new frame buffer, you can still call the Code: Select all esp_lcd_panel_draw_bitmap , and pass in the address...
by KallDrexx
Sat Mar 23, 2024 8:15 pm
Forum: ESP-IDF
Topic: How to manage multiple rgb lcd frame buffers?
Replies: 3
Views: 2174

How to manage multiple rgb lcd frame buffers?

The RGB lcd panel API maintains it's own buffers, allowing you to double buffer easily. However, to increase performance I need to manually draw to the frame buffer, since I will be executing multiple draw commands on a buffer before it should be displayed on the RGB lcd display (e.g. draw a circle,...
by KallDrexx
Sun Nov 19, 2023 8:37 pm
Forum: ESP-IDF
Topic: Cmake does not have access to kconfig variables before register
Replies: 1
Views: 769

Re: Cmake does not have access to kconfig variables before register

Ok I see, It appears that esp-idf does a 2 pass setup (I guess?), meaning it's not correct to do a cmake error if a menuconfig option is not set as expected. While the variable is not present in the first cmake pass, the 2nd cmake pass works. So not erroring in the cmake but erroring in my C code it...
by KallDrexx
Sun Nov 19, 2023 8:27 pm
Forum: ESP-IDF
Topic: Cmake does not have access to kconfig variables before register
Replies: 1
Views: 769

Cmake does not have access to kconfig variables before register

I am trying to do conditional compilation for my project based on menuconfig selections. I have a custom Kconfig.projbuild and setting options via menuconfig. In my SDKConfig I see CONFIG_MICROGPU_DATABUS_SPI=y In my cmake file I then have set(SOURCES displays/i80_display.c main.c ${MICROGPU_COMMON_...
by KallDrexx
Wed Nov 01, 2023 10:11 pm
Forum: Hardware
Topic: Question about ESP32-S3 without uart bridge
Replies: 3
Views: 2840

Re: Question about ESP32-S3 without uart bridge

Excellent thanks!

That's good to know about the sleep thing. Luckily that's not a big deal for my use case, since it probably won't be sleeping much.
by KallDrexx
Wed Nov 01, 2023 8:22 pm
Forum: Hardware
Topic: Question about ESP32-S3 without uart bridge
Replies: 3
Views: 2840

Question about ESP32-S3 without uart bridge

I'm pretty new at this, so this is probably a dumb question. I'm designing my first non-trivial PCB with an ESP32-S3-WROOM-1 (n8r8) on it. I know that with my devkit I use the non-UART USB connection for flashing and monitoring. From what I can find, it seems like I can design a PCB without any uart...
by KallDrexx
Wed Sep 13, 2023 2:06 am
Forum: ESP-IDF
Topic: "no module named idf_component_manager" with clion
Replies: 3
Views: 2882

Re: "no module named idf_component_manager" with clion

I'm still banging my head against the wall for this but getting closer. It appears that this only happens when using the MSVC toolchain, it does not occur when using mingw toolchain. While that mostly fixes the issue I'm still trying to figure out what the core reason it. It appears that when using ...
by KallDrexx
Sat Sep 09, 2023 8:16 pm
Forum: ESP-IDF
Topic: "no module named idf_component_manager" with clion
Replies: 3
Views: 2882

"no module named idf_component_manager" with clion

I'm trying to set up CLion to work with esp-idf's libraries and build system. This was working on one computer but I'm having trouble getting it setup on a different one. I copied the hello_world directory into a new directory. I set the correct `IDF_PATH` value and set up my `PATH` the same way `ex...
by KallDrexx
Thu Aug 03, 2023 1:21 am
Forum: ESP-IDF
Topic: Trouble getting good draw performance on 8bit ili9341
Replies: 2
Views: 1001

Re: Trouble getting good draw performance on 8bit ili9341

That's a much better timing method thanks, I didn't notice that at first. It turns out the reason it was slow was because of the `EXAMPLE_LCD_PIXEL_CLOCK_HZ` value. I was modifying the wrong one which is why I didn't notice a difference. Now that I've increased it, I'm getting much more reasonable n...