0
\$\begingroup\$

I'd like to make use of object-oriented practises inside a FreeRTOS application. Is this as simple renaming files with task functions as .CPP, and instantiating objects, etc. inside the function, compiling as you normally would? Or, is some configuration involved?

Perhaps somebody could demonstrate with a sample "blinky" example, where the task itself is a C function, in which an object of some sort is created and used.

\$\endgroup\$
4
  • \$\begingroup\$ Wrong site. But the answer to the first paragraph would be - highly unlikely. \$\endgroup\$ – Eugene Sh. May 11 '18 at 19:53
  • \$\begingroup\$ @EugeneSh., I presume you mean the first question? \$\endgroup\$ – M-R May 11 '18 at 19:54
  • \$\begingroup\$ Yeah. apparently it has two parts... \$\endgroup\$ – Eugene Sh. May 11 '18 at 19:55
  • \$\begingroup\$ Take a look interactive.freertos.org/hc/en-us/community/posts/… \$\endgroup\$ – Eugene Sh. May 11 '18 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.