#####  ADAM-6700 SDK  #####

This document is to support user on using ADAM-6700 SDK
The following table shows the location of the components in the package:

   ==================================================================
   |  COMPONENTS            |  LOCATION                             |      
   |------------------------+---------------------------------------|
   |  I/O lib               | ./ADAM6700SDK/IO/                     |
   |------------------------+---------------------------------------|
   |  I/O include           | ./ADAM6700SDK/IO/                     |
   |------------------------+---------------------------------------|
   |  I/O examples          | ./ADAM6700SDK/IO/                     |
   ==================================================================

Following stepts is for establishing the development environment: 

1)	Install virtualbox: VirtualBox-4.2.16-86992-Win.exe
2)	Install Ubuntu10.04
3)	Make sure the Ethernet function of the virtual machine is ready 
	( Bridged Adapter Mode, set the LAN of virtual machine as DHCP ) 
4)	Adjust the proper memory setting for the machine
5)	Share Folder, Create a folder "D:\Softs", and set this folder as Share Folder.
6)	Boot the virtual machine, and log in as Root
7)	After entering the machine, select the "device" and install "Guest Additions" 
8)	Copy package "gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2" to the virtual machine
	https://releases.linaro.org/13.03/components/toolchain/binarie
9)	Execute "tar -xjvf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 -C /opt/"
10)	Change folder to "/home/root/"
11)	Execute vim ./bashrc to edit the file
12)	Add below instruction to the bashrc file, then save and quit.
	"export PATH=$PATH:/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin"
13)	Execute "source ./bashrc"
14)	Copy "ADAM6700SDK.tar.bz2" to the virtual machine.
15)	Execute "tar -xjvf ADAM6700SDK.tar.bz2"
16)	cd  ADAM6700SDK
17)	Sample codes are under folder "IO/",
	use "sh build.sh" to compile the execution file for ADAM-6700.


Description of provided examples:

IO

1)	adam6717io_example.c:
	This is an example to show how to control ADAM-6717 digital input/output and analog input.
	
1)	adam6750io_adam6760io_example.c:
	This is an example to show how to control ADAM-6750/ADAM-6760 digital input/output.