[2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892)

2.0.x
Chris Pepper 7 years ago committed by Scott Lahteine
parent 4299e5dc8b
commit f89f7c4a82

@ -9,10 +9,10 @@ if __name__ == "__main__":
"-mcpu=cortex-m3", "-mcpu=cortex-m3",
"-mthumb", "-mthumb",
"-ffreestanding",
"-fsigned-char", "-fsigned-char",
"-fno-move-loop-invariants", "-fno-move-loop-invariants",
"-fno-strict-aliasing", "-fno-strict-aliasing",
"-fsingle-precision-constant",
"--specs=nano.specs", "--specs=nano.specs",
"--specs=nosys.specs", "--specs=nosys.specs",

@ -160,29 +160,9 @@ lib_extra_dirs = frameworks
lib_deps = CMSIS-LPC1768 lib_deps = CMSIS-LPC1768
https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
TMC2130Stepper@>=2.2.1 TMC2130Stepper@>=2.2.1
extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py, Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py, Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py
src_filter = ${common.default_src_filter} src_filter = ${common.default_src_filter}
monitor_speed = 250000 monitor_speed = 250000
#
# LPC1768 (for debugging and development)
#
[env:LPC1768_debug_and_upload]
# Segger JLink
platform = nxplpc
#framework = mbed
board = lpc1768
board_build.f_cpu = 100000000L
build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
${common.build_flags}
-DU8G_HAL_LINKS
lib_ldf_mode = off
lib_extra_dirs = frameworks
lib_deps = CMSIS-LPC1768
https://github.com/MarlinFirmware/U8glib-HAL/archive/dev.zip
src_filter = ${common.default_src_filter}
extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
monitor_speed = 250000
debug_tool = custom debug_tool = custom
debug_server = debug_server =
C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe

Loading…
Cancel
Save