Browse Source

Do not export values in memanalyzer

ech1560
Xose Pérez 6 years ago
parent
commit
17ee332dda
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      code/memanalyzer.py

+ 1
- 3
code/memanalyzer.py View File

@ -102,7 +102,7 @@ def run(env_, modules_):
flags = "" flags = ""
for item in modules_.items(): for item in modules_.items():
flags += "-D%s_SUPPORT=%d " % item flags += "-D%s_SUPPORT=%d " % item
command = "export ESPURNA_BOARD=\"WEMOS_D1_MINI_RELAYSHIELD\"; export ESPURNA_FLAGS=\"%s\"; platformio run --silent --environment %s 2>/dev/null" % (flags, env_)
command = "ESPURNA_BOARD=\"WEMOS_D1_MINI_RELAYSHIELD\" ESPURNA_FLAGS=\"%s\" platformio run --silent --environment %s 2>/dev/null" % (flags, env_)
subprocess.check_call(command, shell=True) subprocess.check_call(command, shell=True)
@ -251,6 +251,4 @@ try:
except: except:
raise raise
subprocess.check_call("export ESPURNA_BOARD=\"\"; export ESPURNA_FLAGS=\"\"", shell=True)
print("\n") print("\n")

Loading…
Cancel
Save