Misc. pio cleanup

This commit is contained in:
Scott Lahteine
2021-04-18 14:07:30 -05:00
committed by Scott Lahteine
parent 5d8727a59c
commit c508c2213e
5 changed files with 58 additions and 19 deletions

View File

@@ -10,11 +10,6 @@
# Automatic targets - enable auto-uploading
#targets = upload
#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
#
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
@@ -35,10 +30,14 @@ extra_configs =
ini/teensy.ini
#
# The 'common' values are used for most Marlin builds
# The 'common' section applies to most Marlin builds.
#
# By default platformio build will abort after 5 errors.
# Remove '-fmax-errors=5' from build_flags below to see all.
#
[common]
build_flags = -fmax-errors=5 -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
build_flags = -g3 -D__MARLIN_FIRMWARE__ -fmerge-constants
-fmax-errors=5
extra_scripts =
pre:buildroot/share/PlatformIO/scripts/common-dependencies.py
pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py