Can the fork() and pipe() function be used with the PSOC 5LP? I seem to get undefined reference when using them although they are declared. I realize PSOC 5LP is not multi-CPU but I have a function that blocks my loop and I don't really care if it takes a while to execute. Just need to fire it off from within my loop.
Solved! Go to Solution.
You need the reference to the include file "unistd.h" for the fork() or pipe() function to be declared.
eq: #include <unistd.h>
This solves the "unidentified reference" issue.
However, the PSoC5 does not have a native multi-tasking or multi-processing OS. I'm not sure where these functions would take you.
There is a port of FreeRTOS for the PSoC5.