Skip to content

Commit 52c7086

Browse files
committed
[STM32F7] fix typo in targets.py + remove tabs in iar.py
1 parent 1e1ed26 commit 52c7086

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

workspace_tools/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def __init__(self):
851851
self.progen = {
852852
"target":"nucleo-f746zg",
853853
"iar": {
854-
"template": [os.path.join(os.path.dirname(__file__), 'export', 'iar_nucleo_f746cg.ewp.tmpl')],
854+
"template": [os.path.join(os.path.dirname(__file__), 'export', 'iar_nucleo_f746zg.ewp.tmpl')],
855855
}
856856
}
857857

workspace_tools/toolchains/iar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class IAR(mbedToolchain):
3333
def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False):
3434
mbedToolchain.__init__(self, target, options, notify, macros, silent, extra_verbose=extra_verbose)
3535
if target.core == "Cortex-M7F":
36-
cpuchoice = "Cortex-M7"
36+
cpuchoice = "Cortex-M7"
3737
else:
38-
cpuchoice = target.core
38+
cpuchoice = target.core
3939
c_flags = [
4040
"--cpu=%s" % cpuchoice, "--thumb",
4141
"--dlib_config", join(IAR_PATH, "inc", "c", "DLib_Config_Full.h"),

0 commit comments

Comments
 (0)