Other Parts Discussed in Thread: SYSCONFIG
In SDK 6.10, clicking on POSIX Settings in SysConfig results in the following:
I'd like to use usleep(). Any help appreciated.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Martin,
This is going to be fixed in a future SDK. We still cannot see the screenshot, but I was able to see an error message myself. I am assuming it is the same error.
1. We have a workaround. Right click on the sensor.syscfg file in your project and open with generic text editor.
2. Comment these lines out.
/* ======== RTOS ======== */ const RTOS = scripting.addModule("/ti/drivers/RTOS"); RTOS.name = "TI-RTOS";
3. Save it and close the file. Right click on this file again and open with the sysconfig editor. Now you should be able to add posix settings in sysconfig without the error message that you see.
4. And then it should be possible to use the unistd.h and the sleep in your application code.
Regards,
Sid