Skip to content

Commit 60ec7cc

Browse files
committed
[DISCO_F746] linker option in toolchains/gcc.py
adding "-u_printf_float", "-u_scanf_float" for disco_f746
1 parent b34e067 commit 60ec7cc

File tree

1 file changed

+1
-1
lines changed
  • workspace_tools/toolchains

1 file changed

+1
-1
lines changed

workspace_tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def __init__(self, target, options=None, notify=None, macros=None, silent=False,
186186
self.ld.append("--specs=nano.specs")
187187
if target.name in ["LPC1768", "LPC4088", "LPC4088_DM", "LPC4330", "UBLOX_C027", "LPC2368"]:
188188
self.ld.extend(["-u _printf_float", "-u _scanf_float"])
189-
elif target.name in ["RZ_A1H", "ARCH_MAX", "DISCO_F407VG", "DISCO_F429ZI", "DISCO_F469NI", "NUCLEO_F401RE", "NUCLEO_F411RE", "NUCLEO_F446RE", "ELMO_F411RE", "MTS_MDOT_F411RE", "MTS_DRAGONFLY_F411RE"]:
189+
elif target.name in ["RZ_A1H", "ARCH_MAX", "DISCO_F407VG", "DISCO_F429ZI", "DISCO_F469NI", "NUCLEO_F401RE", "NUCLEO_F411RE", "NUCLEO_F446RE", "ELMO_F411RE", "MTS_MDOT_F411RE", "MTS_DRAGONFLY_F411RE", "DISCO_F746NG"]:
190190
self.ld.extend(["-u_printf_float", "-u_scanf_float"])
191191

192192
self.sys_libs.append("nosys")

0 commit comments

Comments
 (0)