0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-19 16:16:13 +00:00
MarlinFirmware/buildroot/share/PlatformIO/scripts/random-bin.py
2021-02-27 22:38:57 -06:00

9 lines
194 B
Python

#
# random-bin.py
# Set a unique firmware name based on current date and time
#
Import("env")
from datetime import datetime
env['PROGNAME'] = datetime.now().strftime("firmware-%Y%m%d-%H%M%S")