aboutsummaryrefslogtreecommitdiff
path: root/buildroot/share/PlatformIO/scripts/random-bin.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildroot/share/PlatformIO/scripts/random-bin.py')
-rw-r--r--buildroot/share/PlatformIO/scripts/random-bin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildroot/share/PlatformIO/scripts/random-bin.py b/buildroot/share/PlatformIO/scripts/random-bin.py
new file mode 100644
index 0000000..4d7ca5d
--- /dev/null
+++ b/buildroot/share/PlatformIO/scripts/random-bin.py
@@ -0,0 +1,5 @@
+Import("env")
+
+from datetime import datetime
+
+env['PROGNAME'] = datetime.now().strftime("firmware-%Y%m%d-%H%M%S")