大哥们,是小弟愚蠢,栈分配不合理导致的,感谢社区
eldest, is me stupid, stack allocation is not reasonable cause, thank the community
Search found 5 matches
- Tue Jan 30, 2024 7:50 am
- Forum: General Discussion
- Topic: Questions about freertos task creation [Full demo]
- Replies: 1
- Views: 505
- Tue Jan 30, 2024 5:40 am
- Forum: General Discussion
- Topic: Questions about freertos(ESP32-s3)
- Replies: 5
- Views: 1439
Re: Questions about freertos(ESP32-s3)
Thanks to you my friends, viewing the return value has been a great help. I have determined that the cause is a stack space allocation problem. But I have one more question.
The chip I use is ESP32-S3-WROOM-1U(N16R8), so how to check the size of DRAM and IRAM
The chip I use is ESP32-S3-WROOM-1U(N16R8), so how to check the size of DRAM and IRAM
- Tue Jan 30, 2024 4:03 am
- Forum: General Discussion
- Topic: Questions about freertos task creation [Full demo]
- Replies: 1
- Views: 505
Questions about freertos task creation [Full demo]
刚入手ESP的小白一个,最近在学习freertos,遇到了如下问题,我不知道为什么,请帮帮我。 创建了7个任务,2个指定核心0,2个指定核心1,还有3个未指定 但程序运行起来只跑前5个任务,任务6和7像是未创建的一样,且任务5只运行在核心0上,这使我很困扰 A little white who just started ESP, recently in learning freertos, encountered the following problems, I don't know why, please help me. 7 tasks were created, 2 designate...
- Tue Jan 30, 2024 2:35 am
- Forum: General Discussion
- Topic: Questions about freertos(ESP32-s3)
- Replies: 5
- Views: 1439
Re: Questions about freertos(ESP32-s3)
It feels like the sweetHomeTask is not being created While trying to create a task like this in the app_main function, task1 runs normally on core 0, but task2 and task3 always run the previous one on core 1 xTaskCreatePinnedToCore(&Task1, "Task1", 1024*50, NULL, configMAX_PRIORITIES, &task1Handle, ...
- Mon Jan 29, 2024 1:57 pm
- Forum: General Discussion
- Topic: Questions about freertos(ESP32-s3)
- Replies: 5
- Views: 1439
Questions about freertos(ESP32-s3)
Just started to contact ESP32 also please everyone Pointers. I tried to create 3 tasks. But no matter how hard you try, there's always a task that's not being performed. For example, the following code, why not print "sweetHomeTask", which is very confusing to me. The default freertos configuration ...