Implement multi environment handling and deployment for all configurations.
This commit is contained in:
@@ -43,6 +43,20 @@
|
|||||||
//#define ANYCUBIC_TFT_DEBUG
|
//#define ANYCUBIC_TFT_DEBUG
|
||||||
//#define POWER_OUTAGE_TEST
|
//#define POWER_OUTAGE_TEST
|
||||||
|
|
||||||
|
/*****************************************************************************************
|
||||||
|
* *
|
||||||
|
* *
|
||||||
|
* WARNING: *
|
||||||
|
* THE FOLLOWING SETTINGS ARE NORMALLY SET BY PLATFORMIO! *
|
||||||
|
* *
|
||||||
|
* IF YOU CHANGE THEM WITHIN THE SOURCECODE, DO NOT COMMIT *
|
||||||
|
* TO MASTER BRANCH OR BUILD WITH PLATFORMIO ENVIRONMENT! *
|
||||||
|
* OTHERWISE SOME SETTINGS MIGHT BE OVERWRITTEN AND YOU END *
|
||||||
|
* UP WITH A NON FUNCTIONING FIRMWARE! *
|
||||||
|
* *
|
||||||
|
* ***************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Select your printer.
|
* Select your printer.
|
||||||
* DO NOT ENABLE MORE THAN ONE LINE!
|
* DO NOT ENABLE MORE THAN ONE LINE!
|
||||||
@@ -70,17 +84,6 @@
|
|||||||
*/
|
*/
|
||||||
//#define KNUTWURST_TMC
|
//#define KNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Here you can set the default preheat-Temperatures
|
|
||||||
* which are set when you use the builtin preheat
|
|
||||||
* functions in the TFT.
|
|
||||||
*/
|
|
||||||
#define KNUTWURST_PRHEAT_NOZZLE_PLA 200
|
|
||||||
#define KNUTWURST_PRHEAT_BED_PLA 60
|
|
||||||
#define KNUTWURST_PRHEAT_NOZZLE_ABS 240
|
|
||||||
#define KNUTWURST_PRHEAT_BED_ABS 90
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This enables the BLTouch Support and also
|
* This enables the BLTouch Support and also
|
||||||
* activates the BLTouch Menu item in the
|
* activates the BLTouch Menu item in the
|
||||||
@@ -99,6 +102,33 @@
|
|||||||
//#define KNUTWURST_DEBUG
|
//#define KNUTWURST_DEBUG
|
||||||
|
|
||||||
|
|
||||||
|
/*****************************************************************************************
|
||||||
|
* *
|
||||||
|
* *
|
||||||
|
* WARNING: *
|
||||||
|
* THE SETTINGS ABOVE ARE NORMALLY SET BY PLATFORMIO! *
|
||||||
|
* *
|
||||||
|
* IF YOU CHANGE THEM WITHIN THE SOURCECODE, DO NOT COMMIT *
|
||||||
|
* TO MASTER BRANCH OR BUILD WITH PLATFORMIO ENVIRONMENT! *
|
||||||
|
* OTHERWISE SOME SETTINGS MIGHT BE OVERWRITTEN AND YOU END *
|
||||||
|
* UP WITH A NON FUNCTIONING FIRMWARE! *
|
||||||
|
* *
|
||||||
|
* ***************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Here you can set the default preheat-Temperatures
|
||||||
|
* which are set when you use the builtin preheat
|
||||||
|
* functions in the TFT.
|
||||||
|
*
|
||||||
|
* These settings are required and not set by PlatformIO.
|
||||||
|
*/
|
||||||
|
#define KNUTWURST_PRHEAT_NOZZLE_PLA 200
|
||||||
|
#define KNUTWURST_PRHEAT_BED_PLA 60
|
||||||
|
#define KNUTWURST_PRHEAT_NOZZLE_ABS 240
|
||||||
|
#define KNUTWURST_PRHEAT_BED_ABS 90
|
||||||
|
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//============================= Getting Started =============================
|
//============================= Getting Started =============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
@@ -201,7 +231,7 @@
|
|||||||
* on the upper left of the PCB silkscreen.
|
* on the upper left of the PCB silkscreen.
|
||||||
*/
|
*/
|
||||||
#ifndef MOTHERBOARD
|
#ifndef MOTHERBOARD
|
||||||
#define MOTHERBOARD BOARD_TRIGORILLA_14
|
//#define MOTHERBOARD BOARD_TRIGORILLA_14 // Is normally set by PlatformIO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Name displayed in the LCD "Ready" message and Info menu
|
// Name displayed in the LCD "Ready" message and Info menu
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
* here we define this default string as the date where the latest release
|
* here we define this default string as the date where the latest release
|
||||||
* version was tagged.
|
* version was tagged.
|
||||||
*/
|
*/
|
||||||
#define CUSTOM_BUILD_VERSION "1.1.0"
|
#define CUSTOM_BUILD_VERSION "1.1.1"
|
||||||
|
|
||||||
#ifndef STRING_DISTRIBUTION_DATE
|
#ifndef STRING_DISTRIBUTION_DATE
|
||||||
#define STRING_DISTRIBUTION_DATE "2020-07-09"
|
#define STRING_DISTRIBUTION_DATE "2020-07-09"
|
||||||
|
15
deploy_firmware_files.sh
Executable file
15
deploy_firmware_files.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
CURRENT_VERSION="1.1.1"
|
||||||
|
FIRMWARE_FOLDER="/Users/OKoester/Documents/Arduino/Marlin-2-0-x-Anycubic-i3-MEGA-S-Master/.pio/build/"
|
||||||
|
OUTPUT_FOLDER="/Users/OKoester/Desktop/i3_FIRMWARE"
|
||||||
|
|
||||||
|
mkdir $OUTPUT_FOLDER
|
||||||
|
|
||||||
|
cd $FIRMWARE_FOLDER
|
||||||
|
for dir in $FIRMWARE_FOLDER/*/ # list directories in the form "/tmp/dirname/"
|
||||||
|
do
|
||||||
|
dir=${dir%*/} # remove the trailing "/"
|
||||||
|
echo ${dir##*/} # print everything after the final "<--/"
|
||||||
|
cp ${dir##*/}/firmware.hex /$OUTPUT_FOLDER/${dir##*/}_v$CURRENT_VERSION.hex
|
||||||
|
done
|
327
i3_mega_envs.ini
Executable file
327
i3_mega_envs.ini
Executable file
@@ -0,0 +1,327 @@
|
|||||||
|
###########################################################
|
||||||
|
# #
|
||||||
|
# Manual Leveling Configurations #
|
||||||
|
# #
|
||||||
|
###########################################################
|
||||||
|
|
||||||
|
#
|
||||||
|
# i3 Mega (normal Version)
|
||||||
|
#
|
||||||
|
[env:i3_MEGA]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA
|
||||||
|
build_unflags = -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_TMC]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA -DKNUTWURST_TMC
|
||||||
|
build_unflags = -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# i3 Mega S
|
||||||
|
#
|
||||||
|
[env:i3_MEGA_S]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_DGUS]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_dgus.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_DGUS2_TFT
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_DGUS_TMC]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_dgus_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_TMC]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_TMC
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# i3 Mega X
|
||||||
|
#
|
||||||
|
[env:i3_MEGA_X]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_X_TMC]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_BLTOUCH
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########################################################
|
||||||
|
# #
|
||||||
|
# BL Touch Configurations ( TRIGORILLA_14 ) #
|
||||||
|
# #
|
||||||
|
###########################################################
|
||||||
|
[env:i3_MEGA_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_TMC_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_DGUS_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_dgus.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_DGUS_TMC_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_dgus_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_TMC_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_S -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_X_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_X_TMC_BLTOUCH_10]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S
|
||||||
|
|
||||||
|
|
||||||
|
###########################################################
|
||||||
|
# #
|
||||||
|
# BL Touch Configurations ( TRIGORILLA_14_11 ) #
|
||||||
|
# #
|
||||||
|
###########################################################
|
||||||
|
[env:i3_MEGA_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_TMC_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA_S -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_S -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_DGUS_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_dgus.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_S -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_DGUS_TMC_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_dgus_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_S -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_S_TMC_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_S -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_X_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S -DKNUTWURST_TMC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[env:i3_MEGA_X_TMC_BLTOUCH_11]
|
||||||
|
platform = atmelavr
|
||||||
|
board = megaatmega2560
|
||||||
|
board_build.f_cpu = 16000000L
|
||||||
|
lib_deps = ${common.lib_deps}
|
||||||
|
TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
||||||
|
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
#extra_scripts = pre:build_i3_mega_s_tmc.py
|
||||||
|
build_flags = ${common.build_flags} -DMOTHERBOARD=BOARD_TRIGORILLA_14_11 -DKNUTWURST_MEGA_X -DKNUTWURST_DGUS2_TFT -DKNUTWURST_TMC -DKNUTWURST_BLTOUCH
|
||||||
|
build_unflags = -DKNUTWURST_MEGA -DKNUTWURST_MEGA_S
|
@@ -18,7 +18,11 @@
|
|||||||
[platformio]
|
[platformio]
|
||||||
src_dir = Marlin
|
src_dir = Marlin
|
||||||
boards_dir = buildroot/share/PlatformIO/boards
|
boards_dir = buildroot/share/PlatformIO/boards
|
||||||
default_envs = mega2560
|
#default_envs = mega2560
|
||||||
|
#default_envs = i3_MEGA_S_TMC
|
||||||
|
extra_configs = i3_mega_envs.ini
|
||||||
|
default_envs = i3_MEGA, i3_MEGA_TMC, i3_MEGA_S, i3_MEGA_S_DGUS, i3_MEGA_S_DGUS_TMC, i3_MEGA_S_TMC, i3_MEGA_X, i3_MEGA_X_TMC, i3_MEGA_BLTOUCH_10, i3_MEGA_TMC_BLTOUCH_10, i3_MEGA_S_BLTOUCH_10, i3_MEGA_S_DGUS_BLTOUCH_10, i3_MEGA_S_DGUS_TMC_BLTOUCH_10, i3_MEGA_S_TMC_BLTOUCH_10, i3_MEGA_X_BLTOUCH_10, i3_MEGA_X_TMC_BLTOUCH_10, i3_MEGA_BLTOUCH_11, i3_MEGA_TMC_BLTOUCH_11, i3_MEGA_S_BLTOUCH_11, i3_MEGA_S_DGUS_BLTOUCH_11, i3_MEGA_S_DGUS_TMC_BLTOUCH_11, i3_MEGA_S_TMC_BLTOUCH_11, i3_MEGA_X_BLTOUCH_11, i3_MEGA_X_TMC_BLTOUCH_11
|
||||||
|
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared>
|
||||||
|
Reference in New Issue
Block a user