Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hi, there.
I want to create a thread in an ethercat application (tiescappl.c). Do you have sample code that you can use in my application?
1. I added the following to ti\PRU-ICSS-EtherCAT_Slave_01.00.07.02\protocols\ethercat_slave\ecat_appl\am335x_app.cfg
========================================
var Settings = xdc.useModule ( 'ti.sysbios.posix.Settings');
Settings.supportsMutexPriority = true;
Task.enableIdleTask = true;
========================================
2. I added the following to ti\PRU-ICSS-EtherCAT_Slave_01.00.07.02\protocols\ethercat_slave\ecat_appl\EcatStack\tiescappl.c
========================================
#include <ti/sysbios/posix/pthread.h>
========================================
3. When I try to build, I get the following error.
4. I referenced the following url:
http://processors.wiki.ti.com/index.php/SYS/BIOS_POSIX_Thread_(pthread)_Support
Thank you in advance.