Search found 21 matches

by Lagunax
Thu May 02, 2024 6:27 pm
Forum: ESP-IDF
Topic: idf docker git error
Replies: 2
Views: 904

Re: idf docker git error

found solution. rebuilt container, updated git inside it. now works fine
[closed]

also need to delete 'build' folder before running docker on folder because it can't make ln to error.c file in build subfolders (it exists and builder jast exited with error. idf.py clean stops on same step)
by Lagunax
Wed May 01, 2024 3:01 pm
Forum: ESP-IDF
Topic: idf docker git error
Replies: 2
Views: 904

idf docker git error

hi tryin to use docker container, but got error while build: -- Found Git: /usr/bin/git (found version "2.34.1") CMake Error at /opt/esp/idf/tools/cmake/third_party/GetGitRevisionDescription.cmake:78 (configure_file): Operation not permitted manualy git works fine inside container I have no name!@4e...
by Lagunax
Wed May 01, 2024 2:50 pm
Forum: ESP-IDF
Topic: make idf build offline
Replies: 4
Views: 1344

Re: make idf build offline

nope, this not helps... CMake Warning at /home/esp32/esp-idf/tools/cmake/build.cmake:565 (message): "idf_component.yml" file was found for components: /home/esp32/eclipse-workspace/external/components/ESP32Modbus /home/esp32/eclipse-workspace/external/components/arduino However, the component manage...
by Lagunax
Wed May 01, 2024 10:00 am
Forum: ESP-IDF
Topic: make idf build offline
Replies: 4
Views: 1344

Re: make idf build offline

What do you mean? What "online build" are you talking about? Follow the documented steps and you'll be good to build offline like most people do. i talking about this: -- Building ESP-IDF components for target esp32 NOTICE: Skipping optional dependency: espressif/esp-sr CMake Error at /home/esp32/e...
by Lagunax
Thu Feb 22, 2024 6:00 pm
Forum: ESP-IDF
Topic: make idf build offline
Replies: 4
Views: 1344

make idf build offline

For now i have lost any internet connection on my pc. mobile network is so slow that it drops connections too often. so online build not possible. and i do not know how long this will be. how can i download al components and setup them to build offline? why espressif did not made offline build? this...
by Lagunax
Sun Jan 14, 2024 3:46 pm
Forum: ESP-IDF
Topic: set description for interface pointer
Replies: 1
Views: 19206

set description for interface pointer

hi. defining wifi interface with default functions. i have pointer to interface. but how can i set description in this case? issue code: esp_netif_t *ap_netif; .... ap_netif = esp_netif_create_default_wifi_ap(); ap_netif->if_desc = "wlan"; // <- here i have error : "invalid use of incomplete type 'e...
by Lagunax
Sat Dec 16, 2023 2:37 pm
Forum: ESP32 Arduino
Topic: __digitalWrite(): Pin is not set as GPIO.
Replies: 1
Views: 17094

Re: __digitalWrite(): Pin is not set as GPIO.

found myself.

in old arduino-esp was able to write before set mode, now need set pin mode before any write.
now initializing looking this way:

Code: Select all

pinMode(TFT_CS, OUTPUT);
digitalWrite(TFT_CS, HIGH); // Chip select high (inactive)
going now to find why my screen still not work after migrating...
by Lagunax
Sat Dec 16, 2023 2:03 pm
Forum: ESP32 Arduino
Topic: __digitalWrite(): Pin is not set as GPIO.
Replies: 1
Views: 17094

__digitalWrite(): Pin is not set as GPIO.

hi all. moving project from old esp-idf3.*.* with old arduino-esp to latest one (esp-idf 5.1.2, latest arduino-esp). project build on device TTGO-T-Display, with old arduino-esp all works well, but when i build project under latest one, then i got errors on boot and can't get screen to work: I (604)...
by Lagunax
Wed Dec 13, 2023 4:23 pm
Forum: ESP-IDF
Topic: resolve mac into ip
Replies: 1
Views: 19282

Re: resolve mac into ip [closed]

answering myself.... found it:

Code: Select all

#include <esp_wifi_ap_get_sta_list.h>

....
esp_err_t esp_wifi_ap_get_sta_list_with_ip(const wifi_sta_list_t *wifi_sta_list, wifi_sta_mac_ip_list_t *wifi_sta_ip_mac_list);
by Lagunax
Sun Dec 10, 2023 3:18 pm
Forum: ESP-IDF
Topic: resolve mac into ip
Replies: 1
Views: 19282

resolve mac into ip

Hi all!
in old versions of idf there was function tcpip_adapter_get_sta_list that returns list of IPs of connected stations.
How can i get this list, or resolve from macs (gotten by esp_wifi_ap_get_sta_list) in latest idf (5.*.*) with esp-netif or other?