Changes

Jump to: navigation, search

Development Environment HowTo (NELK)

451 bytes added, 08:59, 25 May 2012
Build a custom application
Please refer to the [http://processors.wiki.ti.com/index.php/DM814x_EZ_5.04.00_Software_Developers_Guide#Writing_your_own_.22Hello_World.21.22_application_and_executing_it_on_the_target dedicated section on the EZSDK Developers Guide]
The command sequence following instructions allow to build and check a simple "hello world" C application is the following:
<pre class="workstation-terminal">
</pre>
Insert the following source code:
 
<pre>
#include <stdio.h>
int main()
{
printf("Hello World!\n");
}
</pre>
<pre class="workstation-terminal">
</pre>
Insert the following instructions:
 
<pre>
# Import the variables from the EZSDK so that you can find the EZSDK components
include ${EZSDK}/Rules.make
helloworld:
# Make sure that you use a tab below
$(CSTOOL_PREFIX)gcc -o helloworld helloworld.c
</pre>
Take care that the gap before $(CSTOOL_PREFIX)gcc corresponds to a tab.
<pre class="workstation-terminal">
customer
235
edits

Navigation menu