Due to absence of "Wifi" macro definition, a build error
appears for arduino with argument of "NET=Wifi"
Change-Id: Ie5acd09b0d54ed8af165f48302fa351182c679e3
Signed-off-by: Seung-woo Lee <sw0524.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/337
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
if not env.get('RELEASE'):
arduino_simplecs_env.AppendUnique(CPPDEFINES = ['TB_LOG'])
+if env.get('NET') == 'Wifi':
+ arduino_simplecs_env.AppendUnique(CPPDEFINES = ['ARDUINOWIFI'])
+
arduino_simplecs = arduino_simplecs_env.Program('SimpleClientServer', 'ocserver.cpp')
env.CreateBin('SimpleClientServer')