My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
123456789 |
- #
- # random-bin.py
- # Set a unique firmware name based on current date and time
- #
- import pioutil
- if pioutil.is_pio_build():
- from datetime import datetime
- Import("env")
- env['PROGNAME'] = datetime.now().strftime("firmware-%Y%m%d-%H%M%S")
|