debug scripts

This commit is contained in:
proddy
2019-03-10 22:28:18 +01:00
parent 5b0dcc9b22
commit a2c9aeae12
7 changed files with 335 additions and 21 deletions

View File

@@ -3,7 +3,6 @@ from subprocess import call
import os
Import("env")
def code_check(source, target, env):
print("\n** Starting cppcheck...")
call(["cppcheck", os.getcwd()+"/.", "--force", "--enable=all"])
@@ -18,7 +17,6 @@ def code_check(source, target, env):
# print defines
# print env.Dump()
# built in targets: (buildprog, size, upload, program, buildfs, uploadfs, uploadfsota)
env.AddPreAction("buildprog", code_check)
# env.AddPostAction(.....)