Search found 45 matches

by azz-zza
Thu Sep 19, 2019 3:33 am
Forum: ESP-IDF
Topic: Programming in C++ and using esp_wifi
Replies: 15
Views: 30086

Re: Programming in C++ and using esp_wifi

Angus, Kolban,
thank you. very usefull discussion and information.
by azz-zza
Thu Sep 19, 2019 2:47 am
Forum: ESP-IDF
Topic: Platformio issue
Replies: 7
Views: 18176

Re: Platformio issue

Just small magic in C++: wifi_config_t wifi_config = { .sta = { {.ssid = EXAMPLE_WIFI_SSID}, {.password = EXAMPLE_WIFI_PASS} }, }; Unfortunately, magic is not working: wifi_config_t wifi_config = { .ap = { {.ssid = EXAMPLE_ESP_WIFI_SSID}, {.ssid_len = 6 }, // {.ssid_len = strlen(EXAMPLE_ESP_WIFI_SS...
by azz-zza
Tue Sep 17, 2019 1:03 pm
Forum: General Discussion
Topic: stack overflow, if i use a varibale in a task
Replies: 4
Views: 5165

Re: stack overflow if i use a varible in a task

Makes sense. thank you ESP32.
by azz-zza
Tue Sep 17, 2019 4:17 am
Forum: General Discussion
Topic: stack overflow, if i use a varibale in a task
Replies: 4
Views: 5165

Re: stack overflow if i use a varible in a task

Thank you ESP32. setting to 2K solved the issue.

Is there a way to see how much stack is used dynamically?
What is the good practice to set the stack size?
thank you.
by azz-zza
Tue Sep 17, 2019 3:10 am
Forum: General Discussion
Topic: stack overflow, if i use a varibale in a task
Replies: 4
Views: 5165

stack overflow, if i use a varibale in a task

Hello, my attempts to use a variable in the task fails miserably. What am i doing incorrectly? thank you in advance: this works: [Codebox=c file=Untitled.c] #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_spi_flash.h" #include "drive...