Simpleide and standard libraries
Ray0665
Posts: 231
What is the best way to make simpleide see linux (raspberry pi) standard libraries?
I have a C program that #includes <termios.h> which the compiler does not see
but I know it is in /user/include.
I have a C program that #includes <termios.h> which the compiler does not see
but I know it is in /user/include.
Comments
So I am writing a simple test program in C that will just echo a character received back out on the terminal
and Ive been thinking in linux terms when I should be thinking in propeller terms
If I read between the lines of your reply correctly I just need to open the full duplex serial (C) object giving it the correct pins and ports and from
there it is just a matter of tx ( rx) to accomplish my goal.... easy peasy no need for all the termios junk
Thank you..
Glad the lights clicked on finally . It is sad that you can't just pull in all the normal Linux stuff... sorry
Good news is, you have a choice of "standard" libraries here. Parallax has provided their own interpretation in PropGCC as well as numerous add-ons (Simple Library). Another forum member, SRLM, has provided his own set of tools called libpropeller, many of which support unique devices that are not found in Simple. And, finally, I have my own set called PropWare (along with the C++ code, PropWare also contains a complete build system based on CMake, but I haven't provided any ARM-based images for your Raspberry Pi yet).
I am not at all familiar with termios.h, but both SRLM's interpretation of serial I/O and mine are very different from Parallax's standard C and Simple versions, so I'd encourage you to take a look at the signatures and pick one that fits your fancy.
David