Search found 11 matches

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: 1402

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: 84375

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: 1338

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: 1311

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: 1311

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: 1311

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: 1763

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: 3008

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...
by limpens
Tue Apr 18, 2023 8:00 pm
Forum: General Discussion
Topic: IP_EVENT for timeout on dhcp request ?
Replies: 1
Views: 916

Re: IP_EVENT for timeout on dhcp request ?

Resolved the issue by using a few bits in an event-group and waiting for the correct bit(s) after WIFI_EVENT_STA_CONNECTED has been received. Of course it would be really convenient when the wifi stack was able to keep track of dhcp requests and emit an event when no reply has been received in a con...
by limpens
Fri Apr 14, 2023 6:51 pm
Forum: General Discussion
Topic: IP_EVENT for timeout on dhcp request ?
Replies: 1
Views: 916

IP_EVENT for timeout on dhcp request ?

Hi all, If got the following use case: wifi credentials are properly configured and the code is connecting to the selected wifi SSID, but due to a strict dhcp setup, there will not be an answer to a dhcp-request (a combination of authoritative and ignore unknown-clients in ISC-DHCP). For an answer t...