My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

random-bin.py 246B

123456789
  1. #
  2. # random-bin.py
  3. # Set a unique firmware name based on current date and time
  4. #
  5. import pioutil
  6. if pioutil.is_pio_build():
  7. from datetime import datetime
  8. Import("env")
  9. env['PROGNAME'] = datetime.now().strftime("firmware-%Y%m%d-%H%M%S")