Skip to content

Commit

Permalink
Remove unused debug flag
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyClaeys authored and fjmolinas committed Aug 31, 2020
1 parent 06fdefe commit 34e7281
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
9 changes: 0 additions & 9 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ command_line_options = {
'simhost': ['amd64-linux', 'x86-linux', 'amd64-windows', 'x86-windows'],
'simhostpy': [''], # No reasonable default
'panid': [''],
'debug': ['0', '1'],
'atmel_24ghz': ['0', '1'],
'revision': ['']
}
Expand Down Expand Up @@ -212,14 +211,6 @@ command_line_vars.AddVariables(
None, # validator
None, # converter
),
(
'debug', # key
'', # help
command_line_options['debug'][0], # default
validate_option, # validator
int, # converter
),
(
'atmel_24ghz', # key
'', # help
command_line_options['atmel_24ghz'][0], # default
Expand Down
5 changes: 0 additions & 5 deletions projects/gina/SConscript.env
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ MSPVERSION = "2618"
if buildEnv['toolchain']=='mspgcc':
flags = []
flags += ['-mmcu=msp430f{0}'.format(MSPVERSION)]
if buildEnv['debug']==0:
flags += ['-Os']
else:
flags += ['-O0']
flags += ['-g']
buildEnv.Append(CCFLAGS = ' '.join(flags))
buildEnv.Append(LINKFLAGS = ' '.join(flags))
elif buildEnv['toolchain']=='iar':
Expand Down
5 changes: 0 additions & 5 deletions projects/telosb/SConscript.env
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ MSPVERSION = "1611"
if buildEnv['toolchain']=='mspgcc':
flags = []
flags += ['-mmcu=msp430f{0}'.format(MSPVERSION)]
if buildEnv['debug']==0:
flags += ['-Os']
else:
flags += ['-O0']
flags += ['-g']
buildEnv.Append(CCFLAGS = ' '.join(flags))
buildEnv.Append(LINKFLAGS = ' '.join(flags))
elif buildEnv['toolchain']=='iar':
Expand Down

0 comments on commit 34e7281

Please sign in to comment.