Search found 13 matches

by limpens
Sun Jun 16, 2024 11:23 am
Forum: ESP-IDF
Topic: Help needed for color display implementation
Replies: 3
Views: 766

Re: Help needed for color display implementation

Or is the driver actually included in the lvgl 9.1? I just can not get it to compile.... When using one of those 'new' cheap-yellow-displays, I just use the native st7789 driver and lvgl 9.x Add lvgl and the esp_lvgl_port to your idf_component.yml and you can add the display after initializing spi ...
by limpens
Sun Jun 09, 2024 1:05 pm
Forum: General Discussion
Topic: Changing values that were been using in program from Webpage ( please ESP-IDF)
Replies: 4
Views: 1660

Re: Changing values that were been using in program from Webpage ( please ESP-IDF)

I usually use websockets (CONFIG_HTTPD_WS_SUPPORT=y), just register an uri handler for the index.html (HTTP_GET handler, is_websocket=false) and an uri handler to capture the websocket calls (is_websocket = true). The embedded html page has some basic javascript basic to connect to the esp, using st...
by limpens
Thu Apr 18, 2024 1:27 pm
Forum: General Discussion
Topic: ESP32 websocket client fails after 1 hour with multiple errors
Replies: 4
Views: 2349

Re: ESP32 websocket client fails after 1 hour with multiple errors

Memory exhausted looks like you are running out of memory.

Can't help without some context or source code, but you might check if you free buffers after transmitting them.

When I use httpd_ws_send_frame_async, I know to release the buffers.
by limpens
Wed Dec 13, 2023 12:51 pm
Forum: General Discussion
Topic: Executing merge_bin using Gitlab CI/CD
Replies: 3
Views: 88447

Re: Executing merge_bin using Gitlab CI/CD

Not using gitlab here, but forgejo, so perhaps my syntax differs from yours, but, when using the esp-idf image, you still have to call idf.py build don't you? Maybe it is as simple as adding idf.py build; before cd build command? In my use case, I need to source the export.sh and can issue an idf.py...
by limpens
Fri Nov 17, 2023 8:26 pm
Forum: General Discussion
Topic: how to enable CLI service in ESP32
Replies: 4
Views: 2154

Re: how to enable CLI service in ESP32

I don't know if this is of any help to you, but I use a cli-like way to configure a device.

Take a look at this.
by limpens
Fri Sep 29, 2023 10:02 am
Forum: General Discussion
Topic: Conditional usage of idf_component.yml ?
Replies: 3
Views: 2020

Re: Conditional usage of idf_component.yml ?

A small change in syntax resolved my issues. Thanks for your time.

Code: Select all

dependencies:
  lvgl/lvgl:
    version: "^8.3.7"
    rules:
      - if: "target == esp32s3"

  espressif/esp_lcd_touch_gt911:
    version: "==1.0.7~1"
    rules:
      - if: "target == esp32s3"

  idf:
    version: ">=4.1.0"
by limpens
Fri Sep 29, 2023 8:44 am
Forum: General Discussion
Topic: Conditional usage of idf_component.yml ?
Replies: 3
Views: 2020

Re: Conditional usage of idf_component.yml ?

I read that page yesterday and was under the impression that the format specified is for components in the registry, not when using them: The idf_component.yml file is a YAML file that describes the component. After adding a few items from the registry using idf.py add-dependency, I got a file idf_c...
by limpens
Thu Sep 28, 2023 11:39 am
Forum: General Discussion
Topic: Conditional usage of idf_component.yml ?
Replies: 3
Views: 2020

Conditional usage of idf_component.yml ?

Hi, To compile my project for esp32 and esp32s3 (with a display), I use idf.py set-target and a KConfig depends on IDF_TARGET_ESP32S3 combined with if/endif clauses in my CMakeLists.txt. This works great, but the contents of idf_component.yml are always parsed/downloaded/compiled, even though they a...
by limpens
Wed Aug 16, 2023 10:54 am
Forum: General Discussion
Topic: Questions in my project involving WS2812 LED strip, ESP32-S3, and ESP-IDF
Replies: 3
Views: 2783

Re: Questions in my project involving WS2812 LED strip, ESP32-S3, and ESP-IDF

Check out the great work by UncleRus, Trombik and others at esp-idf-lib . You can either use the framebuffer way of addressing the individual leds (my personal preference) or push colors directly into the leds. Many of the FastLED functions are included in the library, no need to reinvent color blen...
by limpens
Tue May 09, 2023 12:03 pm
Forum: ESP-IDF
Topic: IDF terminal - unreadable characters received from ESP32
Replies: 8
Views: 4848

Re: IDF terminal - unreadable characters received from ESP32

Ran into the same yesterday, idf.py monitor uses 115200 but since some recent change (didn't look for a cause), starting the serial monitor from the IDE is using 460800. Found this page and changed the settings.json file to include "idf.monitorBaudRate": "115200" Couldn't find a way to configure thi...