Stop compiling after first five errors
This commit is contained in:
parent
ca145643bd
commit
45e73b72a5
1 changed files with 23 additions and 11 deletions
|
@ -10,6 +10,11 @@
|
||||||
# Automatic targets - enable auto-uploading
|
# Automatic targets - enable auto-uploading
|
||||||
# targets = upload
|
# targets = upload
|
||||||
|
|
||||||
|
#
|
||||||
|
# By default platformio build will abort after 5 errors.
|
||||||
|
# Remove '-fmax-errors=5' from build_flags below to see all.
|
||||||
|
#
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
src_dir = Marlin
|
src_dir = Marlin
|
||||||
envs_dir = .pioenvs
|
envs_dir = .pioenvs
|
||||||
|
@ -30,6 +35,8 @@ lib_deps =
|
||||||
|
|
||||||
default_src_filter = +<src/*> -<src/config>
|
default_src_filter = +<src/*> -<src/config>
|
||||||
|
|
||||||
|
build_flags = -fmax-errors=5
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# #
|
# #
|
||||||
# Unique Core Architectures #
|
# Unique Core Architectures #
|
||||||
|
@ -47,7 +54,7 @@ default_src_filter = +<src/*> -<src/config>
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
build_flags = -I $BUILDSRC_DIR
|
build_flags = ${common.build_flags} -I $BUILDSRC_DIR
|
||||||
board_f_cpu = 16000000L
|
board_f_cpu = 16000000L
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
@ -59,7 +66,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = megaatmega1280
|
board = megaatmega1280
|
||||||
build_flags = -I $BUILDSRC_DIR
|
build_flags = ${common.build_flags} -I $BUILDSRC_DIR
|
||||||
board_f_cpu = 16000000L
|
board_f_cpu = 16000000L
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
@ -71,6 +78,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = sanguino_atmega1284p
|
board = sanguino_atmega1284p
|
||||||
|
build_flags = ${common.build_flags}
|
||||||
upload_speed = 57600
|
upload_speed = 57600
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
@ -85,7 +93,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = due
|
board = due
|
||||||
build_flags = -I $BUILDSRC_DIR
|
build_flags = ${common.build_flags} -I $BUILDSRC_DIR
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
|
||||||
|
@ -96,6 +104,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = nxplpc
|
platform = nxplpc
|
||||||
board_f_cpu = 100000000L
|
board_f_cpu = 100000000L
|
||||||
build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
||||||
|
${common.build_flags}
|
||||||
-DU8G_HAL_LINKS
|
-DU8G_HAL_LINKS
|
||||||
src_build_flags = -Wall
|
src_build_flags = -Wall
|
||||||
build_unflags = -Wall
|
build_unflags = -Wall
|
||||||
|
@ -116,6 +125,7 @@ platform = nxplpc
|
||||||
board = lpc1768
|
board = lpc1768
|
||||||
board_f_cpu = 100000000L
|
board_f_cpu = 100000000L
|
||||||
build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
|
||||||
|
${common.build_flags}
|
||||||
-DU8G_HAL_LINKS
|
-DU8G_HAL_LINKS
|
||||||
lib_ldf_mode = off
|
lib_ldf_mode = off
|
||||||
lib_extra_dirs = frameworks
|
lib_extra_dirs = frameworks
|
||||||
|
@ -145,7 +155,7 @@ debug_server =
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = reprap_rambo
|
board = reprap_rambo
|
||||||
build_flags = -I $BUILDSRC_DIR
|
build_flags = ${common.build_flags} -I $BUILDSRC_DIR
|
||||||
board_f_cpu = 16000000L
|
board_f_cpu = 16000000L
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
@ -157,6 +167,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = sanguino_atmega644p
|
board = sanguino_atmega644p
|
||||||
|
build_flags = ${common.build_flags}
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
|
||||||
|
@ -165,6 +176,7 @@ platform = ststm32
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = genericSTM32F103RE
|
board = genericSTM32F103RE
|
||||||
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
|
build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
|
||||||
|
${common.build_flags}
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
|
||||||
|
@ -179,7 +191,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = teensy
|
platform = teensy
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = teensy20pp
|
board = teensy20pp
|
||||||
build_flags = -I $BUILDSRC_DIR
|
build_flags = ${common.build_flags} -I $BUILDSRC_DIR
|
||||||
#board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
|
#board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
@ -191,7 +203,7 @@ src_filter = ${common.default_src_filter}
|
||||||
platform = teensy
|
platform = teensy
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = teensy35
|
board = teensy35
|
||||||
build_flags = -I $BUILDSRC_DIR
|
build_flags = ${common.build_flags} -I $BUILDSRC_DIR
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
lib_ignore = Adafruit NeoPixel
|
lib_ignore = Adafruit NeoPixel
|
||||||
src_filter = ${common.default_src_filter}
|
src_filter = ${common.default_src_filter}
|
||||||
|
|
Reference in a new issue