Hi,
I'm a student in electronic engineering with some C/C++ experience. For my bachelor thesis plan to implement a Bare Metal application on a AM335x Starter Kit, receiving some data via UDP, doing some calculations on the received data and sending the results back via UDP. The focus lies on the calculation itself, using the NEON SIMD coprocessor and not so much on the ethernet part, so I was looking for an already running BareMetal Ethernet solution for the starter Kit that I could start with.
For this I wanted to start with the Sitara StarerWare enet_lwip example.
As I always got completely set up IDEs, toolchains and development boards during all courses at university, I've very few experience in setting up the tools by myself, even if I think that I have a basic understanding of what's going on after hitting the build button. So warning: This might be a stupid beginner question ;)
Until now, I failed with setting up a CCS project to build the example. I use CCS 6.1.2.00015 under Linux Ubuntu Gnome.
What I tried was creating a new project, chosed the SK_AM3358 as my target device, gave it a name, chosed the TI v.5.2.5 Compiler (right?), used the Linker command file in StarterWare/build/armv7a/cgt_css/am335x/evmskAM335x/enet_lwip/enetLwip.cmd, and created an empty project. After that, I manually added enetLwip.c and lwipots.h from the StarterWare/examples/evmskAM335x/enen_lwip folder. I added StarterWare/inlcude and StarterWare/third_party/lwip-1.4.0 to the compilers #include search path in my project settings.
When I try to build it, I get a lot of errors, telling me that the included header files (which are placed in subfolders) can't be found. I began to try to find these files manually and added the path to the #include statements in the source files, but I gave up after some time, realizing that this couldn't be the right way to do this :D
But how do I actually configure a new CCS Project right to build the StarterWare examples and find the needed headers automatically?
Thanks in advance for replies!