updated CodeGeneration
This commit is contained in:
9
Software/codegen/run_pre.py
Normal file
9
Software/codegen/run_pre.py
Normal file
@@ -0,0 +1,9 @@
|
||||
Import("env") # pylint: disable=undefined-variable
|
||||
env.Execute("\"$PYTHONEXE\" -m pip install jinja2")
|
||||
env.Replace(PROGNAME="firmware_pcb_1.%s.fw" % env.GetProjectOption("custom_pcb_revision"))
|
||||
|
||||
import struct2json
|
||||
import dtcs
|
||||
|
||||
struct2json.struct2json()
|
||||
dtcs.build_dtcs()
|
Reference in New Issue
Block a user