0
edits
Changes
m
= Configure ''CodeBlocks'' for ''ARM''=
Go to ''settings/compiler and debugger'' menu, choose ''GNU ARM GCC compiler'' as compiler. You should see the following window:
[[Image:settings.jpg|center|500px]]
Select ''Search directories'' tab and ''Compiler''. Then add the following directories (and adapt it if necessary):
<pre>
/usr/local/poky/eabi-glibc/arm-none-linux-gnueabi/lib
$(HOME)/igep/dsplink_linux_1_63/dsplink/gpp/inc/sys/Linux
$(HOME)/igep/dsplink_linux_1_63/dsplink/gpp/export/INCLUDE/Linux/OMAP3530/usr
</pre>
Which should give the following result:
[[Image:compiler.jpg|center|500px]]
In ''Search directories'', now choose ''Linker'' and add the following directories:
<pre>
$(HOME)/dsplink_linux_1_63/dsplink/gpp/inc/sys/Linux
</pre>
Which should give the following result:
[[Image:linker.jpg|center|500px]]
Choose ''Toolchain executables'' tab and ''Compiler's installations directory'':
<pre>
/usr/local/poky/eabi-glibc/
</pre>
Then, enter the ''Program Files'' as follows:
[[Image:executables.jpg|center|500px]]
no edit summary
This tutorial was written for the [http://www.igep-platform.com/index.php?option=com_content&view=article&id=46&Itemid=55 ''igep revB''] board, but it is transposable to other ''OMAP3530'' boards (above all for the ''DSP'' part). It is a summary (with some adaptations) of several tutorials found on Internet (see [[How_to_setup_a_development_environment#References|References]]). All files will be installed in the $HOME directory.
=== Copy kernel and ''rootfs'' in memory card ===
cp $HOME/TI/imglib_v201/lib/target/imglib2.l64P $DSPLINK/dsp/BUILD/OMAP3530_0/EXPORT/RELEASE/
</pre>
= Configure ''CodeBlocks'' for ''ARM''=
This part explains how to setup ''CodeBlocks'' to develop programs using ''dsplink'' library.
Go to ''settings/compiler and debugger'' menu, choose ''GNU ARM GCC compiler'' as compiler. You should see the following window:
[[Image:settings.jpg|center|500px]]
Select ''Search directories'' tab and ''Compiler''. Then add the following directories (and adapt it if necessary):
<pre>
/usr/local/poky/eabi-glibc/arm-none-linux-gnueabi/lib
$(HOME)/igep/dsplink_linux_1_63/dsplink/gpp/inc/sys/Linux
$(HOME)/igep/dsplink_linux_1_63/dsplink/gpp/export/INCLUDE/Linux/OMAP3530/usr
</pre>
Which should give the following result:
[[Image:compiler.jpg|center|500px]]
In ''Search directories'', now choose ''Linker'' and add the following directories:
<pre>
$(HOME)/dsplink_linux_1_63/dsplink/gpp/inc/sys/Linux
</pre>
Which should give the following result:
[[Image:linker.jpg|center|500px]]
Choose ''Toolchain executables'' tab and ''Compiler's installations directory'':
<pre>
/usr/local/poky/eabi-glibc/
</pre>
Then, enter the ''Program Files'' as follows:
[[Image:executables.jpg|center|500px]]
= References=