Skip to content

Commit

Permalink
Merge pull request #92 from openwsn-berkeley/develop_FW-279
Browse files Browse the repository at this point in the history
FW-279. Adapting SW to new FW organization.
  • Loading branch information
twatteyne committed Oct 6, 2014
2 parents a94897f + cdff8df commit 231af94
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 36 deletions.
7 changes: 2 additions & 5 deletions software/openvisualizer/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

import os
import platform
import subprocess
import sys

import SCons
import sconsUtils

Expand Down Expand Up @@ -114,7 +113,6 @@ def default(env,target,source):

Default(env.Command('default', None, default))


# Define environment and options common to all run... targets
runnerEnv = env.Clone()

Expand Down Expand Up @@ -154,7 +152,6 @@ AddOption('--ovdebug',
action = 'store_true')
runnerEnv['DEBUGOPT'] = GetOption('debugOpt')


# These options are used only by the web runner. We define them here for
# simplicity, but they must be removed from non-web use in the runner
# SConscript.
Expand Down Expand Up @@ -303,7 +300,7 @@ Alias(
)

#===== docs

SConscript(
os.path.join('docs', 'SConscript'),
exports = {"env": env},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#============================ defines =========================================

INPUT_FILE = os.path.join('..','..','..','..','..','openwsn-fw','firmware','openos','openwsn','openwsn.h')
INPUT_FILE = os.path.join('..','..','..','..','..','openwsn-fw','inc','opendefs.h')
OUTPUT_FILE = 'StackDefines.py'

#============================ helpers =========================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DO NOT EDIT DIRECTLY!
# This file was generated automatically by GenStackDefines.py
# on Sun, 03 Aug 2014 01:26:03
# on Sun, 05 Oct 2014 18:39:53
#

components = {
Expand Down Expand Up @@ -30,33 +30,15 @@
23: "OPENTCP",
24: "OPENUDP",
25: "OPENCOAP",
26: "TCPECHO",
27: "TCPINJECT",
28: "TCPPRINT",
29: "UDPECHO",
30: "UDPINJECT",
31: "UDPPRINT",
32: "RSVP",
33: "OHLONE",
34: "HELI",
35: "IMU",
36: "RLEDS",
37: "RREG",
38: "RWELLKNOWN",
39: "RT",
40: "REX",
41: "RXL1",
42: "RINFO",
43: "RHELI",
44: "RRUBE",
45: "LAYERDEBUG",
46: "UDPRAND",
47: "UDPSTORM",
48: "UDPLATENCY",
49: "TEST",
50: "R6T",
51: "SWARMBAND",
52: "RRT",
26: "C6T",
27: "CEXAMPLE",
28: "CINFO",
29: "CLEDS",
30: "CSTORM",
31: "CWELLKNOWN",
32: "TECHO",
33: "TOHLONE",
34: "UECHO",
}

errorDescriptions = {
Expand Down
4 changes: 2 additions & 2 deletions software/openvisualizer/site_scons/sconsUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def copySimfw(env, target):
the copy.
'''
# in openwsn-fw, directory containing 'openwsnmodule_obj.h'
incdir = os.path.join(env['FW_DIR'], 'firmware','openos','bsp','boards','python')
incdir = os.path.join(env['FW_DIR'], 'bsp','boards','python')
# in openwsn-fw, directory containing extension library
libdir = os.path.join(env['FW_DIR'], 'firmware','openos','projects','common')
libdir = os.path.join(env['FW_DIR'], 'projects','common')

# Build source and destination pathnames.
archAndOs = env['SIMHOSTOPT'].split('-')
Expand Down

0 comments on commit 231af94

Please sign in to comment.