Any opinions about FREE RTOS?
I like a priority scheduling kernel for the product that I
about to work on, but are there any significant
issues or just annoying features?
I am checking out the Free RTOS documentation and other resources.
Just curious if anyone has experienced any undocumented issues with it.
That's all.
Ed
I've used it on a couple of projects. It works fine.Oh I HATE Hungarian notation. hate, Hate HATE!
My biggest complaint with it is the old-fashioned style. It uses the
hideous "systems Hungarian notation" naming, has lots of macros, opaque void* pointers, and the like. Many RTOS and library developers seem to
view "pure ANSI C" (by which they mean C89/C90) as a good thing for portability and compatibility - to me, it means coding styles that went
out of fashion 20 years ago for good reasons.
It's not perfect, but I don't know of anything better, and I willThanks.
happily use it in the future.
Any opinions about FREE RTOS?
I like a priority scheduling kernel for the product that I
about to work on, but are there any significant
issues or just annoying features?
I am checking out the Free RTOS documentation and other resources.
Just curious if anyone has experienced any undocumented issues with it.
That's all.
Ed
On Wednesday, November 15, 2023 at 6:29:38 AM UTC-5, David Brown wrote:
I've used it on a couple of projects. It works fine.
My biggest complaint with it is the old-fashioned style. It uses the
hideous "systems Hungarian notation" naming, has lots of macros, opaque
void* pointers, and the like. Many RTOS and library developers seem to
view "pure ANSI C" (by which they mean C89/C90) as a good thing for
portability and compatibility - to me, it means coding styles that went
out of fashion 20 years ago for good reasons.
Oh I HATE Hungarian notation. hate, Hate HATE!
Well I'll deal with it.
It's not perfect, but I don't know of anything better, and I will
happily use it in the future.
Thanks.
Ed Prochak <edpr...@gmail.com> wrote:Thanks for the suggestion but
Any opinions about FREE RTOS?
I like a priority scheduling kernel for the product that I
about to work on, but are there any significant
issues or just annoying features?
I am checking out the Free RTOS documentation and other resources.
Just curious if anyone has experienced any undocumented issues with it.
That's all.There is also https://www.zephyrproject.org
Ed
Bye Jack
--
Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm?
On 16/11/2023 05:09, Ed Prochak wrote:Yes, good points. Thanks
Oh I HATE Hungarian notation. hate, Hate HATE!
Well I'll deal with it.
/Real/ Hungarian notation, as proposed by the Hungarian Charles Simonyi,
was to give additional information that was not part of the variable's
type. Thus "usInputString" might be a char* that holds an "unsafe
string" (not yet checked for weird characters, SQL injection attacks,
etc.), while "ssQueryString" would indicate that this is a "safe
string". Calling these "pchInputString" and "pchQueryString" is,
however, pointless, distracting, and harder to maintain. (In untyped languages, it could be useful.)
It's also fine to have, say, "mutBusLock" and "semDataReady" naming a
mutex and a semaphore, since the types of these variables (in FreeRTOS)
will be the same.
Basically, Hungarian notation - like any other convention - is a good
thing if it adds helpful information in a convenient manner without distracting from the code, and without imposing a maintenance burden.
It is a bad thing when it duplicates something that is better expressed
in a different manner (such as types), makes code harder to read, or
harder to maintain.
Any opinions about FREE RTOS?I've used it successfully for many many projects, on several
On Tuesday, November 14, 2023 at 3:34:34 PM UTC-5, Ed Prochak wrote:Thanks Dave.
Any opinions about FREE RTOS?I've used it successfully for many many projects, on several
different hardware architectures. It's solid, well-supported via
great forum, no big difficulties or challenges. Yes the naming
is annoying but that's not a big problem! Lack of supported
C++ bindings is a hindrance but not hard to add wrappers as needed.
Hope it works well for you too,
Best Regards, Dave
PS: An important advantage is many IDEs include FreeRTOS-aware
debug windows (process status with stack use, queue status).
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 915 |
Nodes: | 10 (2 / 8) |
Uptime: | 39:48:55 |
Calls: | 12,170 |
Calls today: | 2 |
Files: | 186,521 |
Messages: | 2,234,456 |