Search found 6 matches
- Sat Mar 01, 2025 5:35 am
- Forum: ESP-IDF
- Topic: Includes and CMakeLists.txt
- Replies: 9
- Views: 3705
Re: Includes and CMakeLists.txt
hello everyone, #vscode #esp-idf #Cmake i have problem which is similar to this.my project has the folder in the name of component and in that folder my all custom code are present. but how can i include or link header of esp component(had all header related to esp peripheral and all ) to the my pro...
- Fri Feb 28, 2025 11:57 am
- Forum: ESP-IDF
- Topic: ESP-IDF include additional paths
- Replies: 15
- Views: 57472
Re: ESP-IDF include additional paths
Hello Everyone, I am working in vs code(ESP-IDF), I got the error (fatal error: esp_private/spi_common_internal.h: No such file or directory). as i searched online this header is present in (C:\Users\user_name\esp\v5.3.2\esp-idf\components\esp_driver_spi\include\esp_private). so how can i link the a...
- Sat Feb 15, 2025 9:37 am
- Forum: ESP-IDF
- Topic: ***ERROR*** A stack overflow in task main has been detected.
- Replies: 11
- Views: 32828
Re: ***ERROR*** A stack overflow in task main has been detected.
#define configSTACK_DEPTH_TYPE uint32_t it takes uint32_t ,so we can say that 256 bytes is enough for esp_logi also i tried with increasing the stack size by 1024 but got the same output. anything else did i wrong in the code? Actually not. Espressif version freertos we are using is using uint8 in ...
- Sat Feb 15, 2025 9:22 am
- Forum: ESP-IDF
- Topic: ***ERROR*** A stack overflow in task main has been detected.
- Replies: 11
- Views: 32828
Re: ***ERROR*** A stack overflow in task main has been detected.
#define configSTACK_DEPTH_TYPE uint32_t it takes uint32_t ,so we can say that 256 bytes is enough for esp_logi also i tried with increasing the stack size by 1024 but got the same output. anything else did i wrong in the code? Actually not. Espressif version freertos we are using is using uint8 in ...
- Sat Feb 15, 2025 4:32 am
- Forum: ESP-IDF
- Topic: ***ERROR*** A stack overflow in task main has been detected.
- Replies: 11
- Views: 32828
Re: ***ERROR*** A stack overflow in task main has been detected.
#define configSTACK_DEPTH_TYPE uint32_t
it takes uint32_t ,so we can say that 256 bytes is enough for esp_logi also i tried with increasing the stack size by 1024 but got the same output. anything else did i wrong in the code?
it takes uint32_t ,so we can say that 256 bytes is enough for esp_logi also i tried with increasing the stack size by 1024 but got the same output. anything else did i wrong in the code?
- Fri Feb 14, 2025 12:54 pm
- Forum: ESP-IDF
- Topic: ***ERROR*** A stack overflow in task main has been detected.
- Replies: 11
- Views: 32828
Re: ***ERROR*** A stack overflow in task main has been detected.
#include <stdio.h> #include "driver/gpio.h" #include "freertos/FreeRTOS.h" #include "freertos/semphr.h" #include "freertos/task.h" #include "freertos/timers.h" #include "esp_log.h" #include "esp_mac.h" #define TAG "FreeRTOS" // define the gpio that is used as common between two tasks #define LED 2 /...