2 # This script includes arduino specific config for oic-resource
7 if 'ETHERNET' in env.get('TARGET_TRANSPORT'):
8 env.ImportLib('Ethernet')
9 if 'WIFI' in env.get('TARGET_TRANSPORT'):
11 env.AppendUnique(CPPDEFINES = ['ARDUINOWIFI'])
12 if 'BLE' in env.get('TARGET_TRANSPORT'):
14 env.ImportLib('RBL_nRF8001')
16 env.ImportLib('Time/Time')
17 # we have variety of macros for arduino!!
18 if env.get('RELEASE'):
19 env.AppendUnique(CPPDEFINES = ['WITH_ARDUINO', '__ARDUINO__'])
21 env.AppendUnique(CPPDEFINES = ['WITH_ARDUINO', '__ARDUINO__', 'TB_LOG'])