Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
efdeed8694 | ||
|
ba38d4f411 |
@@ -2103,7 +2103,7 @@
|
|||||||
* TMC26X Stepper Driver options
|
* TMC26X Stepper Driver options
|
||||||
*
|
*
|
||||||
* The TMC26XStepper library is required for this stepper driver.
|
* The TMC26XStepper library is required for this stepper driver.
|
||||||
* https://github.com/trinamic/TMC26XStepper
|
* https://github.com/MarlinFirmware/TMC26XStepper
|
||||||
*/
|
*/
|
||||||
#if HAS_DRIVER(TMC26X)
|
#if HAS_DRIVER(TMC26X)
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
/**
|
/**
|
||||||
* Marlin release version identifier
|
* Marlin release version identifier
|
||||||
*/
|
*/
|
||||||
//#define SHORT_BUILD_VERSION "2.0.6.1"
|
//#define SHORT_BUILD_VERSION "2.0.6.2"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verbose version identifier which should contain a reference to the location
|
* Verbose version identifier which should contain a reference to the location
|
||||||
@@ -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 STRING_DISTRIBUTION_DATE "2020-07-09"
|
//#define STRING_DISTRIBUTION_DATE "2023-07-18"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a generic printer name to be output to the LCD after booting Marlin.
|
* Defines a generic printer name to be output to the LCD after booting Marlin.
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
* Release version. Leave the Marlin version or apply a custom scheme.
|
* Release version. Leave the Marlin version or apply a custom scheme.
|
||||||
*/
|
*/
|
||||||
#ifndef SHORT_BUILD_VERSION
|
#ifndef SHORT_BUILD_VERSION
|
||||||
#define SHORT_BUILD_VERSION "2.0.6.1"
|
#define SHORT_BUILD_VERSION "2.0.6.2"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
* version was tagged.
|
* version was tagged.
|
||||||
*/
|
*/
|
||||||
#ifndef STRING_DISTRIBUTION_DATE
|
#ifndef STRING_DISTRIBUTION_DATE
|
||||||
#define STRING_DISTRIBUTION_DATE "2020-08-28"
|
#define STRING_DISTRIBUTION_DATE "2023-07-18"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,16 +1,13 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
STM32_FLASH_SIZE = 256
|
STM32_FLASH_SIZE = 256
|
||||||
|
|
||||||
for define in env['CPPDEFINES']:
|
for define in env['CPPDEFINES']:
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
if define[0] == "STM32_FLASH_SIZE":
|
if define[0] == "STM32_FLASH_SIZE":
|
||||||
STM32_FLASH_SIZE = define[1]
|
STM32_FLASH_SIZE = define[1]
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
marlin.relocate_firmware("0x08007000")
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/STM32F103RC_SKR_MINI_" + str(STM32_FLASH_SIZE) + "K.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/STM32F103RC_SKR_MINI_" + str(STM32_FLASH_SIZE) + "K.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -4,10 +4,8 @@ from os.path import expandvars
|
|||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08008000
|
# Relocate firmware from 0x08000000 to 0x08008000
|
||||||
#for define in env['CPPDEFINES']:
|
#import marlin
|
||||||
# if define[0] == "VECT_TAB_ADDR":
|
#marlin.relocate_firmware("0x08008000")
|
||||||
# env['CPPDEFINES'].remove(define)
|
|
||||||
#env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08008000"))
|
|
||||||
|
|
||||||
#custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/fysetc_stm32f103rc.ld")
|
#custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/fysetc_stm32f103rc.ld")
|
||||||
#for i, flag in enumerate(env["LINKFLAGS"]):
|
#for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,12 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
for define in env['CPPDEFINES']:
|
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
marlin.relocate_firmware("0x08007000")
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/STM32F103RE_SKR_E3_DIP.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/STM32F103RE_SKR_E3_DIP.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08010000
|
# Relocate firmware from 0x08000000 to 0x08010000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08010000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08010000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/STM32F103VE_longer.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/STM32F103VE_longer.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
@@ -14,7 +11,6 @@ for i, flag in enumerate(env["LINKFLAGS"]):
|
|||||||
elif flag == "-T":
|
elif flag == "-T":
|
||||||
env["LINKFLAGS"][i + 1] = custom_ld_script
|
env["LINKFLAGS"][i + 1] = custom_ld_script
|
||||||
|
|
||||||
|
|
||||||
# Rename ${PROGNAME}.bin and save it as 'project.bin' (No encryption on the Longer3D)
|
# Rename ${PROGNAME}.bin and save it as 'project.bin' (No encryption on the Longer3D)
|
||||||
def encrypt(source, target, env):
|
def encrypt(source, target, env):
|
||||||
firmware = open(target[0].path, "rb")
|
firmware = open(target[0].path, "rb")
|
||||||
|
@@ -1,12 +1,8 @@
|
|||||||
Import("env")
|
Import("env")
|
||||||
import os
|
import os,random,struct,uuid,marlin
|
||||||
import random
|
|
||||||
import struct
|
|
||||||
import uuid
|
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08008800
|
# Relocate firmware from 0x08000000 to 0x08008800
|
||||||
env['CPPDEFINES'].remove(("VECT_TAB_ADDR", "0x8000000"))
|
marlin.relocate_firmware("0x08008800")
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08008800"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/chitu_f103.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/chitu_f103.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
@@ -15,7 +11,6 @@ for i, flag in enumerate(env["LINKFLAGS"]):
|
|||||||
elif flag == "-T":
|
elif flag == "-T":
|
||||||
env["LINKFLAGS"][i + 1] = custom_ld_script
|
env["LINKFLAGS"][i + 1] = custom_ld_script
|
||||||
|
|
||||||
|
|
||||||
def calculate_crc(contents, seed):
|
def calculate_crc(contents, seed):
|
||||||
accumulating_xor_value = seed;
|
accumulating_xor_value = seed;
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@ def add_to_feat_cnf(feature, flines):
|
|||||||
parts = dep.split('=')
|
parts = dep.split('=')
|
||||||
name = parts.pop(0)
|
name = parts.pop(0)
|
||||||
rest = '='.join(parts)
|
rest = '='.join(parts)
|
||||||
if name in ['extra_scripts', 'src_filter', 'lib_ignore']:
|
if name in ['extra_scripts', 'build_src_filter', 'lib_ignore']:
|
||||||
feat[name] = rest
|
feat[name] = rest
|
||||||
else:
|
else:
|
||||||
feat['lib_deps'] += [dep]
|
feat['lib_deps'] += [dep]
|
||||||
@@ -146,19 +146,19 @@ def apply_features_config():
|
|||||||
blab("Running extra_scripts for %s... " % feature)
|
blab("Running extra_scripts for %s... " % feature)
|
||||||
env.SConscript(feat['extra_scripts'], exports="env")
|
env.SConscript(feat['extra_scripts'], exports="env")
|
||||||
|
|
||||||
if 'src_filter' in feat:
|
if 'build_src_filter' in feat:
|
||||||
blab("Adding src_filter for %s... " % feature)
|
blab("Adding build_src_filter for %s... " % feature)
|
||||||
src_filter = ' '.join(env.GetProjectOption('src_filter'))
|
build_src_filter = ' '.join(env.GetProjectOption('build_src_filter'))
|
||||||
# first we need to remove the references to the same folder
|
# first we need to remove the references to the same folder
|
||||||
my_srcs = re.findall( r'[+-](<.*?>)', feat['src_filter'])
|
my_srcs = re.findall( r'[+-](<.*?>)', feat['build_src_filter'])
|
||||||
cur_srcs = re.findall( r'[+-](<.*?>)', src_filter)
|
cur_srcs = re.findall( r'[+-](<.*?>)', build_src_filter)
|
||||||
for d in my_srcs:
|
for d in my_srcs:
|
||||||
if d in cur_srcs:
|
if d in cur_srcs:
|
||||||
src_filter = re.sub(r'[+-]' + d, '', src_filter)
|
build_src_filter = re.sub(r'[+-]' + d, '', build_src_filter)
|
||||||
|
|
||||||
src_filter = feat['src_filter'] + ' ' + src_filter
|
build_src_filter = feat['build_src_filter'] + ' ' + build_src_filter
|
||||||
set_env_field('src_filter', [src_filter])
|
set_env_field('build_src_filter', [build_src_filter])
|
||||||
env.Replace(SRC_FILTER=src_filter)
|
env.Replace(SRC_FILTER=build_src_filter)
|
||||||
|
|
||||||
if 'lib_ignore' in feat:
|
if 'lib_ignore' in feat:
|
||||||
blab("Adding lib_ignore for %s... " % feature)
|
blab("Adding lib_ignore for %s... " % feature)
|
||||||
|
@@ -1,12 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08007000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/creality.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/creality.ld")
|
||||||
|
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x0800A000
|
# Relocate firmware from 0x08000000 to 0x0800A000
|
||||||
env['CPPDEFINES'].remove(("VECT_TAB_ADDR", "0x8000000"))
|
marlin.relocate_firmware("0x0800A000")
|
||||||
#alternatively, for STSTM <=5.1.0 use line below
|
|
||||||
#env['CPPDEFINES'].remove(("VECT_TAB_ADDR", 134217728))
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x0800A000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/jgaurora_a5s_a1.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/jgaurora_a5s_a1.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
17
buildroot/share/PlatformIO/scripts/marlin.py
Normal file
17
buildroot/share/PlatformIO/scripts/marlin.py
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# buildroot/share/PlatformIO/scripts/marlin.py
|
||||||
|
# Helper module with some commonly-used functions
|
||||||
|
#
|
||||||
|
from SCons.Script import DefaultEnvironment
|
||||||
|
env = DefaultEnvironment()
|
||||||
|
|
||||||
|
def replace_define(field, value):
|
||||||
|
envdefs = env['CPPDEFINES'].copy()
|
||||||
|
for define in envdefs:
|
||||||
|
if define[0] == field:
|
||||||
|
env['CPPDEFINES'].remove(define)
|
||||||
|
env['CPPDEFINES'].append((field, value))
|
||||||
|
|
||||||
|
# Relocate the firmware to a new address, such as "0x08005000"
|
||||||
|
def relocate_firmware(address):
|
||||||
|
replace_define("VECT_TAB_ADDR", address)
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08007000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08005000
|
# Relocate firmware from 0x08000000 to 0x08005000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08005000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08005000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_e3.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_e3.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08005000
|
# Relocate firmware from 0x08000000 to 0x08005000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08005000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08005000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_lite.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_lite.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08005000
|
# Relocate firmware from 0x08000000 to 0x08005000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08005000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08005000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_lite.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_lite.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08007000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_mini.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_mini.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08007000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_nano.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_nano.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08007000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_nano.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_nano.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
import os
|
import os, marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
# Relocate firmware from 0x08000000 to 0x08007000
|
# Relocate firmware from 0x08000000 to 0x08007000
|
||||||
for define in env['CPPDEFINES']:
|
marlin.relocate_firmware("0x08007000")
|
||||||
if define[0] == "VECT_TAB_ADDR":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
|
||||||
|
|
||||||
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_pro.ld")
|
custom_ld_script = os.path.abspath("buildroot/share/PlatformIO/ldscripts/mks_robin_pro.ld")
|
||||||
for i, flag in enumerate(env["LINKFLAGS"]):
|
for i, flag in enumerate(env["LINKFLAGS"]):
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import os,sys,shutil
|
import os,sys,shutil,marlin
|
||||||
Import("env")
|
Import("env")
|
||||||
|
|
||||||
from SCons.Script import DefaultEnvironment
|
from SCons.Script import DefaultEnvironment
|
||||||
@@ -12,11 +12,7 @@ def noencrypt(source, target, env):
|
|||||||
|
|
||||||
if 'offset' in board.get("build").keys():
|
if 'offset' in board.get("build").keys():
|
||||||
LD_FLASH_OFFSET = board.get("build.offset")
|
LD_FLASH_OFFSET = board.get("build.offset")
|
||||||
|
marlin.replace_define("VECT_TAB_OFFSET", LD_FLASH_OFFSET)
|
||||||
for define in env['CPPDEFINES']:
|
|
||||||
if define[0] == "VECT_TAB_OFFSET":
|
|
||||||
env['CPPDEFINES'].remove(define)
|
|
||||||
env['CPPDEFINES'].append(("VECT_TAB_OFFSET", LD_FLASH_OFFSET))
|
|
||||||
|
|
||||||
maximum_ram_size = board.get("upload.maximum_ram_size")
|
maximum_ram_size = board.get("upload.maximum_ram_size")
|
||||||
|
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
# Where have all the configurations gone?
|
# Where have all the configurations gone?
|
||||||
|
|
||||||
## https://github.com/MarlinFirmware/Configurations/archive/release-2.0.6.1.zip
|
## https://github.com/MarlinFirmware/Configurations/archive/release-2.0.6.2.zip
|
||||||
|
342
platformio.ini
342
platformio.ini
@@ -193,167 +193,167 @@ lib_deps =
|
|||||||
#
|
#
|
||||||
[features]
|
[features]
|
||||||
HAS_TFT_LVGL_UI = lvgl=https://github.com/makerbase-mks/MKS-LittlevGL/archive/master.zip
|
HAS_TFT_LVGL_UI = lvgl=https://github.com/makerbase-mks/MKS-LittlevGL/archive/master.zip
|
||||||
src_filter=+<src/lcd/extui/lib/mks_ui>
|
build_src_filter=+<src/lcd/extui/lib/mks_ui>
|
||||||
extra_scripts=download_mks_assets.py
|
extra_scripts=download_mks_assets.py
|
||||||
HAS_TRINAMIC_CONFIG = TMCStepper@~0.7.1
|
HAS_TRINAMIC_CONFIG = TMCStepper@~0.7.1
|
||||||
src_filter=+<src/feature/tmc_util.cpp> +<src/module/stepper/trinamic.cpp> +<src/gcode/feature/trinamic/M122.cpp> +<src/gcode/feature/trinamic/M906.cpp> +<src/gcode/feature/trinamic/M911-M914.cpp>
|
build_src_filter=+<src/feature/tmc_util.cpp> +<src/module/stepper/trinamic.cpp> +<src/gcode/feature/trinamic/M122.cpp> +<src/gcode/feature/trinamic/M906.cpp> +<src/gcode/feature/trinamic/M911-M914.cpp>
|
||||||
HAS_STEALTHCHOP = src_filter=+<src/gcode/feature/trinamic/M569.cpp>
|
HAS_STEALTHCHOP = build_src_filter=+<src/gcode/feature/trinamic/M569.cpp>
|
||||||
SR_LCD_3W_NL = SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
SR_LCD_3W_NL = SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip
|
||||||
HAS_I2C_DIGIPOT = SlowSoftI2CMaster
|
HAS_I2C_DIGIPOT = SlowSoftI2CMaster
|
||||||
src_filter=+<src/feature/digipot>
|
build_src_filter=+<src/feature/digipot>
|
||||||
HAS_TMC26X = TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip
|
HAS_TMC26X = TMC26XStepper=https://github.com/MarlinFirmware/TMC26XStepper/archive/master.zip
|
||||||
src_filter=+<src/module/TMC26X.cpp>
|
build_src_filter=+<src/module/TMC26X.cpp>
|
||||||
HAS_L64XX = Arduino-L6470@0.8.0
|
HAS_L64XX = Arduino-L6470@0.8.0
|
||||||
src_filter=+<src/libs/L64XX> +<src/module/stepper/L64xx.cpp> +<src/gcode/feature/L6470>
|
build_src_filter=+<src/libs/L64XX> +<src/module/stepper/L64xx.cpp> +<src/gcode/feature/L6470>
|
||||||
NEOPIXEL_LED = Adafruit NeoPixel@1.5.0
|
NEOPIXEL_LED = Adafruit NeoPixel@1.5.0
|
||||||
src_filter=+<src/feature/leds/neopixel.cpp>
|
build_src_filter=+<src/feature/leds/neopixel.cpp>
|
||||||
MAX6675_IS_MAX31865 = Adafruit MAX31865 library@~1.1.0
|
MAX6675_IS_MAX31865 = Adafruit MAX31865 library@~1.1.0
|
||||||
HAS_GRAPHICAL_LCD = U8glib-HAL@0.4.1
|
HAS_GRAPHICAL_LCD = U8glib-HAL@0.4.1
|
||||||
src_filter=+<src/lcd/dogm>
|
build_src_filter=+<src/lcd/dogm>
|
||||||
USES_LIQUIDCRYSTAL = LiquidCrystal@1.5.0
|
USES_LIQUIDCRYSTAL = LiquidCrystal@1.5.0
|
||||||
USES_LIQUIDTWI2 = LiquidTWI2@1.2.7
|
USES_LIQUIDTWI2 = LiquidTWI2@1.2.7
|
||||||
DWIN_CREALITY_LCD = src_filter=+<src/lcd/dwin>
|
DWIN_CREALITY_LCD = build_src_filter=+<src/lcd/dwin>
|
||||||
HAS_CHARACTER_LCD = src_filter=+<src/lcd/HD44780>
|
HAS_CHARACTER_LCD = build_src_filter=+<src/lcd/HD44780>
|
||||||
HAS_GRAPHICAL_TFT = src_filter=+<src/lcd/tft>
|
HAS_GRAPHICAL_TFT = build_src_filter=+<src/lcd/tft>
|
||||||
HAS_LCD_MENU = src_filter=+<src/lcd/menu>
|
HAS_LCD_MENU = build_src_filter=+<src/lcd/menu>
|
||||||
HAS_GAMES = src_filter=+<src/lcd/menu/game/game.cpp>
|
HAS_GAMES = build_src_filter=+<src/lcd/menu/game/game.cpp>
|
||||||
MARLIN_BRICKOUT = src_filter=+<src/lcd/menu/game/brickout.cpp>
|
MARLIN_BRICKOUT = build_src_filter=+<src/lcd/menu/game/brickout.cpp>
|
||||||
MARLIN_INVADERS = src_filter=+<src/lcd/menu/game/invaders.cpp>
|
MARLIN_INVADERS = build_src_filter=+<src/lcd/menu/game/invaders.cpp>
|
||||||
MARLIN_MAZE = src_filter=+<src/lcd/menu/game/maze.cpp>
|
MARLIN_MAZE = build_src_filter=+<src/lcd/menu/game/maze.cpp>
|
||||||
MARLIN_SNAKE = src_filter=+<src/lcd/menu/game/snake.cpp>
|
MARLIN_SNAKE = build_src_filter=+<src/lcd/menu/game/snake.cpp>
|
||||||
HAS_MENU_BACKLASH = src_filter=+<src/lcd/menu/menu_backlash.cpp>
|
HAS_MENU_BACKLASH = build_src_filter=+<src/lcd/menu/menu_backlash.cpp>
|
||||||
HAS_MENU_BED_CORNERS = src_filter=+<src/lcd/menu/menu_bed_corners.cpp>
|
HAS_MENU_BED_CORNERS = build_src_filter=+<src/lcd/menu/menu_bed_corners.cpp>
|
||||||
LCD_BED_LEVELING = src_filter=+<src/lcd/menu/menu_bed_leveling.cpp>
|
LCD_BED_LEVELING = build_src_filter=+<src/lcd/menu/menu_bed_leveling.cpp>
|
||||||
HAS_MENU_CANCELOBJECT = src_filter=+<src/lcd/menu/menu_cancelobject.cpp>
|
HAS_MENU_CANCELOBJECT = build_src_filter=+<src/lcd/menu/menu_cancelobject.cpp>
|
||||||
HAS_MENU_DELTA_CALIBRATE = src_filter=+<src/lcd/menu/menu_delta_calibrate.cpp>
|
HAS_MENU_DELTA_CALIBRATE = build_src_filter=+<src/lcd/menu/menu_delta_calibrate.cpp>
|
||||||
HAS_MENU_FILAMENT = src_filter=+<src/lcd/menu/menu_filament.cpp>
|
HAS_MENU_FILAMENT = build_src_filter=+<src/lcd/menu/menu_filament.cpp>
|
||||||
LCD_INFO_MENU = src_filter=+<src/lcd/menu/menu_info.cpp>
|
LCD_INFO_MENU = build_src_filter=+<src/lcd/menu/menu_info.cpp>
|
||||||
HAS_MENU_JOB_RECOVERY = src_filter=+<src/lcd/menu/menu_job_recovery.cpp>
|
HAS_MENU_JOB_RECOVERY = build_src_filter=+<src/lcd/menu/menu_job_recovery.cpp>
|
||||||
HAS_MENU_LED = src_filter=+<src/lcd/menu/menu_led.cpp>
|
HAS_MENU_LED = build_src_filter=+<src/lcd/menu/menu_led.cpp>
|
||||||
HAS_MENU_MEDIA = src_filter=+<src/lcd/menu/menu_media.cpp>
|
HAS_MENU_MEDIA = build_src_filter=+<src/lcd/menu/menu_media.cpp>
|
||||||
HAS_MENU_MIXER = src_filter=+<src/lcd/menu/menu_mixer.cpp>
|
HAS_MENU_MIXER = build_src_filter=+<src/lcd/menu/menu_mixer.cpp>
|
||||||
HAS_MENU_MMU2 = src_filter=+<src/lcd/menu/menu_mmu2.cpp>
|
HAS_MENU_MMU2 = build_src_filter=+<src/lcd/menu/menu_mmu2.cpp>
|
||||||
HAS_MENU_PASSWORD = src_filter=+<src/lcd/menu/menu_password.cpp>
|
HAS_MENU_PASSWORD = build_src_filter=+<src/lcd/menu/menu_password.cpp>
|
||||||
HAS_MENU_POWER_MONITOR = src_filter=+<src/lcd/menu/menu_power_monitor.cpp>
|
HAS_MENU_POWER_MONITOR = build_src_filter=+<src/lcd/menu/menu_power_monitor.cpp>
|
||||||
HAS_MENU_CUTTER = src_filter=+<src/lcd/menu/menu_spindle_laser.cpp>
|
HAS_MENU_CUTTER = build_src_filter=+<src/lcd/menu/menu_spindle_laser.cpp>
|
||||||
HAS_MENU_TEMPERATURE = src_filter=+<src/lcd/menu/menu_temperature.cpp>
|
HAS_MENU_TEMPERATURE = build_src_filter=+<src/lcd/menu/menu_temperature.cpp>
|
||||||
HAS_MENU_TMC = src_filter=+<src/lcd/menu/menu_tmc.cpp>
|
HAS_MENU_TMC = build_src_filter=+<src/lcd/menu/menu_tmc.cpp>
|
||||||
HAS_MENU_TOUCH_SCREEN = src_filter=+<src/lcd/menu/menu_touch_screen.cpp>
|
HAS_MENU_TOUCH_SCREEN = build_src_filter=+<src/lcd/menu/menu_touch_screen.cpp>
|
||||||
HAS_MENU_UBL = src_filter=+<src/lcd/menu/menu_ubl.cpp>
|
HAS_MENU_UBL = build_src_filter=+<src/lcd/menu/menu_ubl.cpp>
|
||||||
ANYCUBIC_LCD_I3MEGA = src_filter=+<src/lcd/extui/lib/anycubic_i3mega>
|
ANYCUBIC_LCD_I3MEGA = build_src_filter=+<src/lcd/extui/lib/anycubic_i3mega>
|
||||||
HAS_DGUS_LCD = src_filter=+<src/lcd/extui/lib/dgus> +<src/lcd/extui/dgus_lcd.cpp>
|
HAS_DGUS_LCD = build_src_filter=+<src/lcd/extui/lib/dgus> +<src/lcd/extui/dgus_lcd.cpp>
|
||||||
TOUCH_UI_FTDI_EVE = src_filter=+<src/lcd/extui/lib/ftdi_eve_touch_ui>
|
TOUCH_UI_FTDI_EVE = build_src_filter=+<src/lcd/extui/lib/ftdi_eve_touch_ui>
|
||||||
HAS_ANYCUBIC_TFT_EXTUI = src_filter=+<src/lcd/extui/anycubic_tft.cpp>
|
HAS_ANYCUBIC_TFT_EXTUI = build_src_filter=+<src/lcd/extui/anycubic_tft.cpp>
|
||||||
EXTUI_EXAMPLE = src_filter=+<src/lcd/extui/example.cpp>
|
EXTUI_EXAMPLE = build_src_filter=+<src/lcd/extui/example.cpp>
|
||||||
MALYAN_LCD = src_filter=+<src/lcd/extui/malyan_lcd.cpp>
|
MALYAN_LCD = build_src_filter=+<src/lcd/extui/malyan_lcd.cpp>
|
||||||
HAS_SPI_LCD = src_filter=+<src/lcd/lcdprint.cpp>
|
HAS_SPI_LCD = build_src_filter=+<src/lcd/lcdprint.cpp>
|
||||||
USB_FLASH_DRIVE_SUPPORT = src_filter=+<src/sd/usb_flashdrive>
|
USB_FLASH_DRIVE_SUPPORT = build_src_filter=+<src/sd/usb_flashdrive>
|
||||||
AUTO_BED_LEVELING_BILINEAR = src_filter=+<src/feature/bedlevel/abl>
|
AUTO_BED_LEVELING_BILINEAR = build_src_filter=+<src/feature/bedlevel/abl>
|
||||||
AUTO_BED_LEVELING_(3POINT|(BI)?LINEAR) = src_filter=+<src/gcode/bedlevel/abl>
|
AUTO_BED_LEVELING_(3POINT|(BI)?LINEAR) = build_src_filter=+<src/gcode/bedlevel/abl>
|
||||||
MESH_BED_LEVELING = src_filter=+<src/feature/bedlevel/mbl> +<src/gcode/bedlevel/mbl>
|
MESH_BED_LEVELING = build_src_filter=+<src/feature/bedlevel/mbl> +<src/gcode/bedlevel/mbl>
|
||||||
AUTO_BED_LEVELING_UBL = src_filter=+<src/feature/bedlevel/ubl> +<src/gcode/bedlevel/ubl>
|
AUTO_BED_LEVELING_UBL = build_src_filter=+<src/feature/bedlevel/ubl> +<src/gcode/bedlevel/ubl>
|
||||||
BACKLASH_COMPENSATION = src_filter=+<src/feature/backlash.cpp>
|
BACKLASH_COMPENSATION = build_src_filter=+<src/feature/backlash.cpp>
|
||||||
BARICUDA = src_filter=+<src/feature/baricuda.cpp> +<src/gcode/feature/baricuda>
|
BARICUDA = build_src_filter=+<src/feature/baricuda.cpp> +<src/gcode/feature/baricuda>
|
||||||
BINARY_FILE_TRANSFER = src_filter=+<src/feature/binary_stream.cpp> +<src/libs/heatshrink>
|
BINARY_FILE_TRANSFER = build_src_filter=+<src/feature/binary_stream.cpp> +<src/libs/heatshrink>
|
||||||
BLTOUCH = src_filter=+<src/feature/bltouch.cpp>
|
BLTOUCH = build_src_filter=+<src/feature/bltouch.cpp>
|
||||||
CANCEL_OBJECTS = src_filter=+<src/feature/cancel_object.cpp> +<src/gcode/feature/cancel>
|
CANCEL_OBJECTS = build_src_filter=+<src/feature/cancel_object.cpp> +<src/gcode/feature/cancel>
|
||||||
CASE_LIGHT_ENABLE = src_filter=+<src/feature/caselight> +<src/gcode/feature/caselight>
|
CASE_LIGHT_ENABLE = build_src_filter=+<src/feature/caselight> +<src/gcode/feature/caselight>
|
||||||
EXTERNAL_CLOSED_LOOP_CONTROLLER = src_filter=+<src/feature/closedloop.cpp> +<src/gcode/calibrate/M12.cpp>
|
EXTERNAL_CLOSED_LOOP_CONTROLLER = build_src_filter=+<src/feature/closedloop.cpp> +<src/gcode/calibrate/M12.cpp>
|
||||||
USE_CONTROLLER_FAN = src_filter=+<src/feature/controllerfan.cpp>
|
USE_CONTROLLER_FAN = build_src_filter=+<src/feature/controllerfan.cpp>
|
||||||
DAC_STEPPER_CURRENT = src_filter=+<src/feature/dac>
|
DAC_STEPPER_CURRENT = build_src_filter=+<src/feature/dac>
|
||||||
DIRECT_STEPPING = src_filter=+<src/feature/direct_stepping.cpp> +<src/gcode/motion/G6.cpp>
|
DIRECT_STEPPING = build_src_filter=+<src/feature/direct_stepping.cpp> +<src/gcode/motion/G6.cpp>
|
||||||
EMERGENCY_PARSER = src_filter=+<src/feature/e_parser.cpp> -<src/gcode/control/M108_*.cpp>
|
EMERGENCY_PARSER = build_src_filter=+<src/feature/e_parser.cpp> -<src/gcode/control/M108_*.cpp>
|
||||||
I2C_POSITION_ENCODERS = src_filter=+<src/feature/encoder_i2c.cpp>
|
I2C_POSITION_ENCODERS = build_src_filter=+<src/feature/encoder_i2c.cpp>
|
||||||
HAS_FANMUX = src_filter=+<src/feature/fanmux.cpp>
|
HAS_FANMUX = build_src_filter=+<src/feature/fanmux.cpp>
|
||||||
FILAMENT_WIDTH_SENSOR = src_filter=+<src/feature/filwidth.cpp> +<src/gcode/feature/filwidth>
|
FILAMENT_WIDTH_SENSOR = build_src_filter=+<src/feature/filwidth.cpp> +<src/gcode/feature/filwidth>
|
||||||
FWRETRACT = src_filter=+<src/feature/fwretract.cpp> +<src/gcode/feature/fwretract>
|
FWRETRACT = build_src_filter=+<src/feature/fwretract.cpp> +<src/gcode/feature/fwretract>
|
||||||
HOST_ACTION_COMMANDS = src_filter=+<src/feature/host_actions.cpp>
|
HOST_ACTION_COMMANDS = build_src_filter=+<src/feature/host_actions.cpp>
|
||||||
HOTEND_IDLE_TIMEOUT = src_filter=+<src/feature/hotend_idle.cpp>
|
HOTEND_IDLE_TIMEOUT = build_src_filter=+<src/feature/hotend_idle.cpp>
|
||||||
JOYSTICK = src_filter=+<src/feature/joystick.cpp>
|
JOYSTICK = build_src_filter=+<src/feature/joystick.cpp>
|
||||||
BLINKM = src_filter=+<src/feature/leds/blinkm.cpp>
|
BLINKM = build_src_filter=+<src/feature/leds/blinkm.cpp>
|
||||||
HAS_COLOR_LEDS = src_filter=+<src/feature/leds/leds.cpp> +<src/gcode/feature/leds/M150.cpp>
|
HAS_COLOR_LEDS = build_src_filter=+<src/feature/leds/leds.cpp> +<src/gcode/feature/leds/M150.cpp>
|
||||||
PCA9533 = src_filter=+<src/feature/leds/pca9533.cpp>
|
PCA9533 = build_src_filter=+<src/feature/leds/pca9533.cpp>
|
||||||
PCA9632 = src_filter=+<src/feature/leds/pca9632.cpp>
|
PCA9632 = build_src_filter=+<src/feature/leds/pca9632.cpp>
|
||||||
PRINTER_EVENT_LEDS = src_filter=+<src/feature/leds/printer_event_leds.cpp>
|
PRINTER_EVENT_LEDS = build_src_filter=+<src/feature/leds/printer_event_leds.cpp>
|
||||||
TEMP_STAT_LEDS = src_filter=+<src/feature/leds/tempstat.cpp>
|
TEMP_STAT_LEDS = build_src_filter=+<src/feature/leds/tempstat.cpp>
|
||||||
MAX7219_DEBUG = src_filter=+<src/feature/max7219.cpp> +<src/gcode/feature/leds/M7219.cpp>
|
MAX7219_DEBUG = build_src_filter=+<src/feature/max7219.cpp> +<src/gcode/feature/leds/M7219.cpp>
|
||||||
MIXING_EXTRUDER = src_filter=+<src/feature/mixing.cpp> +<src/gcode/feature/mixing/M163-M165.cpp>
|
MIXING_EXTRUDER = build_src_filter=+<src/feature/mixing.cpp> +<src/gcode/feature/mixing/M163-M165.cpp>
|
||||||
PRUSA_MMU2 = src_filter=+<src/feature/mmu2> +<src/gcode/feature/prusa_MMU2>
|
PRUSA_MMU2 = build_src_filter=+<src/feature/mmu2> +<src/gcode/feature/prusa_MMU2>
|
||||||
PASSWORD_FEATURE = src_filter=+<src/feature/password> +<src/gcode/feature/password>
|
PASSWORD_FEATURE = build_src_filter=+<src/feature/password> +<src/gcode/feature/password>
|
||||||
ADVANCED_PAUSE_FEATURE = src_filter=+<src/feature/pause.cpp> +<src/gcode/feature/pause/M600.cpp> +<src/gcode/feature/pause/M603.cpp>
|
ADVANCED_PAUSE_FEATURE = build_src_filter=+<src/feature/pause.cpp> +<src/gcode/feature/pause/M600.cpp> +<src/gcode/feature/pause/M603.cpp>
|
||||||
AUTO_POWER_CONTROL = src_filter=+<src/feature/power.cpp>
|
AUTO_POWER_CONTROL = build_src_filter=+<src/feature/power.cpp>
|
||||||
HAS_POWER_MONITOR = src_filter=+<src/feature/power_monitor.cpp> +<src/gcode/feature/power_monitor>
|
HAS_POWER_MONITOR = build_src_filter=+<src/feature/power_monitor.cpp> +<src/gcode/feature/power_monitor>
|
||||||
POWER_LOSS_RECOVERY = src_filter=+<src/feature/powerloss.cpp> +<src/gcode/feature/powerloss>
|
POWER_LOSS_RECOVERY = build_src_filter=+<src/feature/powerloss.cpp> +<src/gcode/feature/powerloss>
|
||||||
PROBE_TEMP_COMPENSATION = src_filter=+<src/feature/probe_temp_comp.cpp> +<src/gcode/calibrate/G76_M871.cpp>
|
PROBE_TEMP_COMPENSATION = build_src_filter=+<src/feature/probe_temp_comp.cpp> +<src/gcode/calibrate/G76_M871.cpp>
|
||||||
HAS_FILAMENT_SENSOR = src_filter=+<src/feature/runout.cpp> +<src/gcode/feature/runout>
|
HAS_FILAMENT_SENSOR = build_src_filter=+<src/feature/runout.cpp> +<src/gcode/feature/runout>
|
||||||
MK2_MULTIPLEXER = src_filter=+<src/feature/snmm.cpp>
|
MK2_MULTIPLEXER = build_src_filter=+<src/feature/snmm.cpp>
|
||||||
EXT_SOLENOID|MANUAL_SOLENOID_CONTROL = src_filter=+<src/feature/solenoid.cpp>
|
EXT_SOLENOID|MANUAL_SOLENOID_CONTROL = build_src_filter=+<src/feature/solenoid.cpp>
|
||||||
HAS_CUTTER = src_filter=+<src/feature/spindle_laser.cpp> +<src/gcode/control/M3-M5.cpp>
|
HAS_CUTTER = build_src_filter=+<src/feature/spindle_laser.cpp> +<src/gcode/control/M3-M5.cpp>
|
||||||
EXPERIMENTAL_I2CBUS = src_filter=+<src/feature/twibus.cpp> +<src/gcode/feature/i2c>
|
EXPERIMENTAL_I2CBUS = build_src_filter=+<src/feature/twibus.cpp> +<src/gcode/feature/i2c>
|
||||||
Z_STEPPER_AUTO_ALIGN = src_filter=+<src/feature/z_stepper_align.cpp> +<src/gcode/calibrate/G34_M422.cpp>
|
Z_STEPPER_AUTO_ALIGN = build_src_filter=+<src/feature/z_stepper_align.cpp> +<src/gcode/calibrate/G34_M422.cpp>
|
||||||
G26_MESH_VALIDATION = src_filter=+<src/gcode/bedlevel/G26.cpp>
|
G26_MESH_VALIDATION = build_src_filter=+<src/gcode/bedlevel/G26.cpp>
|
||||||
ASSISTED_TRAMMING = src_filter=+<src/gcode/bedlevel/G35.cpp>
|
ASSISTED_TRAMMING = build_src_filter=+<src/gcode/bedlevel/G35.cpp>
|
||||||
HAS_MESH = src_filter=+<src/gcode/bedlevel/G42.cpp>
|
HAS_MESH = build_src_filter=+<src/gcode/bedlevel/G42.cpp>
|
||||||
HAS_LEVELING = src_filter=+<src/gcode/bedlevel/M420.cpp>
|
HAS_LEVELING = build_src_filter=+<src/gcode/bedlevel/M420.cpp>
|
||||||
DELTA_AUTO_CALIBRATION = src_filter=+<src/gcode/calibrate/G33.cpp>
|
DELTA_AUTO_CALIBRATION = build_src_filter=+<src/gcode/calibrate/G33.cpp>
|
||||||
CALIBRATION_GCODE = src_filter=+<src/gcode/calibrate/G425.cpp>
|
CALIBRATION_GCODE = build_src_filter=+<src/gcode/calibrate/G425.cpp>
|
||||||
Z_MIN_PROBE_REPEATABILITY_TEST = src_filter=+<src/gcode/calibrate/M48.cpp>
|
Z_MIN_PROBE_REPEATABILITY_TEST = build_src_filter=+<src/gcode/calibrate/M48.cpp>
|
||||||
M100_FREE_MEMORY_WATCHER = src_filter=+<src/gcode/calibrate/M100.cpp>
|
M100_FREE_MEMORY_WATCHER = build_src_filter=+<src/gcode/calibrate/M100.cpp>
|
||||||
BACKLASH_GCODE = src_filter=+<src/gcode/calibrate/M425.cpp>
|
BACKLASH_GCODE = build_src_filter=+<src/gcode/calibrate/M425.cpp>
|
||||||
IS_KINEMATIC = src_filter=+<src/gcode/calibrate/M665.cpp>
|
IS_KINEMATIC = build_src_filter=+<src/gcode/calibrate/M665.cpp>
|
||||||
HAS_EXTRA_ENDSTOPS = src_filter=+<src/gcode/calibrate/M666.cpp>
|
HAS_EXTRA_ENDSTOPS = build_src_filter=+<src/gcode/calibrate/M666.cpp>
|
||||||
SKEW_CORRECTION_GCODE = src_filter=+<src/gcode/calibrate/M852.cpp>
|
SKEW_CORRECTION_GCODE = build_src_filter=+<src/gcode/calibrate/M852.cpp>
|
||||||
PINS_DEBUGGING = src_filter=-<src/gcode/config/M43.cpp>
|
PINS_DEBUGGING = build_src_filter=-<src/gcode/config/M43.cpp>
|
||||||
NO_VOLUMETRICS = src_filter=-<src/gcode/config/M200-M205.cpp>
|
NO_VOLUMETRICS = build_src_filter=-<src/gcode/config/M200-M205.cpp>
|
||||||
HAS_MULTI_EXTRUDER = src_filter=+<src/gcode/config/M217.cpp>
|
HAS_MULTI_EXTRUDER = build_src_filter=+<src/gcode/config/M217.cpp>
|
||||||
HAS_HOTEND_OFFSET = src_filter=+<src/gcode/config/M218.cpp>
|
HAS_HOTEND_OFFSET = build_src_filter=+<src/gcode/config/M218.cpp>
|
||||||
EDITABLE_SERVO_ANGLES = src_filter=+<src/gcode/config/M281.cpp>
|
EDITABLE_SERVO_ANGLES = build_src_filter=+<src/gcode/config/M281.cpp>
|
||||||
PREVENT_COLD_EXTRUSION = src_filter=+<src/gcode/config/M302.cpp>
|
PREVENT_COLD_EXTRUSION = build_src_filter=+<src/gcode/config/M302.cpp>
|
||||||
HAS_USER_THERMISTORS = src_filter=+<src/gcode/config/M305.cpp>
|
HAS_USER_THERMISTORS = build_src_filter=+<src/gcode/config/M305.cpp>
|
||||||
SD_ABORT_ON_ENDSTOP_HIT = src_filter=+<src/gcode/config/M540.cpp>
|
SD_ABORT_ON_ENDSTOP_HIT = build_src_filter=+<src/gcode/config/M540.cpp>
|
||||||
COOLANT_CONTROL = src_filter=+<src/gcode/control/M7-M9.cpp>
|
COOLANT_CONTROL = build_src_filter=+<src/gcode/control/M7-M9.cpp>
|
||||||
HAS_SOFTWARE_ENDSTOPS = src_filter=+<src/gcode/control/M211.cpp>
|
HAS_SOFTWARE_ENDSTOPS = build_src_filter=+<src/gcode/control/M211.cpp>
|
||||||
HAS_DUPLICATION_MODE = src_filter=+<src/gcode/control/M605.cpp>
|
HAS_DUPLICATION_MODE = build_src_filter=+<src/gcode/control/M605.cpp>
|
||||||
LIN_ADVANCE = src_filter=+<src/gcode/feature/advance>
|
LIN_ADVANCE = build_src_filter=+<src/gcode/feature/advance>
|
||||||
PHOTO_GCODE = src_filter=+<src/gcode/feature/camera>
|
PHOTO_GCODE = build_src_filter=+<src/gcode/feature/camera>
|
||||||
CONTROLLER_FAN_EDITABLE = src_filter=+<src/gcode/feature/controllerfan>
|
CONTROLLER_FAN_EDITABLE = build_src_filter=+<src/gcode/feature/controllerfan>
|
||||||
GCODE_MACROS = src_filter=+<src/gcode/feature/macro>
|
GCODE_MACROS = build_src_filter=+<src/gcode/feature/macro>
|
||||||
GRADIENT_MIX = src_filter=+<src/gcode/feature/mixing/M166.cpp>
|
GRADIENT_MIX = build_src_filter=+<src/gcode/feature/mixing/M166.cpp>
|
||||||
HAS_SAVED_POSITIONS = src_filter=+<src/gcode/feature/pause/G60.cpp> +<src/gcode/feature/pause/G61.cpp>
|
HAS_SAVED_POSITIONS = build_src_filter=+<src/gcode/feature/pause/G60.cpp> +<src/gcode/feature/pause/G61.cpp>
|
||||||
PARK_HEAD_ON_PAUSE = src_filter=+<src/gcode/feature/pause/M125.cpp>
|
PARK_HEAD_ON_PAUSE = build_src_filter=+<src/gcode/feature/pause/M125.cpp>
|
||||||
FILAMENT_LOAD_UNLOAD_GCODES = src_filter=+<src/gcode/feature/pause/M701_M702.cpp>
|
FILAMENT_LOAD_UNLOAD_GCODES = build_src_filter=+<src/gcode/feature/pause/M701_M702.cpp>
|
||||||
CNC_WORKSPACE_PLANES = src_filter=+<src/gcode/geometry/G17-G19.cpp>
|
CNC_WORKSPACE_PLANES = build_src_filter=+<src/gcode/geometry/G17-G19.cpp>
|
||||||
CNC_COORDINATE_SYSTEMS = src_filter=+<src/gcode/geometry/G53-G59.cpp>
|
CNC_COORDINATE_SYSTEMS = build_src_filter=+<src/gcode/geometry/G53-G59.cpp>
|
||||||
HAS_M206_COMMAND = src_filter=+<src/gcode/geometry/M206_M428.cpp>
|
HAS_M206_COMMAND = build_src_filter=+<src/gcode/geometry/M206_M428.cpp>
|
||||||
EXPECTED_PRINTER_CHECK = src_filter=+<src/gcode/host/M16.cpp>
|
EXPECTED_PRINTER_CHECK = build_src_filter=+<src/gcode/host/M16.cpp>
|
||||||
HOST_KEEPALIVE_FEATURE = src_filter=+<src/gcode/host/M113.cpp>
|
HOST_KEEPALIVE_FEATURE = build_src_filter=+<src/gcode/host/M113.cpp>
|
||||||
REPETIER_GCODE_M360 = src_filter=+<src/gcode/host/M360.cpp>
|
REPETIER_GCODE_M360 = build_src_filter=+<src/gcode/host/M360.cpp>
|
||||||
HAS_GCODE_M876 = src_filter=+<src/gcode/host/M876.cpp>
|
HAS_GCODE_M876 = build_src_filter=+<src/gcode/host/M876.cpp>
|
||||||
HAS_RESUME_CONTINUE = src_filter=+<src/gcode/lcd/M0_M1.cpp>
|
HAS_RESUME_CONTINUE = build_src_filter=+<src/gcode/lcd/M0_M1.cpp>
|
||||||
HAS_PREHEAT_COUNT = src_filter=+<src/gcode/lcd/M145.cpp>
|
HAS_PREHEAT_COUNT = build_src_filter=+<src/gcode/lcd/M145.cpp>
|
||||||
HAS_LCD_CONTRAST = src_filter=+<src/gcode/lcd/M250.cpp>
|
HAS_LCD_CONTRAST = build_src_filter=+<src/gcode/lcd/M250.cpp>
|
||||||
LCD_SET_PROGRESS_MANUALLY = src_filter=+<src/gcode/lcd/M73.cpp>
|
LCD_SET_PROGRESS_MANUALLY = build_src_filter=+<src/gcode/lcd/M73.cpp>
|
||||||
TOUCH_SCREEN_CALIBRATION = src_filter=+<src/gcode/lcd/M995.cpp>
|
TOUCH_SCREEN_CALIBRATION = build_src_filter=+<src/gcode/lcd/M995.cpp>
|
||||||
ARC_SUPPORT = src_filter=+<src/gcode/motion/G2_G3.cpp>
|
ARC_SUPPORT = build_src_filter=+<src/gcode/motion/G2_G3.cpp>
|
||||||
GCODE_MOTION_MODES = src_filter=+<src/gcode/motion/G80.cpp>
|
GCODE_MOTION_MODES = build_src_filter=+<src/gcode/motion/G80.cpp>
|
||||||
BABYSTEPPING = src_filter=+<src/gcode/motion/M290.cpp>
|
BABYSTEPPING = build_src_filter=+<src/gcode/motion/M290.cpp>
|
||||||
Z_PROBE_SLED = src_filter=+<src/gcode/probe/G31_G32.cpp>
|
Z_PROBE_SLED = build_src_filter=+<src/gcode/probe/G31_G32.cpp>
|
||||||
G38_PROBE_TARGET = src_filter=+<src/gcode/probe/G38.cpp>
|
G38_PROBE_TARGET = build_src_filter=+<src/gcode/probe/G38.cpp>
|
||||||
MAGNETIC_PARKING_EXTRUDER = src_filter=+<src/gcode/probe/M951.cpp>
|
MAGNETIC_PARKING_EXTRUDER = build_src_filter=+<src/gcode/probe/M951.cpp>
|
||||||
SDSUPPORT = src_filter=+<src/gcode/sd>
|
SDSUPPORT = build_src_filter=+<src/gcode/sd>
|
||||||
HAS_EXTRUDERS = src_filter=+<src/gcode/temp/M104_M109.cpp> +<src/gcode/config/M221.cpp>
|
HAS_EXTRUDERS = build_src_filter=+<src/gcode/temp/M104_M109.cpp> +<src/gcode/config/M221.cpp>
|
||||||
INCH_MODE_SUPPORT = src_filter=+<src/gcode/units/G20_G21.cpp>
|
INCH_MODE_SUPPORT = build_src_filter=+<src/gcode/units/G20_G21.cpp>
|
||||||
TEMPERATURE_UNITS_SUPPORT = src_filter=+<src/gcode/units/M149.cpp>
|
TEMPERATURE_UNITS_SUPPORT = build_src_filter=+<src/gcode/units/M149.cpp>
|
||||||
NEED_HEX_PRINT = src_filter=+<src/libs/hex_print.cpp>
|
NEED_HEX_PRINT = build_src_filter=+<src/libs/hex_print.cpp>
|
||||||
NEED_LSF = src_filter=+<src/libs/least_squares_fit.cpp>
|
NEED_LSF = build_src_filter=+<src/libs/least_squares_fit.cpp>
|
||||||
NOZZLE_PARK_FEATURE = src_filter=+<src/libs/nozzle.cpp> +<src/gcode/feature/pause/G27.cpp>
|
NOZZLE_PARK_FEATURE = build_src_filter=+<src/libs/nozzle.cpp> +<src/gcode/feature/pause/G27.cpp>
|
||||||
NOZZLE_CLEAN_FEATURE = src_filter=+<src/libs/nozzle.cpp> +<src/gcode/feature/clean>
|
NOZZLE_CLEAN_FEATURE = build_src_filter=+<src/libs/nozzle.cpp> +<src/gcode/feature/clean>
|
||||||
DELTA = src_filter=+<src/module/delta.cpp> +<src/gcode/calibrate/M666.cpp>
|
DELTA = build_src_filter=+<src/module/delta.cpp> +<src/gcode/calibrate/M666.cpp>
|
||||||
BEZIER_CURVE_SUPPORT = src_filter=+<src/module/planner_bezier.cpp> +<src/gcode/motion/G5.cpp>
|
BEZIER_CURVE_SUPPORT = build_src_filter=+<src/module/planner_bezier.cpp> +<src/gcode/motion/G5.cpp>
|
||||||
PRINTCOUNTER = src_filter=+<src/module/printcounter.cpp>
|
PRINTCOUNTER = build_src_filter=+<src/module/printcounter.cpp>
|
||||||
HAS_BED_PROBE = src_filter=+<src/module/probe.cpp> +<src/gcode/probe/G30.cpp> +<src/gcode/probe/M401_M402.cpp> +<src/gcode/probe/M851.cpp>
|
HAS_BED_PROBE = build_src_filter=+<src/module/probe.cpp> +<src/gcode/probe/G30.cpp> +<src/gcode/probe/M401_M402.cpp> +<src/gcode/probe/M851.cpp>
|
||||||
IS_SCARA = src_filter=+<src/module/scara.cpp>
|
IS_SCARA = build_src_filter=+<src/module/scara.cpp>
|
||||||
MORGAN_SCARA = src_filter=+<src/gcode/scara>
|
MORGAN_SCARA = build_src_filter=+<src/gcode/scara>
|
||||||
(ESP3D_)?WIFISUPPORT = AsyncTCP, ESP Async WebServer
|
(ESP3D_)?WIFISUPPORT = AsyncTCP, ESP Async WebServer
|
||||||
ESP3DLib=https://github.com/luc-github/ESP3DLib.git
|
ESP3DLib=https://github.com/luc-github/ESP3DLib.git
|
||||||
arduinoWebSockets=https://github.com/Links2004/arduinoWebSockets.git
|
arduinoWebSockets=https://github.com/Links2004/arduinoWebSockets.git
|
||||||
@@ -369,15 +369,9 @@ extra_scripts = ${common.extra_scripts}
|
|||||||
build_flags = ${common.build_flags}
|
build_flags = ${common.build_flags}
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
monitor_speed = 250000
|
monitor_speed = 250000
|
||||||
monitor_flags =
|
monitor_eol = LF
|
||||||
--quiet
|
monitor_echo = yes
|
||||||
--echo
|
monitor_filters = colorize, time, send_on_enter
|
||||||
--eol
|
|
||||||
LF
|
|
||||||
--filter
|
|
||||||
colorize
|
|
||||||
--filter
|
|
||||||
time
|
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# #
|
# #
|
||||||
@@ -400,7 +394,7 @@ monitor_flags =
|
|||||||
#
|
#
|
||||||
[common_avr8]
|
[common_avr8]
|
||||||
board_build.f_cpu = 16000000L
|
board_build.f_cpu = 16000000L
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/AVR>
|
||||||
|
|
||||||
#
|
#
|
||||||
# ATmega2560
|
# ATmega2560
|
||||||
@@ -555,7 +549,7 @@ extends = env:at90usb1286_cdc
|
|||||||
[env:DUE]
|
[env:DUE]
|
||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
board = due
|
board = due
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/DUE>
|
||||||
|
|
||||||
[env:DUE_USB]
|
[env:DUE_USB]
|
||||||
platform = atmelsam
|
platform = atmelsam
|
||||||
@@ -605,7 +599,7 @@ platform = atmelsam
|
|||||||
board = adafruit_grandcentral_m4
|
board = adafruit_grandcentral_m4
|
||||||
build_flags = ${common.build_flags} -std=gnu++17
|
build_flags = ${common.build_flags} -std=gnu++17
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/SAMD51>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/SAMD51>
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
SoftwareSerialM
|
SoftwareSerialM
|
||||||
Adafruit SPIFlash
|
Adafruit SPIFlash
|
||||||
@@ -628,7 +622,7 @@ lib_ldf_mode = off
|
|||||||
lib_compat_mode = strict
|
lib_compat_mode = strict
|
||||||
extra_scripts = ${common.extra_scripts}
|
extra_scripts = ${common.extra_scripts}
|
||||||
Marlin/src/HAL/LPC1768/upload_extra_script.py
|
Marlin/src/HAL/LPC1768/upload_extra_script.py
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/LPC1768>
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
Servo
|
Servo
|
||||||
custom_marlin.USES_LIQUIDCRYSTAL = LiquidCrystal@1.0.0
|
custom_marlin.USES_LIQUIDCRYSTAL = LiquidCrystal@1.0.0
|
||||||
@@ -670,7 +664,7 @@ build_flags = ${common.build_flags}
|
|||||||
-DUSBD_VID=0x0483
|
-DUSBD_VID=0x0483
|
||||||
-DTIM_IRQ_PRIO=13
|
-DTIM_IRQ_PRIO=13
|
||||||
build_unflags = -std=gnu++11
|
build_unflags = -std=gnu++11
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
||||||
|
|
||||||
#
|
#
|
||||||
# HAL/STM32F1 Common Environment values
|
# HAL/STM32F1 Common Environment values
|
||||||
@@ -680,7 +674,7 @@ platform = ${common_stm32.platform}
|
|||||||
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
build_flags = !python Marlin/src/HAL/STM32F1/build_flags.py
|
||||||
${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL
|
${common.build_flags} -std=gnu++14 -DHAVE_SW_SERIAL
|
||||||
build_unflags = -std=gnu11 -std=gnu++11
|
build_unflags = -std=gnu11 -std=gnu++11
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32F1>
|
||||||
lib_ignore = SPI
|
lib_ignore = SPI
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
SoftwareSerialM
|
SoftwareSerialM
|
||||||
@@ -809,7 +803,7 @@ lib_deps = ${common_stm32f1.lib_deps}
|
|||||||
platform = ${common_stm32.platform}
|
platform = ${common_stm32.platform}
|
||||||
board = disco_f407vg
|
board = disco_f407vg
|
||||||
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
|
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F7>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F7>
|
||||||
|
|
||||||
#
|
#
|
||||||
# STM32F7 with STM32GENERIC
|
# STM32F7 with STM32GENERIC
|
||||||
@@ -818,7 +812,7 @@ src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/ST
|
|||||||
platform = ${common_stm32.platform}
|
platform = ${common_stm32.platform}
|
||||||
board = remram_v1
|
board = remram_v1
|
||||||
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
|
build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB -DHAL_IWDG_MODULE_ENABLED
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F4>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32_F4_F7> -<src/HAL/STM32_F4_F7/STM32F4>
|
||||||
|
|
||||||
#
|
#
|
||||||
# ARMED (STM32)
|
# ARMED (STM32)
|
||||||
@@ -1022,7 +1016,7 @@ board = malyanm300_f070cb
|
|||||||
build_flags = ${common.build_flags}
|
build_flags = ${common.build_flags}
|
||||||
-DUSBCON -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"MALYAN_M300\""
|
-DUSBCON -DUSBD_VID=0x0483 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"MALYAN_M300\""
|
||||||
-DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
|
-DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB -DHAL_UART_MODULE_ENABLED
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32>
|
||||||
|
|
||||||
#
|
#
|
||||||
# Chitu boards like Tronxy X5s (STM32F103ZET6)
|
# Chitu boards like Tronxy X5s (STM32F103ZET6)
|
||||||
@@ -1247,7 +1241,7 @@ monitor_speed = 500000
|
|||||||
platform = espressif32@1.11.2
|
platform = espressif32@1.11.2
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
build_flags = ${common.build_flags} -DCORE_DEBUG_LEVEL=0
|
build_flags = ${common.build_flags} -DCORE_DEBUG_LEVEL=0
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/ESP32>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/ESP32>
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
#upload_port = marlinesp.local
|
#upload_port = marlinesp.local
|
||||||
#board_build.flash_mode = qio
|
#board_build.flash_mode = qio
|
||||||
@@ -1258,7 +1252,7 @@ upload_speed = 115200
|
|||||||
[env:teensy31]
|
[env:teensy31]
|
||||||
platform = teensy
|
platform = teensy
|
||||||
board = teensy31
|
board = teensy31
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/TEENSY31_32>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/TEENSY31_32>
|
||||||
|
|
||||||
#
|
#
|
||||||
# Teensy 3.5 / 3.6 (ARM Cortex-M4)
|
# Teensy 3.5 / 3.6 (ARM Cortex-M4)
|
||||||
@@ -1266,7 +1260,7 @@ src_filter = ${common.default_src_filter} +<src/HAL/TEENSY31_32>
|
|||||||
[env:teensy35]
|
[env:teensy35]
|
||||||
platform = teensy
|
platform = teensy
|
||||||
board = teensy35
|
board = teensy35
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/TEENSY35_36>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/TEENSY35_36>
|
||||||
|
|
||||||
#
|
#
|
||||||
# Native
|
# Native
|
||||||
@@ -1280,7 +1274,7 @@ src_build_flags = -Wall -IMarlin/src/HAL/LINUX/include
|
|||||||
build_unflags = -Wall
|
build_unflags = -Wall
|
||||||
lib_ldf_mode = off
|
lib_ldf_mode = off
|
||||||
lib_deps =
|
lib_deps =
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/LINUX>
|
build_src_filter = ${common.default_src_filter} +<src/HAL/LINUX>
|
||||||
|
|
||||||
#
|
#
|
||||||
# Just print the dependency tree
|
# Just print the dependency tree
|
||||||
@@ -1289,4 +1283,4 @@ src_filter = ${common.default_src_filter} +<src/HAL/LINUX>
|
|||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__
|
build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__
|
||||||
src_filter = +<src/MarlinCore.cpp>
|
build_src_filter = +<src/MarlinCore.cpp>
|
||||||
|
Reference in New Issue
Block a user