コード例 #1
0
    def __init__(self):
        self.bStr = build.BuildDataStrings()

        # list of paths with explanatory names and (optionally) default path
        # keys must match with 'self.bStr.toolsPaths' list
        self.pathsDescriptionsData = {
            self.bStr.gccExePath: {
                "name": "arm-none-eabi-gcc executable (arm-none-eabi-g++.exe)",
                "defaultPath": "arm-none-eabi-g++"
            },
            self.bStr.buildToolsPath: {
                "name": "make executable (make.exe)",
                "defaultPath": "make"
            },
            self.bStr.openOcdPath: {
                "name": "OpenOCD executable (openocd.exe)",
                "defaultPath": "openocd"
            },
            self.bStr.openOcdInterfacePath: {
                "name": "OpenOCD ST Link interface path ('stlink.cfg')",
                "defaultPath": "./scripts/interface/stlink.cfg"
            },
            self.bStr.stm32SvdPath: {
                "name":
                "STM target '*.svd' file (.../Keil*/CMSIS/SVD/STM32F0x1.svd)",
                "defaultPath": None
            }
        }
コード例 #2
0
    def __init__(self):
        self.bStr = build.BuildDataStrings()

        self.toolsList = [
            (self.bStr.gccExePath, "arm-none-eabi-gcc.exe"),
            (self.bStr.buildToolsPath, "make.exe"),
            (self.bStr.openOCDPath, "openocd.exe"),
            (self.bStr.openOCDTargetPath,
             "STM target '*.cfg' file (example: ...scripts/target/stm32f0x.cfg)"
             ),
            (self.bStr.stm32svdPath,
             "STM target '*.svd' file (example: .../Keil*/CMSIS/SVD/STM32F0x8.svd)"
             )
        ]
コード例 #3
0
    def __init__(self):
        self.bStr = build.BuildDataStrings()

        # list of paths with explanatory names and (optionally) default path
        self.toolsList = {
            self.bStr.gccExePath: {
                "name": "arm-none-eabi-gcc executable (arm-none-eabi-gcc.exe)",
                "defaultPath": "arm-none-eabi-gcc"},
            self.bStr.buildToolsPath: {
                "name": "make executable (make.exe)",
                "defaultPath":  "make"},
            self.bStr.openOcdPath: {
                "name": "OpenOCD executable (openocd.exe)",
                "defaultPath": "openocd"},
            self.bStr.stm32SvdPath: {
                "name": "STM target '*.svd' file (.../Keil*/CMSIS/SVD/STM32F0x1.svd)",
                "defaultPath": utils.workspacePath+"SVD"}
        }
コード例 #4
0
 def __init__(self):
     self.bStr = build.BuildDataStrings()
コード例 #5
0
 def __init__(self):
     self.cPStr = wks.CPropertiesStrings()
     self.mkfStr = mkf.MakefileStrings()
     self.bStr = build.BuildDataStrings()