()
| 72 | private ports: { [name: string]: number }; |
| 73 | |
| 74 | public static getSTMCubeIdeDir(): string { |
| 75 | switch (os.platform()) { |
| 76 | case 'darwin': |
| 77 | return ST_DIR; |
| 78 | case 'linux': |
| 79 | return resolveCubePath([ST_DIR], STMCUBEIDE_REGEX, ''); |
| 80 | default: |
| 81 | return resolveCubePath([ST_DIR], STMCUBEIDE_REGEX, 'STM32CubeIDE'); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | public static getArmToolchainPath(): string { |
| 86 | // Try to resolve gcc location |
no test coverage detected