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

This commit is contained in:
Chris Pepper 2018-05-29 01:38:22 +01:00 committed by Scott Lahteine
parent 4299e5dc8b
commit f89f7c4a82
2 changed files with 2 additions and 22 deletions

View file

@ -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",

View file

@ -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