My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

random-bin.py 237B

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")