Search found 39 matches

by Reiner1210
Mon Dec 16, 2019 2:43 pm
Forum: ESP32 IDF
Topic: Route IP packets and NAT between AP and STA
Replies: 0
Views: 373

Route IP packets and NAT between AP and STA

Hello,

is it possible to use the ESP32 to route IP packets from AP to STA and vice versa and do also a NAT ?

Best regards
Reiner
by Reiner1210
Wed Dec 11, 2019 3:30 pm
Forum: ESP32 IDF
Topic: FSFAT maximal size
Replies: 0
Views: 311

FSFAT maximal size

Hello, is there a limit in the file system size of the FAT32 implementation ? So if I have a 32 GB SD card driven via SPI can I create a 32 GB FAT FS on it ? On my site there it seams to be a 2 GB limit. I use the following to get the free space bool sd_get_free(const sd_data_t* sd_data, uint64_t* f...
by Reiner1210
Wed Dec 04, 2019 2:35 pm
Forum: ESP32 IDF
Topic: cmake and sha.h
Replies: 10
Views: 1712

Re: cmake and sha.h

Hello, Your hard effort is highly appreciated, so I will give you here all inormations: Host system is Linux 64 Bit (Linux Mint) Output of the export script Adding ESP-IDF tools to PATH... Checking if Python packages are up to date... Python requirements from /home/reiner/esp/esp-idf/requirements.tx...
by Reiner1210
Tue Dec 03, 2019 3:30 pm
Forum: ESP32 IDF
Topic: cmake and sha.h
Replies: 10
Views: 1712

Re: cmake and sha.h

Thanks for your answer. Well now I get a little bit farer now "nvs_flash.h" is missing. Is there a tool which will create the dammed CMakeLists.txt files from old make files ? Is there a rule how to find the right PRIV_REQUIRES entries ? How to get a component from header ? What about my own compone...
by Reiner1210
Thu Nov 28, 2019 9:00 am
Forum: ESP32 IDF
Topic: cmake and sha.h
Replies: 10
Views: 1712

Re: cmake and sha.h

It does not work :-( I have added PRIV_REQUIRES "sha" CMake Error at /home/reiner/esp/esp-idf/tools/cmake/build.cmake:185 (message): Failed to resolve component 'sha'. Call Stack (most recent call first): /home/reiner/esp/esp-idf/tools/cmake/build.cmake:216 (__build_resolve_and_add_req) /home/reiner...
by Reiner1210
Thu Nov 28, 2019 8:52 am
Forum: ESP32 IDF
Topic: cmake and sha.h
Replies: 10
Views: 1712

Re: cmake and sha.h

Thanks I will try it.
But I think it is a painfull wayalways add dependencies.
So I prefer the normal make build system.
Build time is not so important than flexibility I tink.

Reiner
by Reiner1210
Wed Nov 27, 2019 10:50 am
Forum: ESP32 IDF
Topic: cmake and sha.h
Replies: 10
Views: 1712

cmake and sha.h

Hello, The last 2 days I spent in upgrading my code to use the new netif instead of tcp adapter and the new event loop. Ok now it works. Now I want to try to use cmake. For other Linux projects I always used GNU make. How do I create CMake.txt files from my old make files ??? All my components lives...
by Reiner1210
Fri Oct 18, 2019 10:04 pm
Forum: Hardware
Topic: GPIO output low internal resistor
Replies: 1
Views: 996

GPIO output low internal resistor

Hello,

when I set a GPIO as output and it is set low. Is this a real GND or tristate.
So the question is can flow a current over this pin ? And if yes how much is the internal resistor ?

By the way: Is it possible to set pullup resistors on outputs or is this ignored ?

Reiner
by Reiner1210
Wed Mar 13, 2019 9:09 am
Forum: ESP32 IDF
Topic: Task watchdog and lwip
Replies: 2
Views: 1056

Re: Task watchdog and lwip

Hello, Yes I have a Webserver (my own code) which can deliver data from SD card and write to it. Also OTA updates are handled. If reading long files or writing long files it can be several sec before it finishes. I have done a test and register handlers via esp_register_freertos_idle_hook_for_cpu an...
by Reiner1210
Mon Mar 11, 2019 9:29 pm
Forum: ESP32 IDF
Topic: Task watchdog and lwip
Replies: 2
Views: 1056

Task watchdog and lwip

Hello,

if I have a task reading or writing in a loop do I need insert a vTaskDelay() to trigger the idle task? Or is this done indirect by the lwip library ?

Regards
Reiner