fork() and pipe() function and PSOC 5LP

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
rg
Level 1
Level 1
First like received 5 sign-ins First reply posted

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.

0 Likes
1 Solution
KyTr_1955226
Level 6
Level 6
250 sign-ins 10 likes given 50 solutions authored

I don't believe fork() and pipe() exist on PSoC5LP as there is no Operating System.

There is some RTOS support for PSoC5LP, but it doesn't looks like any of them are fully POSIX compliant

freeRTOS has some kind of POSIX wrapper

uOS-III has some POSIX support, but not for fork()/pipe() looks like.

View solution in original post

2 Replies