Now that driver are more and more complete, let me ask for that couple of untested functions in freertos.
They are mainly croutine, notification, task resume and some special queue.
Are these already on a todo list for next future ?
In my case notification works(on same cpu), but it is still untested.
untested functions in freertos
-
- Posts: 2
- Joined: Tue Jan 17, 2017 8:16 pm
Re: untested functions in freertos
Can you clarify what you mean when you say this functionality is not tested? FreeRTOS developers test the code they distribute, including these functions.
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: untested functions in freertos
We modified FreeRTOS for multi-core use, and in the process we modified a fair few functions of it. Most of the FreeRTOS functions are tested for multicore-compatibility by now, but some are not and they are marked by an assert; that is what the OP means.
We've been planning to test these functions and validate/fix them. With a bit of luck, we'll get around to doing this before the 2.0 release.
We've been planning to test these functions and validate/fix them. With a bit of luck, we'll get around to doing this before the 2.0 release.
Re: untested functions in freertos
I'm using some untested functions because I like to live dangerously. I'd like to share the results of my testing efforts, is there a list if what should be tested to mark them as tested?
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: untested functions in freertos
Not yet. In general we need to see if these functions still work as advertised. More specifically for multicore, we need to test the behaviour of these functions when called from both CPUs at the same time; there may be some muxing race conditions involved. I would definitely be interested in hearing which functions you tested, how, and what the result was. Feel free to post in this topic or mail to jeroen at espressif dot com.
Re: untested functions in freertos
I'm using notification, task resume and task suspend in my app.
Good news, it works fine.
Bad news, both tasks are running on same core, so this is not the test you need.
Good news, it works fine.
Bad news, both tasks are running on same core, so this is not the test you need.
Re: untested functions in freertos
I didn't really test them exclusively, I simply used some of the process listing functions. I guess making a dozen threads on two cpus and continuously calling some of the utility functions could be used as a kind of explorative testing, but I'm not familiar with systematically looking for problems with deadlocks and race conditions. I'll let you know if I run into an issue
Who is online
Users browsing this forum: No registered users and 70 guests