mirror of https://github.com/ARMmbed/mbed-os.git
[STM32F7] fix typo in targets.py + remove tabs in iar.py
parent
1e1ed26327
commit
52c70867e6
|
@ -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')],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue