move to scripts directory

This commit is contained in:
proddy
2019-05-09 21:01:18 +02:00
parent cb91d0e8c0
commit 9c58a4bbfd
5 changed files with 8 additions and 3 deletions

8
scripts/rename_fw.py Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env python
from subprocess import call
import os
Import("env")
# see http://docs.platformio.org/en/latest/projectconf/advanced_scripting.html#before-pre-and-after-post-actions
# env.Replace(PROGNAME="firmware_%s" % defines.get("VERSION"))
env.Replace(PROGNAME="firmware_%s" % env['BOARD'])