# # Marlin Firmware # PlatformIO Configuration File # # For detailed documentation with EXAMPLES: # # https://docs.platformio.org/en/latest/projectconf/index.html # # Automatic targets - enable auto-uploading #targets = upload [platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards include_dir = Marlin extra_configs = Marlin/config.ini ini/features.ini ini/i3_mega.ini default_envs = MEGA_1G MEGA_1G_TMC MEGA_1G_BLT_10 MEGA_1G_BLT_11 MEGA_1G_TMC_BLT_10 MEGA_1G_TMC_BLT_11 MEGA MEGA_TMC MEGA_BLT_10 MEGA_BLT_11 MEGA_TMC_BLT_10 MEGA_TMC_BLT_11 MEGA_S MEGA_S_TMC MEGA_S_BLT_10 MEGA_S_BLT_11 MEGA_S_TMC_BLT_10 MEGA_S_TMC_BLT_11 MEGA_S_DGUS MEGA_S_DGUS_TMC MEGA_S_DGUS_BLT_10 MEGA_S_DGUS_BLT_11 MEGA_S_DGUS_TMC_BLT_10 MEGA_S_DGUS_TMC_BLT_11 MEGA_X MEGA_X_TMC MEGA_X_BLT_10 MEGA_X_BLT_11 MEGA_X_TMC_BLT_10 MEGA_X_TMC_BLT_11 MEGA_X_DGUS MEGA_X_DGUS_TMC MEGA_X_DGUS_BLT_10 MEGA_X_DGUS_BLT_11 MEGA_X_DGUS_TMC_BLT_10 MEGA_X_DGUS_TMC_BLT_11 MEGA_P_DGUS MEGA_P_DGUS_TMC MEGA_P_DGUS_BLT_10 MEGA_P_DGUS_BLT_11 MEGA_P_DGUS_TMC_BLT_10 MEGA_P_DGUS_TMC_BLT_11 CHIRON CHIRON_TMC CHIRON_DGUS CHIRON_DGUS_TMC 4MAXP2 4MAXP2_TMC 4MAXP2_BLT_10 4MAXP2_BLT_11 4MAXP2_TMC_BLT_10 4MAXP2_TMC_BLT_11 4MAXP2_DGUS 4MAXP2_DGUS_TMC 4MAXP2_DGUS_BLT_10 4MAXP2_DGUS_BLT_11 4MAXP2_DGUS_TMC_BLT_10 4MAXP2_DGUS_TMC_BLT_11 # # 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 = -g3 -D__MARLIN_FIRMWARE__ -DNDEBUG -fmax-errors=5 extra_scripts = pre:buildroot/share/PlatformIO/scripts/configuration.py pre:buildroot/share/PlatformIO/scripts/common-dependencies.py pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py pre:buildroot/share/PlatformIO/scripts/preflight-checks.py post:buildroot/share/PlatformIO/scripts/common-dependencies-post.py lib_deps = #LiquidCrystal@1.5.1 TMCStepper@~0.7.3 Adafruit NeoPixel@~1.8.0 #U8glib-HAL@0.5.4 LiquidTWI2@1.2.7 Arduino-L6470@0.8.0 #SlowSoftI2CMaster #SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/6f53c19a8a.zip default_src_filter = + - - ; LCDs and Controllers - - - - - - - - - + + + ; Marlin HAL - + ; Features and G-Codes - + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + - - + + + + + + + + + - + - + + + - + ; Library Code - - - - - - ; Modules - + + + + + + + + + + + + + + + + + + + ; Media Support + - # # Default values apply to all 'env:' prefixed environments # [env] framework = arduino extra_scripts = ${common.extra_scripts} build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} monitor_speed = 250000 monitor_eol = LF monitor_echo = yes monitor_filters = colorize, time, send_on_enter # # Just print the dependency tree # [env:include_tree] platform = atmelavr board = megaatmega2560 build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__ build_src_filter = +