Prusa MINI Firmware overview
|
Variables | |
env = DefaultEnvironment() | |
platform = env.PioPlatform() | |
board = env.BoardConfig() | |
FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoststm32") | |
CMSIS_DIR = os.path.join(FRAMEWORK_DIR, "CMSIS", "CMSIS") | |
mcu_type = board.get("build.mcu")[:-2] | |
variant = board.get("build.variant") | |
string | series = mcu_type[:7].upper() + "xx" |
variant_dir = os.path.join(FRAMEWORK_DIR, "variants", variant) | |
source_dir = os.path.join("buildroot/share/PlatformIO/variants", variant) | |
full_file_name = os.path.join(source_dir, file_name) | |
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) |