|
@@ -150,10 +150,10 @@ monitor_speed = 250000
|
150
|
150
|
platform = nxplpc
|
151
|
151
|
board = lpc1768
|
152
|
152
|
board_build.f_cpu = 100000000L
|
153
|
|
-build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
154
|
|
- ${common.build_flags}
|
155
|
|
- -DU8G_HAL_LINKS
|
156
|
|
-src_build_flags = -Wall
|
|
153
|
+# Override default maximum RAM. LPC1768/9 do have 64k, but in 3 blocks (32K, 16K, 16K).
|
|
154
|
+# The first 32k block is used by default, while the others must be specifically targeted.
|
|
155
|
+board_upload.maximum_ram_size = 32768
|
|
156
|
+build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py ${common.build_flags}
|
157
|
157
|
build_unflags = -Wall
|
158
|
158
|
lib_ldf_mode = off
|
159
|
159
|
lib_extra_dirs = frameworks
|