(self)
| 374 | row = row + 1 |
| 375 | |
| 376 | def prepare_build(self): |
| 377 | # get compiler |
| 378 | compiler = self.compilers.get() |
| 379 | if compiler == 'GCC': |
| 380 | compiler = 'gcc' |
| 381 | elif compiler == 'ARMCC': |
| 382 | compiler = 'keil' |
| 383 | elif compiler == 'IAR': |
| 384 | compiler = 'iar' |
| 385 | |
| 386 | # get RTT Root |
| 387 | rtt_root = self.RTTRoot.get_path() |
| 388 | # get Compiler path |
| 389 | exec_path = self.CompilersPath[self.compilers.get()].get_path() |
| 390 | |
| 391 | command = '' |
| 392 | |
| 393 | os.environ['RTT_ROOT'] = rtt_root |
| 394 | os.environ['RTT_CC'] = compiler |
| 395 | os.environ['RTT_EXEC_PATH'] = exec_path |
| 396 | |
| 397 | return command |
| 398 | |
| 399 | def check_path(self): |
| 400 | result = True |
no test coverage detected