Prusa MINI Firmware overview
generic_create_variant.py File Reference

Namespaces

 generic_create_variant
 

Variables

 generic_create_variant.env = DefaultEnvironment()
 
 generic_create_variant.platform = env.PioPlatform()
 
 generic_create_variant.board = env.BoardConfig()
 
 generic_create_variant.FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoststm32")
 
 generic_create_variant.CMSIS_DIR = os.path.join(FRAMEWORK_DIR, "CMSIS", "CMSIS")
 
 generic_create_variant.mcu_type = board.get("build.mcu")[:-2]
 
 generic_create_variant.variant = board.get("build.variant")
 
string generic_create_variant.series = mcu_type[:7].upper() + "xx"
 
 generic_create_variant.variant_dir = os.path.join(FRAMEWORK_DIR, "variants", variant)
 
 generic_create_variant.source_dir = os.path.join("buildroot/share/PlatformIO/variants", variant)
 
 generic_create_variant.full_file_name = os.path.join(source_dir, file_name)