Replies: 1 comment 1 reply
-
The finite loop task will consume memory that you reserved as long as it's running. Is this related to memory allocation error? Or using the memory at the outside scope. For the RTOS task that some outside variables and objects that access inside the task function should be declared as global or static. You also can create the struct that contains multiple types of data you want and pass to the task function parameter. If possible, you should create simple code example but complete that reproduces the issue that I can test. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a v large program to monitor remote irrigation tanks with 4-6 tasks using RTOS and this email function is particularly useful for alerts and alarms.
In testing prior to inclusion in the master program - As a strand alone email program where the email is called thru the loop fnc it works fine.
However as stand-alone with the email function within a RTOS task the watchdog reboots while waiting for the authentication process to respond – this often takes 5+- sec. to do so. I have tried increasing priority and adding a delay but unable to get it to work.
This may well be an RTOS question but if there is a work around within the email program structure, I would appreciate any assistance.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions