Prusa MINI Firmware overview
create_custom_upload_command_DFU Namespace Reference

Variables

 current_OS = platform.system()
 
 env = DefaultEnvironment()
 
 build_type = os.environ.get("BUILD_TYPE", 'Not Set')
 
 UPLOAD_PROTOCOL
 
string avrdude_conf_path = env.get("PIOHOME_DIR") + '\\packages\\toolchain-atmelavr\\etc\\avrdude.conf'
 
string source_path = env.get("PROJECTBUILD_DIR") + '\\' + env.get("PIOENV") + '\\firmware.hex'
 
string upload_string = 'avrdude -p usb1286 -c flip1 -C ' + avrdude_conf_path + ' -U flash:w:' + source_path + ':i'
 
 UPLOADCMD
 
 MAXIMUM_RAM_SIZE
 
 MAXIMUM_SIZE
 

Variable Documentation

◆ current_OS

create_custom_upload_command_DFU.current_OS = platform.system()

◆ env

create_custom_upload_command_DFU.env = DefaultEnvironment()

◆ build_type

create_custom_upload_command_DFU.build_type = os.environ.get("BUILD_TYPE", 'Not Set')

◆ UPLOAD_PROTOCOL

create_custom_upload_command_DFU.UPLOAD_PROTOCOL

◆ avrdude_conf_path

string create_custom_upload_command_DFU.avrdude_conf_path = env.get("PIOHOME_DIR") + '\\packages\\toolchain-atmelavr\\etc\\avrdude.conf'

◆ source_path

string create_custom_upload_command_DFU.source_path = env.get("PROJECTBUILD_DIR") + '\\' + env.get("PIOENV") + '\\firmware.hex'

◆ upload_string

string create_custom_upload_command_DFU.upload_string = 'avrdude -p usb1286 -c flip1 -C ' + avrdude_conf_path + ' -U flash:w:' + source_path + ':i'

◆ UPLOADCMD

create_custom_upload_command_DFU.UPLOADCMD

◆ MAXIMUM_RAM_SIZE

create_custom_upload_command_DFU.MAXIMUM_RAM_SIZE

◆ MAXIMUM_SIZE

create_custom_upload_command_DFU.MAXIMUM_SIZE