#######################################################
#       Build TCP adapter for Ardunino
#######################################################

Import('env', 'src_dir')
import os.path

env.AppendUnique(CPPPATH = [ os.path.join(src_dir, 'arduino') ])

if env.get('SHIELD') == 'ETH':
    src_files = [ 'catcpserver_eth.cpp' ,
                  'catcpadapterutils_eth.cpp']
else:
    print "\nError: TCP is not supported for WIFI shield"
    Exit(1)

Return('src_files')
