User manual
5 Software Development
5.3. Programming Examples Repository
Some programming examples were prepared to show/test the abilities of OnRISC hardware. The
latest version of this software can be obtained from our repository by executing the following
command:
svn co svn://svn.visionsystems.de/OnRISC_Software/trunk OnRISC_Software/trunk
This repository contains following folders:
• examples - some basic programming examples as described in Section 2.4 (KS8695)
• examples-gui - some basic examples for GUI programming. Each example has README
file with compiling instructions and further info. Copy this folder to your OnRISC’s Debian
image, log in into XFCE, compile and run examples (OMAP3)
• hwtest - Hardware Test Utility enables the testing of OnRISC peripherals (KS8695) (see
Section C)
• hwtest-qt - Hardware Test Utility with GUI enables the testing of OnRISC peripherals
(OMAP3) (see Section D)
• installation - this folder provides files needed for Debian installation as described in Section
(KS8695) 9
5.4. Setup Shared Source Directory
To avoid permanent copying the compiled files, you can share the examples folder on your PC via
Samba. Assuming your PC has the IP address 192.168.254.253 and a valid user like “user” from
group “user” registered in the Samba-server do:
• On the PC side
– cd /home/user
– mkdir onrisc_examples
– copy all files from examples folder to onrisc_examples
– edit as su /etc/samba/smb.conf. Add the [onrisc] share:
[onrisc]
comment=OnRISC programming examples
path=/home/user/onrisc_examples
browsable=yes
writable=yes
valid users=user
– /etc/init.d/samba restart
• On the OnRISC
– login as user
– mkdir onrisc_examples
– su
May 2014 OnRISC User Manual 36