Changes

User:Pau pajuelo

5,714 bytes removed, 15:28, 5 September 2014
m
DM3730: Decode an AAC audio file (OK)
= "CHECK ALL IN A NEW VIRTUAL MACHINE" TODO: =
TODO: Note that you cannot use stepin only stepover (all debug chapters) Categorize new tutorials
TODO: Explain that Eclipse only can build ARM projectsHow to manage the kernel modules on Linux
= How to develop with Qt under IGEP =do I edit my kernel command line
== Overview AUDIO DSP-ARM==
This guide can be helpful to learnt to develop Qt applications under ===Included (IGEP Boards. Qt is a cross-platform application framework that is widely used for developing application software with a graphical user interface, and also used for developing non-GUI programs such as commandGST DSP):==='''AACHEDEC -line tools and consoles for servers. You can get more information [http://qt.nokia.com/ here]. > DEC AACHE (OK)'''
== Requirements<br> ==http://download.wavetlan.com/SVV/Media/HTTP/FAAC-HE-AAC.aac
There are some requisites to follow this guide: gst-launch --gst-debug-level=2 filesrc location=sampleaache.m4a ! TIAuddec1 codecName=aachedec engineName=codecServer ! volume volume=0.25 ! alsasink sync=false
*[http://isee.biz/component/zoo/item/igepoutofthebox-virtual-machine-sdk-yocto IGEP SDK VM]: follow the IGEP&nbsp;SDK&nbsp;SOFTWARE&nbsp;USER&nbsp;MANUAL (chapter 2.3 "Setting up and running the VM")<br> *[http://downloads.isee.biz/denzil/binary/qt4e-demo-image-igep00x0.tar.bz2 IGEP Qt Demo]: follow the IGEP&nbsp;SDK SOFTWARE&nbsp;USER&nbsp;MANUAL (chapter 6.1 "Create IGEP firmware bootable micro-sd card") and install&nbsp;qt4e-demo-image-igep00x0.tar.bz2 instead IGEP firmware. *[http://www.isee.biz/products/processor-boards/igepv2-board IGEPv2], [http://www.isee.biz/products/expansion-boards/product-igep-berlin IGEP BERLIN] or [http://www.isee.biz/products/expansion-boards/product-igep-paris IGEP PARIS] *MicroSD Card (at least 2Gbytes)<br>ok
== Download and install Qt demo image to a SD<br> ==----
Once you have open IGEP SDK VM, launch a terminal and type: <pre>cd Desktop/wget http://downloads.isee.biz/denzil/binary/qt4e'''MP3DEC -demo-image-igep00x0.tar.bz2 git clone git://git.isee.biz/pub/scm/igep-tools.gitcd igep-tools/scripts</pre> Insert a SD-Card media and use the igep-media-create script to copy the firmware to SD-Card media, required options are: DEC MP3 (AUDIO ERRORS)'''
*-Followed README file from ISEE -mmc &lt;/dev/sdX&gt;IGEP DSP - GST + DMAI Support Package 3.40.00
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unformated MMC Card http://www.stephaniequinn.com/Music/Canon.mp3
*gst-launch -image &lt;filename&gt;-gst-debug-level=2 filesrc location=Canon.mp3 ! TIAuddec1 codecName=mp3dec engineName=codecServer ! volume volume=0.25 ! alsasink sync=false
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; specify file used to create the bootable SD card. '''Random fatal bit error'''
*'''mp3--machine &lt;machine&gt;plugin doesn't resolve the error'''
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; specify the machine. Options are igep0020, igep0030 or igep0032<br> ----
For example, assuming the SD card device takes "/dev/sdf" and you have and IGEPv2 board '''G711DEC -> DEC PCM uLAW (igep0020speech), type: <pre>./igep-media-create --mmc /dev/sdf --machine igep0020 --image /home/jdoe/Desktop/qt4e-demo-image-igep00x0.tar.bz2</pre> This should give you a bootable SD-card<br> (NOT TESTED)'''
== Prepare Qt demo image =='''G711ENC -> ENC PCM uLAW (speech) (NOT TESTED)'''
Qt demo image is a root filesystem build by Yocto that contains Qt embedded libraries, also this image has some Qt examples for testing purposes. ===Not included (IGEP GST DSP):==='''ACCLCDEC -> DEC AACLE (NOT TESTED)'''
This image doesn't have openssh and gdbserver, so we should install these packages to develop Qt applications. Open a shell prompt using serial communication ''AACLDDEC -> DEC AACLD (IGEP&nbsp;SDK&nbsp;SOFTWARE&nbsp;MANUAL chapter 3.1 "Using serial mode"NOT TESTED) and type the following commands: <pre>zypper refzypper in opensshzypper in gdbserver</pre> Now you can connect between IGEP and VM using SSH protocol:<br> <pre>ssh root@"IGEP IP for example: 192.168.5.1"</pre> == Using Qt Creator =='''
=== First Steeps<br'''WMA9 -> ===DEC WMA9 (COMPILING ISSUES)'''
==== Open Program:<br'''ACCLCENC -> ====ENC AACLE (NOT TESTED)'''
Go to Applications '''ACCHEENC -&gt; IGEP development -&gt; Qt Creator<br> ENC AACHE (NOT TESTED)'''
{| border="1" width="200" cellspacing="1" cellpadding="1"|'''AACLDENC -| [[Image:Openqtv2.png|331x249px]]<br> | [[Image:Qtopenedv2.png|331x249px]]<br>|}ENC AACLD (NOT TESTED)'''
'''<sup>Click to enlarge image</supWMA8 ->ENC WMA8 (NOT TESTED)'''
==== Open an example:<br> ===='''Problems adding codecs into igep-gst-dsp'''
Copy your desired example from: /opt/QtSDK/Examples/4.7 to your desktop.<br> == DM3730==
{| border="1" width="200" cellspacing="1" cellpaddingDM3730: Decode a MP3 file (OK) (ADDED TO REPOSISTORIES)==="1"|-| [[Image:Qtcopyanexamplev2.png|496x373px]]|}
'''<sup>Click to enlarge image</sup>under contruction'''
'''NOTE:does not have an accelerated audio decoder element''' some examples (like hellogl) cannot be compiled to ARM, for this How-to is used calculator example.
Open this example with Qt Creator, set Desktop target and use for each Qt Version one debug and one release - Compiled gst-plugins-ugly using yocto tools
{| border="1" width="757" cellspacing="1" cellpadding="1"|-| [[Image:Qtopenanexamplev2.png|250x188px]] | [[Image:Qtopenanexample2v2rpm -igst-plugins-ugly-0.png|250x188px]] | [[Image:Qtopenanexample3v2*.png|250x188px]]|}rpm
'''<sup>Click to enlarge image</sup>'''- rpm -i libmad0-0.*.rpm
=== ARM Platform<br> ===- rpm -i gst-plugins-ugly-mad-0.*.rpm
- gst-launch filesrc location=sample.mp3 ! mad ! volume volume== Build Programs <br> ===0.25 ! alsasink
To compile to ARM for IGEP go to Project use the following configuration at Projects field -&gt; Build=== DM3730: Decode a RA or RM audio file (ERRORS)===
{| bordergst-launch --gst-debug-level="1" width3 filesrc location="200" cellspacing="1" cellpaddingsample.ra ! rmdemux ! volume volume="1"|-| [[Image:Qtarmconfigv20.png|496px]]|}25 ! alsasink
'''<sup>Click to enlarge image<http:/sup>''' /www.superluminal.com/andalib/ra/listen.ra
'''NOTE:''' Use Debug Release if you want to debug later gst-plugins-ugly-rmdemux-0.10.19-r1.armv7a.rpm
Compile withlibgstsdp-0.10-0-0.10.36-r3.armv7a.rpm: Buildlibgstsdp-0.10-&gt;Clean All and Build0 libgstsdp-&gt;Build All (Ctrl+Shift+B)0.10.so. 0
==== Run Programs ====libgstrtsp-0.10-0-0.10.36-r3.armv7a.rpm:libgstrtsp-0.10-0 libgstrtsp-0.10.so.0
Once you compiled the program pass it from VM to IGEP&nbsp;via SSH, launch a terminal and type'''Error: <pre>scp "pathtobinary" root@"IGEP IP for example: 192.168.5.1":/home/root</pre> Get a remote shell prompt and run your program: <br> <pre>ssh root@"IGEP IP for example: 192.168.5.1"./"binary" "optional:arguments"</pre> {| border="1" width="200" cellspacing="1" cellpadding="1"|-| [[Image:Qtrunarmv2.jpg|496x373px]]|}'''
'''0:00:00.084839071 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<suprmdemux0>Click to enlarge image</sup>''' Bogus looking header, unprintable FOURCC
'''NOTE0:''' You cannot use igep-remote-x program because Qt-demo image doesn't have X installed00:00.085052695 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<brrmdemux0> Bogus looking header, unprintable FOURCC
==== Debug Programs 0:00:00.085540976 ====1550 0xa137b0 WARN rmdemux rmdemux.c:1057:gst_rmdemux_chain:<rmdemux0> Unknown object_id .ra4
'''NOTE'''0: When you debug programs using Qt Creator "Step in" and "Step Out" are not supported00:00.085693564 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, because dinamic libraries symbols are not loaded by gdb.unprintable FOURCC
Once you compiled the program pass it from VM to IGEP&nbsp;via SSH, launch a terminal and type0: <pre>scp "pathtobinary" root@"IGEP IP for example00: 192.16800.5085815634 1550 0xa137b0 WARN rmdemux rmdemux.1"c:/home/root</pre> Get a remote shell prompt and run gdbserver1012: <pre>ssh root@"IGEP IP for examplegst_rmdemux_chain: 192.168.5.1"gdbserver "VM IP for example: 192.168.5.10":1000 "pathtobinary" "optional:armguments"</pre> Now use the followings steps to debug program:<brrmdemux0> Bogus looking header, unprintable FOURCC
{| border="1" width="200" cellspacing="1" cellpadding="1"|-| [[Image0:Qtdebugx861v200:00.png|331x249px]] | [[Image085907187 1550 0xa137b0 WARN rmdemux rmdemux.c:Qtarmdebug1v2.png|331x249px]]|-| [[Image1057:Qtarmdebug2v2.png|331x249px]] | [[Imagegst_rmdemux_chain:Qtarmdebug3v2.png|331x249px]]|}<rmdemux0> Unknown object_id RaTC
'''<sup>Click to enlarge image</sup>''' === DM3730: Decode an AAC audio file (OK)===
Image 1EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \ --with-plugins=musicbrainz,wavpack,ivorbis,mpegvideoparse,'''faad2''' --disable-vdpau --disable-apexsink \ --disable-orc"Install: set breakpoints in your source code
Image 3: use the following configuration:
*Debugger: /opt/poky/1faad2-2.2/sysroots/i6867-pokysdk-linux/usr/bin/r2.armv7a.rpmlibfaad2-vfp-neon2.7-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb *Local executable: "pathtohostbinary" *Host and port: "IGEP IP for example: 192r2.168armv7a.5.1":1000 rpm*Architecture: arm *GNU target: armgst-plugins-nonebad-linuxfaad-gnueabi *Sysroot: (empty)<br> *Location of debugging information: (empty) *Override host GDB start script: download [http://labs0.isee10.biz/images/a/a1/Gdbinit_for_qt23-r2.tararmv7a.bz2 gdbinit] file, uncompress to home folder and select it (/home/jdoe/gdbinit)<br>rpm
'''NOTE:maybe there are necessary more packages, compare actual gst-bad-recipe and add changes. Necessary add faad2 recipe''' You cannot use igep<pre>bitbake faad2 gst-plugins-bad</pre><pre> rpm -i faad2-2.7-r2.armv7a.rpmrpm -i libfaad2-2.7-r2.armv7a.rpmrpm -i gst-plugins-bad-remotefaad-x program because Qt0.10.23-demo image doesn't have X installedr2.1.armv7a.rpm <br/pre>
gst-launch --gst-debug-level=3 filesrc location=sample.aac ! faad ! volume volume= x86 Platform<br> ===0.10 ! alsasink
==== Build Programs DM3730: Decode an WMA audio file (OK)====
To compile to x86 go to Project use the following configuration at Projects field <pre>bitbake gst-&gt; Build: ffmpeg</pre>
{| border<pre>gst-launch -v filesrc location="1" width="200" cellspacingsample.wma ! asfdemux ! decodebin ! audioconvert ! volume volume="1" cellpadding="1"|-| [[Image:Qtx86configv20.png|496px]]|}25 ! alsasink </pre>
'''<sup>Click to enlarge image</sup>''' === DM3730: Decode an OGG audio file (OK)===
'''NOTEInto repositories (base plugins):''' Use Debug Release if you want to debug later<br>
Compile withhttp: Build-&gt;Clean All and Build-&gt;Build All (Ctrl+Shift+B)//upload. wikimedia.org/wikipedia/en/0/04/Rayman_2_music_sample.ogg
gst-launch -v filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! volume volume=== Run Programs ====0.25 ! alsasink
Use run button (Ctrl+R). == BASE0033 CONNECTOR SUMMARY TABLE==
{| border="1" width="200" cellspacingConfigure a static IP using the same private network range ="1" cellpadding="1"|-| [[Image:Qtrunx86v2.png|496x373px]]|}
'''<sup>Click to enlarge image</sup>under construction'''
==== Debug Programs ====IGEP Firmware Yocto uses the following Ethernet network configuration (IP addresses)
Set breakpoints in your source code and press debug button (F5) *eth0 − 192.168.5.1*eth0:0 − assigned via dhcp.
{| border="1" width="200" cellspacing="1" cellpadding="1"|-| [[Image:Qtdebugx861v2This Ethernet network configuration is really useful when you work using a Linux operating system like IGEP SDK Virtual Machine.png|331x249px]] | [[ImageBecause you use eth0 device to communicate easily with your board and eth0:Qtdebugx862v20 device to get Internet acces using dhcp protocol.png|331x249px]]|}
'''<sup>Click But some scenarios this network configuration is not useful, for example: if you use a non-Linux operating system, connect to two IP private range interfaces is not simple. This How-to can be useful to enlarge image</sup>'''
= Set up a NFS between (Make diagram one: IGEP Board and Linux defualt communication. Diagram 2 IGEP VM (check at prove itand other SO alternative configuration) =
== Overview igep.ini parameters ==
Network File System (NFS) The kernel command line syntax is a Distributed file system protocol originally developed by Sun Microsystems name=value1. These next parameters are supported in 1984, allowing a user on a client Computer to access files over a network in a manner similar to how local storage is accessedigep. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) systemini since IGEP-X_Loader 2. The Network File System is an open standard defined in RFCs, allowing anyone to implement the protocol4. More information [http0-2://en.wikipedia.org/wiki/Network_File_System here].<br>
In IGEP Boards, NFS protocol can be used to mount a whole rootfs partition located in a remote disk like Virtual Machine, this method can be useful for:<br> === [kernel] ===
*Your remote rootfs will not be limited by flash or MicroSD memory storage *You can transfer binaries without using remote connections *You can test other rootfs only editing igep.ini configuration file. {| borderalign="1JUSTIFY" widthcellpadding="2001" cellspacingborder="1" cellpaddingstyle="1width: 900px; height: 240px;"|-| '''Parameter Name''' | '''Description''' | '''Default value''' | '''Comments'''|-| kaddress | Kernel copy address | =0x80008000 | Hex memory address|-| rdaddress | Ram Disk location address | =0x81600000 | Hex memory address;<br>disabled by default|-| serial.low | Serial number (low part) | =00000001 | Numeric|-| serial.high | Serial number (high part) | =00000000 | Numeric|-| revision | Revision ID | =0003 | Numeric|-| kImageName | Kernel, binary image name | =zImage | Kernel or binary image name|-| kRdImageName | Kernel RAM Disk Image Name | - | Ram Disk image name|-| MachineID | Machine ID (kernel ID) | ;IGEPv2<br>=2344 | ;Module<br>=2717<br>;Proton<br>=3203
|-
| [[Image:Nfs1 filesystem.pngMode | Boot Mode |331px]] ;Linux kernel<br>=kernel | ;Other image (like uboot)<br>[[Image:Nfs2 filesystem.png|331px]binary image]
|}
'''<sup>Click to enlarge image</sup>'''=== [kparams] ===
{| align="JUSTIFY" cellpadding= Requirements "1" border="1" style="width: 900px; height: 1095px;"|-There are some requisites to follow this guide: | '''Parameter Name''' | '''Description''' | '''Default value''' | '''Comments'''|-| buddy *[http:| Enable//isee.biz/component/zoo/item/igep-virtual-machine-sdk-yocto IGEP SDK VM]: follow the IGEPdisable expansion board support | &nbsp;SDK&nbsp;SOFTWAREIGEPv2 Expansion Board support<br>=igep0022 | &nbsp;USER&nbsp;MANUAL (chapter 2.3 "Setting up Berlin and running the VM")Paris Expansion Board support<br> *[http://downloads.isee.biz/denzil/binary/qt4e-demo-image-igep00x0.tar.bz2 IGEP Qt Demo] or [http://isee.biz/component/zoo/item/igep-firmware-yocto-1-2 IGEP Firmware]: follow the IGEP&nbsp;SDK SOFTWARE&nbsp;USER&nbsp;MANUAL (chapter 6.1 "Create IGEP firmware bootable micro-sd card") =base0010<br> *IGEP Board with Ethernet or Wifi connectionNew York Expansion<br>=ilms0015*MicroSD Card (at least 2Gbytes)|-| console == Set up NFS at VM ==| Setup the kernel console parameters | === Download and extract IGEP root filesystem ===ttyO2,115200n8 | -ISEE mantains two rootfs builded with Yocto tools: |-| earlyprintk *IGEP firmware: default software shipped in all IGEP Boards. It comes with some documentation and tools, so you need to uncompress again to extract rootfs| Enable early printk <pre>wget http://downloads.isee.biz/denzil/binary/igep_firmware| -yocto| -1.2.1|-1.tar.bz2 tar jxf igep_firmware-yocto-*.tar.bz2| mem cd igep_firmware-yocto-*| Setup the Board Memory Configuration sudo mkdir /srv/{your_rootfs_dir}| =430M sudo tar jxf demo| -image|-sato-igep00x0.tar.bz2 -C /srv/{your_rootfs_dir} </pre> *Qt demo: demo filesystem with Qt libraries and examples| boot_delay <pre>wget http://downloads.isee.biz/denzil/binary/qt4e-demo-image-igep00x0.tar.bz2 | Setup the boot delay sudo mkdir /srv/{your_rootfs_dir}| =0 sudo tar jxf qt4e| -demo-image-igep00x0.tar.bz2 |-C /srv/{your_rootfs_dir}</pre> === Configure NFS Server ===| mpurate | Setup ARM Processor Speed *Install nfs| -kernel| -server:<pre>sudo apt-get install nfs-kernel|-server </pre> *Make directory exports.d:<br>| loglevel <pre>sudo mkdir /etc/exports.d </pre> Edit /etc/exports file, add | Setup the following line and save the changes: loglevel <pre>/srv/{your_rootfs_dir} *(rw,sync,no_subtree_check,no_root_squash)</pre> | - Export NFS file system: | -<pre>sudo exportfs |-a</pre> '''NOTE: '''You can have as many rootfs as you want| debug | Enable kernel debug output == Set up NFS at IGEP Board ==| - | -=== MicroSD boot ===|-| fixrtc Configure igep.ini file located at boot partition:<br> | Fix RTC variable | - *Comment MMC boot:| -<pre>; --|- | nocompcache | Configure MMC boot ---nocompcache variable ;root| =/dev/mmcblk0p2 rw rootwait</pre> 1 *Add NFS configuration:| -<pre>; --- Configure NFS boot --|-ip=192.168.5.1:192.168.5.10::255| omapfb.255.255.0::eth0mode root=/dev/nfs| Configure frame bugger configuration nfsroot| =192.168.5.10dvi:/srv/{your_rootfs_dir}</pre> hd720-16@50 Save changes, plug MicroSD card and power up your IGEP.| &nbsp;;Other configuration<br> =dvi:1280x720MR-16@60|-=== Flash boot<br> ===| vram | Configure Video RAM assigned to every frame buffer Boot IGEP with a MicroSD card without NFS support. | - <pre>mkdir /tmp/temp| -mount |-t jffs2 /dev/mtdblock1 /tmp/temp </pre> Now, mtdblock1 partition is mounted at /tmp/temp directory. Modify igep.ini located in: /tmp/temp/igep| omapfb.ini vram | Configure Video RAM assigned to every frame buffer *Comment JFFS2 FS boot:| - <pre>; -| -|- | omapfb.debug | Configure JFFS2 FS boot frame buffer debug output | -| -|-;root=/dev/mtdblock2| omapdss.debug ;rootfstype=jffs2</pre> | Configure DSS Video debug output *Add NFS configuration:| - <pre>; --- Configure NFS boot -| -|-ip=192| smsc911x.168.5.1:192.168.5.10::255.255.255.0::eth0mac0 root=/dev/nfs| Configure Board Ethernet Mac Address nfsroot| =192.168.5.10:/srv/{your_rootfs_dir}</pre> 0xb2,0xb0,0x14,0xb5,0xcd,0xde Save changes, power down | For IGEP, unplug MicroSD card and power up your boardBERLIN|-| smsc911x.mac1 | Configure Board Ethernet Mac Address | = Install and configure codeblocks for 0xb2,0xb0,0x14,0xb5,0xcd,0xdf | For IGEP devices BERLIN (under constructiononly with IGEP PROTON) =|-== Overview ==| smsc911x.mac | Configure Board Ethernet Mac Address Code::Blocks is a free and open source| =0xb2, cross-platform IDE which supports multiple compilers including GCC and MSVC. It is developed in C++ using wxWidgets as the GUI toolkit. Using a plugin architecture0xb0, its capabilities and features are defined by the provided plugins. Currently0x14, Code::Blocks is oriented towards C and C++. It can also be used for creating ARM0xb5, AVR0xcd, D0xde | For IGEPv2, DirectXIGEP PROTON, FLTK, Fortran, GLFW, GLUT, GTK+, Irrlicht, Lightfeather, MATLAB, OGRE, OpenGL, Qt, SDL, SFML, STL, SmartWin IGEP PARIS and wx programs and applications, although in some cases installing thirdIGEP BERLIN|-party SDKs or frameworks is necessary. More information [http://en| ubi.wikipedia.org/wiki/Codeblocks here].<br> mtd | Fot UBI FS boot Code::Blocks is not installed by default in IGEP&nbsp;SDK VM, because Eclipse IDE is full integrated with IGEP Firmware. If you don't like Eclipse IDE or you want to use Code::blocks anyway this How| -to can be helpful to install and set up it.<br>| -== Requirements ==|-| root There are some requisites to follow this guide: | Configure root directory for MMC, NFS or UBI  *IGEP SDK VM: follow the IGEP&nbsp;SDK&nbsp;SOFTWARE| &nbsp;USER&nbsp;MANUAL (chapter 2.3 "Setting up and running the VM")For mmc memory<br> =/dev/mmcblk0p2 rw rootwait *IGEP Firmware: follow the IGEP| &nbsp;SDK SOFTWARE&nbsp;USER&nbsp;MANUAL (chapter 6.1 "Create IGEP firmware bootable micro-sd card") For flash memory<br> =/dev/mtdblock2|-| nfsroot | For NFS boot *IGEP Board | - | -|-| rootfstype | For UBI FS boot | - *MicroSD Card (optional)<br>| -|-'''''"Link software "''''' | ip | For NFS boot == Install Code::Blocks in VM ==| - <pre>sudo apt| -get install codeblocks codeblocks|-contrib </pre> == Configure Code::Blocks ==| init | Assign init program === Startup script ===| - <pre>cd Desktop/IGEP\ development/| -gedit Codeblocks.sh</pre> |-Copy this code to Codeblocks| musb_hdrc.sh debug <pre>#! /bin/bash| USB debug source /opt/poky/1.2/environment| -setup| -armv7a|-vfp| musb_hdrc.use_dma | USB over network | -neon| -poky|-linux| libertas.libertas_debug | Configure libertas debug | -gnueabi exec codeblocks </pre> | -Give execute privileges to script: |-<pre>chmod a+x ~/Desktop/IGEP\ development/Codeblocks| board.sh <ei485 | Enable/pre> disable RS485 Codeblocks now will use IGEP SDK environtment variables every time you run this script, don't execute this script if you want to compile with other environtment.| &nbsp;;Enable RS485<br> === Add IGEP SDK Compiler and Debugger ===yes  Follow the next instructions:  {| cellspacing&nbsp;;Disable RS485<br>="1" cellpadding="1" border="1" width="200"no
|-
| [[Image:Addsdkcodeblocks1board.pngmodem |250px]] Enable/disable GPRS modem | [[Image:Addsdkcodeblocks2.png|250px]] &nbsp;;Enable modem (IGEPv2 Expansion)<br>=no | [[Image:Addsdkcodeblocks3.png|250px]]&nbsp;;Enable modem (IGEPv2 Expansion)<br>=yes
|-
| [[Image:Addsdkcodeblocks4buddy.png|250px]] revision | Enable hardware buddy revision [[Image:Addsdkcodeblocks5.png|250px]A or B] | [[Image:Addsdkcodeblocks6.pngOnly for base0010<br>=A |250px]]Only for base0010<br>=B
|}
 
'''<sup>Click to enlarge image</sup>'''
 
== Using Code::Blocks ==
 
s
 
=== Build programs ===
 
s
 
=== Run programs ===
 
d
 
=== Debug programs ===
 
'''NOTE''': When you debug programs using CodeBlocks "Step into" and "Step out" are not supported, because dinamic libraries symbols are not loaded by gdb.
4,199
edits