From d87257f63c7f87e3b840e9b87c42d2f5631168cc Mon Sep 17 00:00:00 2001 From: Chris Pepper Date: Fri, 1 Jun 2018 01:08:31 +0100 Subject: [PATCH] [2.0.x][LPC176x] Fix PIO build flags (#10909) Don't build and link with different flags, the binary may not work. --- Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py b/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py index 2e0bfbe1fc..e66ab4c28f 100644 --- a/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py +++ b/Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py @@ -50,7 +50,6 @@ else: LINKFLAGS=[ "-Os", "-mcpu=cortex-m3", - "-ffreestanding", "-mthumb", "--specs=nano.specs", "--specs=nosys.specs",