[STM32F7] fix typo in targets.py + remove tabs in iar.py

pull/1604/head
adustm 2016-03-10 18:24:10 +01:00
parent 1e1ed26327
commit 52c70867e6
2 changed files with 3 additions and 3 deletions

View File

@ -851,7 +851,7 @@ class NUCLEO_F746ZG(Target):
self.progen = {
"target":"nucleo-f746zg",
"iar": {
"template": [os.path.join(os.path.dirname(__file__), 'export', 'iar_nucleo_f746cg.ewp.tmpl')],
"template": [os.path.join(os.path.dirname(__file__), 'export', 'iar_nucleo_f746zg.ewp.tmpl')],
}
}

View File

@ -33,9 +33,9 @@ class IAR(mbedToolchain):
def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False):
mbedToolchain.__init__(self, target, options, notify, macros, silent, extra_verbose=extra_verbose)
if target.core == "Cortex-M7F":
cpuchoice = "Cortex-M7"
cpuchoice = "Cortex-M7"
else:
cpuchoice = target.core
cpuchoice = target.core
c_flags = [
"--cpu=%s" % cpuchoice, "--thumb",
"--dlib_config", join(IAR_PATH, "inc", "c", "DLib_Config_Full.h"),