amazon-freertos | DEPRECATED - See README.md
kandi X-RAY | amazon-freertos Summary
kandi X-RAY | amazon-freertos Summary
IoT operating system for microcontrollers.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of amazon-freertos
amazon-freertos Key Features
amazon-freertos Examples and Code Snippets
Community Discussions
Trending Discussions on amazon-freertos
QUESTION
I'm working on an aws/amazon-freertos project. In there I found some unusual error "A stack overflow in task iot_thread has been detected".
Many time I got this error and somehow I managed to remove it by changing the code.
I just want to know what this error means actually?
As per what I know, it simply means that the iot_thread ask stack size is not sufficient. So it's getting overflow.
Is this the only reason why this error comes or can there be another reason for this?
If yes then where should I increase the stack size of the iot_thread task?
Full Log:
...ANSWER
Answered 2021-Jun-14 at 22:05It simply means that the iot_thread ask stack size is not sufficient. [...] Is this the only reason why this error comes or can there be another reason for this?
Either it is insufficient you your stack usage is excessive (due to recursion error or instantiation of instantiation of large objects or arrays. Either way the cause is the same. Whether it is due insufficient stack or excessive stack usage is a matter of design an intent.
If yes then where should I increase the stack size of the iot_thread task?
The stack for a thread is assigned in the task creation function. For a dynamically allocated stack that would be the xTaskCreate()
call usStackDepth
parameter:
QUESTION
In my embedded project I compile amazon-freertos/lib/FreeRTOS-Plus-TCP/FreeRTOS_Sockets.c
in this way:
ANSWER
Answered 2020-Apr-01 at 09:19I opened a bug on the binutils issue tracking system:
https://sourceware.org/bugzilla/show_bug.cgi?id=25676
I think I can say that it's been fixed.
QUESTION
I want to use older versions of Amazon FreeRTOS
and build the demo applications that the already provide by default. However, when I checked the releases I only get the source files belonging to a release when I download the zip
file. I could not follow the latest user guide (as it is very different with older version - no cmakefiles
, cmakelist
files etc. in the older version folder) and neither I was able to find an older user guides to get started with older versions. Anybody know where to look in order to get started with developing using older versions? Big help. Thanks
ANSWER
Answered 2020-Feb-08 at 22:17The older getting started guides are unfortunately not available online. If you can be more specific and indicate which project and which version you are trying to build and where you got stuck we will be able to help you resolve your problem.
You can also post for help at the AWS Developer forum site here https://forums.aws.amazon.com/forum.jspa?forumID=276 as the team actively monitors that forum for requests for help. If you specify which version and which target platform you will be able to get help there quickly.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install amazon-freertos
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page