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