[2.0.x][LPC176x] Fix binary linking broken by pio update (#11026)

This commit is contained in:
Chris Pepper
2018-06-15 21:32:51 +01:00
committed by Scott Lahteine
parent fdd97e649d
commit f88adcbfd5
3 changed files with 8 additions and 7 deletions

View File

@ -22,6 +22,7 @@ if __name__ == "__main__":
# For MarlinFirmware/U8glib-HAL
"-IMarlin/src/HAL/HAL_LPC1768/u8g",
"-DU8G_HAL_LINKS",
"-MMD",
"-MP",
@ -48,11 +49,12 @@ else:
"-fno-threadsafe-statics"
],
LINKFLAGS=[
"-Wl,-Tframeworks/CMSIS/LPC1768/Re-ARM/LPC1768.ld,--gc-sections",
"-Os",
"-mcpu=cortex-m3",
"-mthumb",
"--specs=nano.specs",
"--specs=nosys.specs",
"-u_printf_float",
"-u_printf_float"
],
)