Forum: System Workbench for STM32

termios and pthread library

So I am new to STM32 and I am trying to do basic stuff.

I have tried to include termios (#include ) library, but I get the following error:
“fatal error: sys/termios.h: No such file or directory”

Another problem is with pthread library. It shows no mistake when I include it, but when I try to use any command of the library, it shows error: “symbol ‘...’ could not be resolved”. I have tried to include library through Project Properties but failed to do so.

I would be very grateful for any help.

Hello,
Are you trying to add OS-Posix stuff to a bare metal project ?!?
You don’t have any OS on a microcontroller.
Unless you are trying a project with some RTOS ?. If not, you cannot use any high level-OS related libraries.