bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
1.99k stars 1.97k forks source link

No matter what I do this file will not compile with vsc #56

Open WilliamHarned opened 4 years ago

WilliamHarned commented 4 years ago

bigtree

oreo-ux commented 4 years ago

https://github.com/MarlinFirmware/Marlin/issues/15514 This solved the problem for me:)!

kubik256 commented 4 years ago

Configuration.h from Examples directory is not updated with the Marlin's config. You must check Configuration.h with the default one via WinMerge for structural changes ;)

WilliamHarned commented 4 years ago

Thanks for the reply, But not sure I understand your solution, could you explain in more detail.

Thanks,

On Tue, Oct 22, 2019 at 12:31 AM Jakub Štajner notifications@github.com wrote:

Configuration.h from Examples directory is not updated with the Marlin's config. You must check Configuration.h with the default one via WinMerge for structural changes ;)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/56?email_source=notifications&email_token=ANRDLO3MNA4UCNVDUDPLRETQPZ62JA5CNFSM4JDHAMFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4QA5I#issuecomment-544800885, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRDLO5PFFJCNYGND7IGCP3QPZ62JANCNFSM4JDHAMFA .

kubik256 commented 4 years ago

It's simple...

//#define JUNCTION_DEVIATION
//#if ENABLED(JUNCTION_DEVIATION)
  #define JUNCTION_DEVIATION_MM 0.065  // (mm) Distance from real junction edge
//#endif

First line, is commented out - JUNCTION_DEVIATION is now defined as default and have not to be there. Whole IF block is now nonsense, because there is no implicit definition of JUNCTION_DEVIATION so it will never be complied and there will be always missing JUNCTION_DEVIATION_MM value. Commenting out those three lines will fix that ;)

There can be more complex modifications like this and Configuration.h files in Examples directory are not updated so often, so only way to check is to use WinMerge and check your Configuration.h against version from actual MarlinFW copy.

damvcoool commented 4 years ago

If you are using a recent copy of Marlin-BugFix-2.x (as of October 20, 2019) you might want to look on Configuration.h around this lines (see text below)

/**
 * Default Jerk limits (mm/s)
 * Override with M205 X Y Z E
 *
 * "Jerk" specifies the minimum speed change that requires acceleration.
 * When changing speed and direction, if the difference is less than the
 * value set here, it may happen instantaneously.
 */
//#define CLASSIC_JERK
#if ENABLED(CLASSIC_JERK)
  #define DEFAULT_XJERK 10.0
  #define DEFAULT_YJERK 10.0
  #define DEFAULT_ZJERK  0.3

  //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
  #if ENABLED(LIMITED_JERK_EDITING)
    #define MAX_JERK_EDIT_VALUES { 20, 20, 0.6, 10 } // ...or, set your own edit limits
  #endif
#endif

#define DEFAULT_EJERK    5.0  // May be used by Linear Advance
/**
 * Junction Deviation Factor
 *
 * See:
 *   https://reprap.org/forum/read.php?1,739819
 *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
 */
#if DISABLED(CLASSIC_JERK)
  #define JUNCTION_DEVIATION_MM 0.08  // (mm) Distance from real junction edge
#endif

If you enable Classic_Jerk then you do not need to worry about JUNCTION_DEVIATION_MM, but if you disable Classic_Jerk (this is the default behavior) then you must have JUNCTION_DEVIATION_MM defined. I hope this helps

fusemedia commented 4 years ago

For me it was

not -> default_envs = STM32F103RC_bigtree should be -> env_default = STM32F103RC_bigtree

that helped to get it compiled. Had the same issue before.

meltonpieman commented 4 years ago

For me it was

not -> default_envs = STM32F103RC_bigtree should be -> env_default = STM32F103RC_bigtree

It did not work for me!

WilliamHarned commented 4 years ago

I got it to work by running vsc as an administrator. Right-click on the icon and click run as admin.

On Thu, Oct 24, 2019 at 11:00 AM meltonpieman notifications@github.com wrote:

For me it was

not -> default_envs = STM32F103RC_bigtree should be -> env_default = STM32F103RC_bigtree

It did not work for me!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/56?email_source=notifications&email_token=ANRDLO2LUB4PAIPXG2VPQX3QQG2AHA5CNFSM4JDHAMFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECFK5QA#issuecomment-545959616, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRDLO7NNGZYKFM5HQ7HIVLQQG2AHANCNFSM4JDHAMFA .

meltonpieman commented 4 years ago

Hi William re

I got it to work by running vsc as an administrator. Right-click on the icon and click run as admin.

Just tried it - no change. I have compared my platformio.ini and config.h with the latest BTT readme and it all matches. I am at a loss. I get the following warning messages (yellow) in the Terminal:

FileNotFoundError: [Errno 2] No such file or directory: 'f:\00 3D PRINTING\3 ENDER 3 pro\SKR mini E3\0 BTT stuff board ver 1.2\github\BIGTREETECH-SKR-MINI-E3-v1.2-with-BLT-endstop\.pio\libdeps\STM32F103RC_bigtree\_tmp_installing-vfds7bdr-package\U8glib-HAL-bugfix\src\clib\HAL_example_files\LCD_I2C_routines.c.example': File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\main.py", line 126: env.SConscript("$BUILD_SCRIPT") File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 605: return _SConscript(self.fs, *files, subst_kw) File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\users\exken.platformio\platforms\ststm32\builder\main.py", line 91: target_elf = env.BuildProgram() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, *kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 122: _build_project_deps(env) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 47: project_lib_builder = env.ConfigureProjectLibBuilder() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(nargs, kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1043: project.install_dependencies() File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 878: lm.install(uri) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 359: force=force) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 701: track=True) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 483: self.unpack(dlpath, tmp_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 218: return fu.unpack(dest_dir, with_progress=False) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 118: self._unpacker.extract_item(item, dest_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 38: self._afo.extract(item, dest_dir) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1602: return self._extract_member(member, path, pwd) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1673: open(targetpath, "wb") as target:

Do you get similar messages? Am I missing something basic about getting the missing file in place? Could you send me a text copy of your platformio.ini so that I can compare it with mine?

David

WilliamHarned commented 4 years ago

David, I'm at work right now but I will get that to you when I get home. Did you install git? https://git-scm.com/downloads

On Thu, Oct 24, 2019 at 11:47 AM meltonpieman notifications@github.com wrote:

Hi William re

I got it to work by running vsc as an administrator. Right-click on the icon and click run as admin. … <#m-3454582288821006061>

Just tried it - no change. I have compared my platformio.ini and config.h with the latest BTT readme and it all matches. I am at a loss. I get the following warning messages (yellow) in the Terminal: FileNotFoundError: [Errno 2] No such file or directory: 'f:\00 3D PRINTING\3 ENDER 3 pro\SKR mini E3\0 BTT stuff board ver 1.2\github\BIGTREETECH-SKR-MINI-E3-v1.2-with-BLT-endstop.pio\libdeps\STM32F103RC_bigtree_tmp_installing-vfds7bdr-package\U8glib-HAL-bugfix\src\clib\HAL_example_files\LCD_I2C_routines.c.example': File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\main.py", line 126: env.SConscript("$BUILD_SCRIPT") File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 605: return _SConscript(self.fs, *files, subst_kw) File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\users\exken.platformio\platforms\ststm32\builder\main.py", line 91: target_elf = env.BuildProgram() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, *kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 122: _build_project_deps(env) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 47: project_lib_builder = env.ConfigureProjectLibBuilder() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(nargs, kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1043: project.install_dependencies() File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 878: lm.install(uri) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 359: force=force) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 701: track=True) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 483: self.unpack(dlpath, tmp_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 218: return fu.unpack(dest_dir, with_progress=False) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 118: self._unpacker.extract_item(item, dest_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 38: self._afo.extract(item, dest_dir) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1602: return self._extract_member(member, path, pwd) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1673: open(targetpath, "wb") as target:

Do you get similar messages? Am I missing something basic about getting the missing file in place? Could you send me a text copy of your platformio.ini so that I can compare it with mine?

David

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/56?email_source=notifications&email_token=ANRDLO6LYH7HWHXLG46WEHTQQG7S7A5CNFSM4JDHAMFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECFQFIY#issuecomment-545981091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRDLOZ4V2LERK6CZQBXEI3QQG7S7ANCNFSM4JDHAMFA .

WilliamHarned commented 4 years ago

On Thu, Oct 24, 2019 at 11:59 AM Brad Harned harned.brad@gmail.com wrote:

David, I'm at work right now but I will get that to you when I get home. Did you install git? https://git-scm.com/downloads

On Thu, Oct 24, 2019 at 11:47 AM meltonpieman notifications@github.com wrote:

Hi William re

I got it to work by running vsc as an administrator. Right-click on the icon and click run as admin. … <#m_-402608059743745954m-3454582288821006061_>

Just tried it - no change. I have compared my platformio.ini and config.h with the latest BTT readme and it all matches. I am at a loss. I get the following warning messages (yellow) in the Terminal: FileNotFoundError: [Errno 2] No such file or directory: 'f:\00 3D PRINTING\3 ENDER 3 pro\SKR mini E3\0 BTT stuff board ver 1.2\github\BIGTREETECH-SKR-MINI-E3-v1.2-with-BLT-endstop.pio\libdeps\STM32F103RC_bigtree_tmp_installing-vfds7bdr-package\U8glib-HAL-bugfix\src\clib\HAL_example_files\LCD_I2C_routines.c.example': File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\main.py", line 126: env.SConscript("$BUILD_SCRIPT") File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 605: return _SConscript(self.fs, *files, subst_kw) File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\users\exken.platformio\platforms\ststm32\builder\main.py", line 91: target_elf = env.BuildProgram() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, *kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 122: _build_project_deps(env) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 47: project_lib_builder = env.ConfigureProjectLibBuilder() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(nargs, kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1043: project.install_dependencies() File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 878: lm.install(uri) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 359: force=force) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 701: track=True) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 483: self.unpack(dlpath, tmp_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 218: return fu.unpack(dest_dir, with_progress=False) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 118: self._unpacker.extract_item(item, dest_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 38: self._afo.extract(item, dest_dir) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1602: return self._extract_member(member, path, pwd) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1673: open(targetpath, "wb") as target:

Do you get similar messages? Am I missing something basic about getting the missing file in place? Could you send me a text copy of your platformio.ini so that I can compare it with mine?

David

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/56?email_source=notifications&email_token=ANRDLO6LYH7HWHXLG46WEHTQQG7S7A5CNFSM4JDHAMFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECFQFIY#issuecomment-545981091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRDLOZ4V2LERK6CZQBXEI3QQG7S7ANCNFSM4JDHAMFA .

/**

/**

//=========================================================================== //============================= Getting Started ============================= //===========================================================================

/**

//=========================================================================== //============================= DELTA Printer =============================== //=========================================================================== // For a Delta printer start with one of the configuration files in the // config/examples/delta directory and customize for your machine. //

//=========================================================================== //============================= SCARA Printer =============================== //=========================================================================== // For a SCARA printer start with the configuration files in // config/examples/SCARA and customize for your machine. //

// @section info

// Author info of this build printed to the host during boot and M115

define STRING_CONFIG_H_AUTHOR "(BIGTREETECH, SKR-mini-E3)" // Who made the changes.

/**

// Show the Marlin bootscreen on startup. ENABLE FOR PRODUCTION

define SHOW_BOOTSCREEN

// Show the bitmap in Marlin/_Bootscreen.h on startup. //#define SHOW_CUSTOM_BOOTSCREEN

// Show the bitmap in Marlin/_Statusscreen.h on the status screen. //#define CUSTOM_STATUS_SCREEN_IMAGE

// @section machine

/**

/**

/**

// Enable the Bluetooth serial interface on AT90USB devices //#define BLUETOOTH

// Choose the name from boards.h that matches your setup

ifndef MOTHERBOARD

define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V1_2

endif

// Name displayed in the LCD "Ready" message and Info menu

define CUSTOM_MACHINE_NAME "SKR-mini-E3-V1.2"

// Printer's unique ID, used by some programs to differentiate between machines. // Choose your own or use a service like http://www.uuidgenerator.net/version4 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"

// @section extruder

// This defines the number of extruders // :[1, 2, 3, 4, 5, 6]

define EXTRUDERS 1

// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.

define DEFAULT_NOMINAL_FILAMENT_DIA 1.75

// For Cyclops or any "multi-extruder" that shares a single nozzle. //#define SINGLENOZZLE

/**

/**

// A dual extruder that uses a single stepper motor //#define SWITCHING_EXTRUDER

if ENABLED(SWITCHING_EXTRUDER)

define SWITCHING_EXTRUDER_SERVO_NR 0

define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1[, E2, E3]

if EXTRUDERS > 3

#define SWITCHING_EXTRUDER_E23_SERVO_NR 1

endif

endif

// A dual-nozzle that uses a servomotor to raise/lower one (or both) of the nozzles //#define SWITCHING_NOZZLE

if ENABLED(SWITCHING_NOZZLE)

define SWITCHING_NOZZLE_SERVO_NR 0

//#define SWITCHING_NOZZLE_E1_SERVO_NR 1 // If two servos are used, the index of the second

define SWITCHING_NOZZLE_SERVO_ANGLES { 0, 90 } // Angles for E0, E1 (single servo) or lowered/raised (dual servo)

endif

/**

/**

if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER)

define PARKING_EXTRUDER_PARKING_X { -78, 184 } // X positions for parking the extruders

define PARKING_EXTRUDER_GRAB_DISTANCE 1 // (mm) Distance to move beyond the parking point to grab the extruder

//#define MANUAL_SOLENOID_CONTROL // Manual control of docking solenoids with M380 S / M381

if ENABLED(PARKING_EXTRUDER)

#define PARKING_EXTRUDER_SOLENOIDS_INVERT           // If enabled, the solenoid is NOT magnetized with applied voltage
#define PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE LOW  // LOW or HIGH pin signal energizes the coil
#define PARKING_EXTRUDER_SOLENOIDS_DELAY 250        // (ms) Delay for magnetic field. No delay if 0 or not defined.
//#define MANUAL_SOLENOID_CONTROL                   // Manual control of docking solenoids with M380 S / M381

elif ENABLED(MAGNETIC_PARKING_EXTRUDER)

#define MPE_FAST_SPEED      9000      // (mm/m) Speed for travel before last distance point
#define MPE_SLOW_SPEED      4500      // (mm/m) Speed for last distance travel to park and couple
#define MPE_TRAVEL_DISTANCE   10      // (mm) Last distance point
#define MPE_COMPENSATION       0      // Offset Compensation -1 , 0 , 1 (multiplier) only for coupling

endif

endif

/**

/**

/**

if ANY(SWITCHING_TOOLHEAD, MAGNETIC_SWITCHING_TOOLHEAD, ELECTROMAGNETIC_SWITCHING_TOOLHEAD)

define SWITCHING_TOOLHEAD_Y_POS 235 // (mm) Y position of the toolhead dock

define SWITCHING_TOOLHEAD_Y_SECURITY 10 // (mm) Security distance Y axis

define SWITCHING_TOOLHEAD_Y_CLEAR 60 // (mm) Minimum distance from dock for unobstructed X axis

define SWITCHING_TOOLHEAD_X_POS { 215, 0 } // (mm) X positions for parking the extruders

if ENABLED(SWITCHING_TOOLHEAD)

#define SWITCHING_TOOLHEAD_SERVO_NR       2         // Index of the servo connector
#define SWITCHING_TOOLHEAD_SERVO_ANGLES { 0, 180 }  // (degrees) Angles for Lock, Unlock

elif ENABLED(MAGNETIC_SWITCHING_TOOLHEAD)

#define SWITCHING_TOOLHEAD_Y_RELEASE      5         // (mm) Security distance Y axis
#define SWITCHING_TOOLHEAD_X_SECURITY   { 90, 150 } // (mm) Security distance X axis (T0,T1)
//#define PRIME_BEFORE_REMOVE                       // Prime the nozzle before release from the dock
#if ENABLED(PRIME_BEFORE_REMOVE)
  #define SWITCHING_TOOLHEAD_PRIME_MM           20  // (mm)   Extruder prime length
  #define SWITCHING_TOOLHEAD_RETRACT_MM         10  // (mm)   Retract after priming length
  #define SWITCHING_TOOLHEAD_PRIME_FEEDRATE    300  // (mm/m) Extruder prime feedrate
  #define SWITCHING_TOOLHEAD_RETRACT_FEEDRATE 2400  // (mm/m) Extruder retract feedrate
#endif

elif ENABLED(ELECTROMAGNETIC_SWITCHING_TOOLHEAD)

#define SWITCHING_TOOLHEAD_Z_HOP          2         // (mm) Z raise for switching

endif

endif

/**

// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing). // The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder). // For the other hotends it is their distance from the extruder 0 hotend. //#define HOTEND_OFFSET_X { 0.0, 20.00 } // (mm) relative X-offset for each nozzle //#define HOTEND_OFFSET_Y { 0.0, 5.00 } // (mm) relative Y-offset for each nozzle //#define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle

// @section machine

/**

if ENABLED(PSU_CONTROL)

define PSU_ACTIVE_HIGH false // Set 'false' for ATX (1), 'true' for X-Box (2)

//#define PS_DEFAULT_OFF // Keep power off until enabled directly with M80

//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin

if ENABLED(AUTO_POWER_CONTROL)

#define AUTO_POWER_FANS           // Turn on PSU if fans need power
#define AUTO_POWER_E_FANS
#define AUTO_POWER_CONTROLLERFAN
#define AUTO_POWER_CHAMBER_FAN
//#define AUTO_POWER_E_TEMP        50 // (°C) Turn on PSU over this temperature
//#define AUTO_POWER_CHAMBER_TEMP  30 // (°C) Turn on PSU over this temperature
#define POWER_TIMEOUT 30

endif

endif

// @section temperature

//=========================================================================== //============================= Thermal Settings ============================ //===========================================================================

/**

// Dummy thermistor constant temperature readings, for use with 998 and 999

define DUMMY_THERMISTOR_998_VALUE 25

define DUMMY_THERMISTOR_999_VALUE 100

// Use temp sensor 1 as a redundant sensor with sensor 0. If the readings // from the two sensors differ too much the print will be aborted. //#define TEMP_SENSOR_1_AS_REDUNDANT

define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10

define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109

define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer

define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target

define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190

define TEMP_BED_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer

define TEMP_BED_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target

// Below this temperature the heater will be switched off // because it probably indicates a broken thermistor wire.

define HEATER_0_MINTEMP 5

define HEATER_1_MINTEMP 5

define HEATER_2_MINTEMP 5

define HEATER_3_MINTEMP 5

define HEATER_4_MINTEMP 5

define HEATER_5_MINTEMP 5

define BED_MINTEMP 5

// Above this temperature the heater will be switched off. // This can protect components from overheating, but NOT from shorts and failures. // (Use MINTEMP for thermistor short/failure protection.)

define HEATER_0_MAXTEMP 275

define HEATER_1_MAXTEMP 275

define HEATER_2_MAXTEMP 275

define HEATER_3_MAXTEMP 275

define HEATER_4_MAXTEMP 275

define HEATER_5_MAXTEMP 275

define BED_MAXTEMP 125

//=========================================================================== //============================= PID Settings ================================ //=========================================================================== // PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning

// Comment the following line to disable PID and enable bang-bang.

define PIDTEMP

define BANG_MAX 255 // Limits current to nozzle while in bang-bang mode; 255=full current

define PID_MAX BANG_MAX // Limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current

define PID_K1 0.95 // Smoothing factor within any PID loop

if ENABLED(PIDTEMP)

define PID_EDIT_MENU // Add PID editing to the "Advanced Settings" menu. (~700 bytes of PROGMEM)

define PID_AUTOTUNE_MENU // Add PID auto-tuning to the "Advanced Settings" menu. (~250 bytes of PROGMEM)

//#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders) // Set/get with gcode: M301 E[extruder number, 0-2]

define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature

                              // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.

// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it // Creality Ender-3

define DEFAULT_Kp 21.73

define DEFAULT_Ki 1.54

define DEFAULT_Kd 76.55

// Ultimaker //#define DEFAULT_Kp 22.2 //#define DEFAULT_Ki 1.08 //#define DEFAULT_Kd 114

// MakerGear //#define DEFAULT_Kp 7.0 //#define DEFAULT_Ki 0.1 //#define DEFAULT_Kd 12

// Mendel Parts V9 on 12V //#define DEFAULT_Kp 63.0 //#define DEFAULT_Ki 2.25 //#define DEFAULT_Kd 440

endif // PIDTEMP

//=========================================================================== //====================== PID > Bed Temperature Control ====================== //===========================================================================

/**

//#define BED_LIMIT_SWITCHING

/**

if ENABLED(PIDTEMPBED)

//#define MIN_BED_POWER 0 //#define PID_BED_DEBUG // Sends debug data to the serial port.

//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)

define DEFAULT_bedKp 10.00

define DEFAULT_bedKi .023

define DEFAULT_bedKd 305.4

//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from pidautotune //#define DEFAULT_bedKp 97.1 //#define DEFAULT_bedKi 1.41 //#define DEFAULT_bedKd 1675.16

// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.

endif // PIDTEMPBED

// @section extruder

/**

/**

//=========================================================================== //======================== Thermal Runaway Protection ======================= //===========================================================================

/**

define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders

define THERMAL_PROTECTION_BED // Enable thermal protection for the heated bed

define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber

//=========================================================================== //============================= Mechanical Settings ========================= //===========================================================================

// @section machine

// Uncomment one of these options to enable CoreXY, CoreXZ, or CoreYZ kinematics // either in the usual order or reversed //#define COREXY //#define COREXZ //#define COREYZ //#define COREYX //#define COREZX //#define COREZY

//=========================================================================== //============================== Endstop Settings =========================== //===========================================================================

// @section homing

// Specify here all the endstop connectors that are connected to any endstop or probe. // Almost all printers will be using one per axis. Probes will use one or more of the // extra connectors. Leave undefined any used for non-endstop and non-probe purposes.

define USE_XMIN_PLUG

define USE_YMIN_PLUG

define USE_ZMIN_PLUG

//#define USE_XMAX_PLUG //#define USE_YMAX_PLUG //#define USE_ZMAX_PLUG

// Enable pullup for all endstops to prevent a floating state

define ENDSTOPPULLUPS

if DISABLED(ENDSTOPPULLUPS)

// Disable ENDSTOPPULLUPS to set pullups individually //#define ENDSTOPPULLUP_XMAX //#define ENDSTOPPULLUP_YMAX //#define ENDSTOPPULLUP_ZMAX //#define ENDSTOPPULLUP_XMIN //#define ENDSTOPPULLUP_YMIN //#define ENDSTOPPULLUP_ZMIN //#define ENDSTOPPULLUP_ZMIN_PROBE

endif

// Enable pulldown for all endstops to prevent a floating state //#define ENDSTOPPULLDOWNS

if DISABLED(ENDSTOPPULLDOWNS)

// Disable ENDSTOPPULLDOWNS to set pulldowns individually //#define ENDSTOPPULLDOWN_XMAX //#define ENDSTOPPULLDOWN_YMAX //#define ENDSTOPPULLDOWN_ZMAX //#define ENDSTOPPULLDOWN_XMIN //#define ENDSTOPPULLDOWN_YMIN //#define ENDSTOPPULLDOWN_ZMIN //#define ENDSTOPPULLDOWN_ZMIN_PROBE

endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).

define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.

/**

// Enable this feature if all enabled endstop pins are interrupt-capable. // This will remove the need to poll the interrupt pins, saving many CPU cycles.

define ENDSTOP_INTERRUPTS_FEATURE

/**

//============================================================================= //============================== Movement Settings ============================ //============================================================================= // @section motion

/**

/**

/**

/**

//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2

if ENABLED(LIMITED_MAX_FR_EDITING)

define MAX_FEEDRATE_EDIT_VALUES { 600, 600, 10, 50 } // ...or, set your own edit limits

endif

/**

//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2

if ENABLED(LIMITED_MAX_ACCEL_EDITING)

define MAX_ACCEL_EDIT_VALUES { 6000, 6000, 200, 20000 } // ...or, set your own edit limits

endif

/**

/**

define DEFAULT_EJERK 5.0 // May be used by Linear Advance

/**

/**

//=========================================================================== //============================= Z Probe Options ============================= //=========================================================================== // @section probes

// // See http://marlinfw.org/docs/configuration/probes.html //

/**

/**

/**

/**

/**

/**

/**

/**

// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN) //#define SOLENOID_PROBE

// A sled-mounted probe like those designed by Charles Bell. //#define Z_PROBE_SLED //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.

// A probe deployed by moving the x-axis, such as the Wilson II's rack-and-pinion probe designed by Marty Rice. //#define RACK_AND_PINION_PROBE

if ENABLED(RACK_AND_PINION_PROBE)

define Z_PROBE_DEPLOY_X X_MIN_POS

define Z_PROBE_RETRACT_X X_MAX_POS

endif

// // For Z_PROBE_ALLEN_KEY see the Delta example configurations. //

/**

// Certain types of probes need to stay away from edges

define MIN_PROBE_EDGE 10

// X and Y axis travel speed (mm/m) between probes

define XY_PROBE_SPEED 80000

// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)

define Z_PROBE_SPEED_FAST HOMING_FEEDRATE_Z

// Feedrate (mm/m) for the "accurate" probe of each point

define Z_PROBE_SPEED_SLOW (Z_PROBE_SPEED_FAST / 2)

/**

/**

define Z_PROBE_LOW_POINT -2 // Farthest distance below the trigger-point to go before stopping

// For M851 give a range for adjusting the Z probe offset

define Z_PROBE_OFFSET_RANGE_MIN -20

define Z_PROBE_OFFSET_RANGE_MAX 20

// Enable the M48 repeatability test to test probe accuracy //#define Z_MIN_PROBE_REPEATABILITY_TEST

// Before deploy/stow pause for user confirmation //#define PAUSE_BEFORE_DEPLOY_STOW

if ENABLED(PAUSE_BEFORE_DEPLOY_STOW)

//#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe

endif

/**

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 // :{ 0:'Low', 1:'High' }

define X_ENABLE_ON 0

define Y_ENABLE_ON 0

define Z_ENABLE_ON 0

define E_ENABLE_ON 0 // For all extruders

// Disables axis stepper immediately when it's not being used. // WARNING: When motors turn off there is a chance of losing position accuracy!

define DISABLE_X false

define DISABLE_Y false

define DISABLE_Z false

// Warn on display about possibly reduced accuracy //#define DISABLE_REDUCED_ACCURACY_WARNING

// @section extruder

define DISABLE_E false // For all extruders

//#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled

// @section machine

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.

define INVERT_X_DIR true

define INVERT_Y_DIR true

define INVERT_Z_DIR false

// @section extruder

// For direct drive extruder v9 set to true, for geared extruder set to false.

define INVERT_E0_DIR true

define INVERT_E1_DIR false

define INVERT_E2_DIR false

define INVERT_E3_DIR false

define INVERT_E4_DIR false

define INVERT_E5_DIR false

// @section homing

//#define NO_MOTION_BEFORE_HOMING // Inhibit movement until all axes have been homed

//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.

//#define Z_HOMING_HEIGHT 4 // (mm) Minimal Z height before homing (G28) for Z clearance above the bed, clamps, ... // Be sure you have this distance over your Z_MAX_POS in case.

// Direction of endstops when homing; 1=MAX, -1=MIN // :[-1,1]

define X_HOME_DIR -1

define Y_HOME_DIR -1

define Z_HOME_DIR -1

// @section machine

// The size of the print bed

define X_BED_SIZE 235

define Y_BED_SIZE 235

// Travel limits (mm) after homing, corresponding to endstop positions.

define X_MIN_POS 0

define Y_MIN_POS 0

define Z_MIN_POS 0

define X_MAX_POS X_BED_SIZE

define Y_MAX_POS Y_BED_SIZE

define Z_MAX_POS 250

/**

// Min software endstops constrain movement within minimum coordinate bounds

define MIN_SOFTWARE_ENDSTOPS

if ENABLED(MIN_SOFTWARE_ENDSTOPS)

define MIN_SOFTWARE_ENDSTOP_X

define MIN_SOFTWARE_ENDSTOP_Y

define MIN_SOFTWARE_ENDSTOP_Z

endif

// Max software endstops constrain movement within maximum coordinate bounds

define MAX_SOFTWARE_ENDSTOPS

if ENABLED(MAX_SOFTWARE_ENDSTOPS)

define MAX_SOFTWARE_ENDSTOP_X

define MAX_SOFTWARE_ENDSTOP_Y

define MAX_SOFTWARE_ENDSTOP_Z

endif

if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)

//#define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD

endif

/**

//=========================================================================== //=============================== Bed Leveling ============================== //=========================================================================== // @section calibrate

/**

/**

/**

if ANY(MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, AUTO_BED_LEVELING_UBL)

// Gradually reduce leveling correction until a set height is reached, // at which point movement will be level to the machine's XY plane. // The height can be set with M420 Z

define ENABLE_LEVELING_FADE_HEIGHT

// For Cartesian machines, instead of dividing moves on mesh boundaries, // split up moves into short segments like a Delta. This follows the // contours of the bed more closely than edge-to-edge straight moves.

define SEGMENT_LEVELED_MOVES

define LEVELED_SEGMENT_LENGTH 5.0 // (mm) Length of all segments (except the last one)

/**

endif

if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)

// Set the number of grid points per dimension.

define GRID_MAX_POINTS_X 3

define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

// Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST

if ENABLED(AUTO_BED_LEVELING_BILINEAR)

// Beyond the probed grid, continue the implied tilt?
// Default is to maintain the height of the nearest edge.
//#define EXTRAPOLATE_BEYOND_GRID

//
// Experimental Subdivision of the grid by Catmull-Rom method.
// Synthesizes intermediate points to produce a more detailed mesh.
//
//#define ABL_BILINEAR_SUBDIVISION
#if ENABLED(ABL_BILINEAR_SUBDIVISION)
  // Number of subdivisions between probe points
  #define BILINEAR_SUBDIVISIONS 3
#endif

endif

elif ENABLED(AUTO_BED_LEVELING_UBL)

//=========================================================================== //========================= Unified Bed Leveling ============================ //===========================================================================

//#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh

define MESH_INSET 1 // Set Mesh bounds as an inset region of the bed

define GRID_MAX_POINTS_X 10 // Don't use more than 15 points per axis, implementation limited.

define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

define UBL_MESH_EDIT_MOVES_Z // Sophisticated users prefer no movement of nozzle

define UBL_SAVE_ACTIVE_ON_M500 // Save the currently active mesh in the current slot on M500

//#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5 // When the nozzle is off the mesh, this value is used // as the Z-Height correction value.

elif ENABLED(MESH_BED_LEVELING)

//=========================================================================== //=================================== Mesh ================================== //===========================================================================

define MESH_INSET 10 // Set Mesh bounds as an inset region of the bed

define GRID_MAX_POINTS_X 3 // Don't use more than 7 points per axis, implementation limited.

define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X

//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS

endif // BED_LEVELING

/**

if ENABLED(LCD_BED_LEVELING)

define MESH_EDIT_Z_STEP 0.025 // (mm) Step size while manually probing Z axis.

define LCD_PROBE_Z_RANGE 4 // (mm) Z Range centered on Z_MIN_POS for LCD Z adjustment

//#define MESH_EDIT_MENU // Add a menu to edit mesh points

endif

// Add a menu item to move between bed corners for manual bed adjustment //#define LEVEL_BED_CORNERS

if ENABLED(LEVEL_BED_CORNERS)

define LEVEL_CORNERS_INSET 30 // (mm) An inset for corner leveling

define LEVEL_CORNERS_Z_HOP 4.0 // (mm) Move nozzle up before moving between corners

define LEVEL_CORNERS_HEIGHT 0.0 // (mm) Z height of nozzle at leveling points

//#define LEVEL_CENTER_TOO // Move to the center after the last corner

endif

/**

// @section homing

// The center of the bed is at (X=0, Y=0) //#define BED_CENTER_AT_0_0

// Manually set the home position. Leave these undefined for automatic settings. // For DELTA this is the top-center of the Cartesian print volume. //#define MANUAL_X_HOME_POS 0 //#define MANUAL_Y_HOME_POS 0 //#define MANUAL_Z_HOME_POS 0

// Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area. // // With this feature enabled: // // - Allow Z homing only after X and Y homing AND stepper drivers still enabled. // - If stepper drivers time out, it will need X and Y homing again before Z homing. // - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28). // - Prevent Z homing when the Z probe is outside bed area. //

define Z_SAFE_HOMING

if ENABLED(Z_SAFE_HOMING)

define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).

define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).

endif

// Homing speeds (mm/m)

define HOMING_FEEDRATE_XY (20*300)

define HOMING_FEEDRATE_Z (5*600)

// Validate that endstops are triggered on homing moves

define VALIDATE_HOMING_ENDSTOPS

// @section calibrate

/**

if ENABLED(SKEW_CORRECTION)

// Input all length measurements here:

define XY_DIAG_AC 282.8427124746

define XY_DIAG_BD 282.8427124746

define XY_SIDE_AD 200

// Or, set the default skew factors directly here // to override the above measurements:

define XY_SKEW_FACTOR 0.0

//#define SKEW_CORRECTION_FOR_Z

if ENABLED(SKEW_CORRECTION_FOR_Z)

#define XZ_DIAG_AC 282.8427124746
#define XZ_DIAG_BD 282.8427124746
#define YZ_DIAG_AC 282.8427124746
#define YZ_DIAG_BD 282.8427124746
#define YZ_SIDE_AD 200
#define XZ_SKEW_FACTOR 0.0
#define YZ_SKEW_FACTOR 0.0

endif

// Enable this option for M852 to set skew at runtime //#define SKEW_CORRECTION_GCODE

endif

//============================================================================= //============================= Additional Features =========================== //=============================================================================

// @section extras

/**

// // Host Keepalive // // When enabled Marlin will send a busy status message to the host // every couple of seconds when it can't accept commands. //

define HOST_KEEPALIVE_FEATURE // Disable this if your host doesn't like keepalive messages

define DEFAULT_KEEPALIVE_INTERVAL 2 // Number of seconds between "busy" messages. Set with M113.

define BUSY_WHILE_HEATING // Some hosts require "busy" messages even during heating

// // M100 Free Memory Watcher // //#define M100_FREE_MEMORY_WATCHER // Add M100 (Free Memory Watcher) to debug memory usage

// // G20/G21 Inch mode support // //#define INCH_MODE_SUPPORT

// // M149 Set temperature units support // //#define TEMPERATURE_UNITS_SUPPORT

// @section temperature

// Preheat Constants

define PREHEAT_1_LABEL "PLA"

define PREHEAT_1_TEMP_HOTEND 185

define PREHEAT_1_TEMP_BED 45

define PREHEAT_1_FAN_SPEED 255 // Value from 0 to 255

define PREHEAT_2_LABEL "ABS"

define PREHEAT_2_TEMP_HOTEND 240

define PREHEAT_2_TEMP_BED 0

define PREHEAT_2_FAN_SPEED 255 // Value from 0 to 255

/**

if ENABLED(NOZZLE_PARK_FEATURE)

// Specify a park position as { X, Y, Z_raise }

define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }

define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis)

define NOZZLE_PARK_Z_FEEDRATE 5 // (mm/s) Z axis feedrate (not used for delta printers)

endif

/**

if ENABLED(NOZZLE_CLEAN_FEATURE)

// Default number of pattern repetitions

define NOZZLE_CLEAN_STROKES 12

// Default number of triangles

define NOZZLE_CLEAN_TRIANGLES 3

// Specify positions as { X, Y, Z }

define NOZZLE_CLEAN_START_POINT { 30, 30, (Z_MIN_POS + 1) }

define NOZZLE_CLEAN_END_POINT { 100, 60, (Z_MIN_POS + 1) }

// Circular pattern radius

define NOZZLE_CLEAN_CIRCLE_RADIUS 6.5

// Circular pattern circle fragments number

define NOZZLE_CLEAN_CIRCLE_FN 10

// Middle point of circle

define NOZZLE_CLEAN_CIRCLE_MIDDLE N

WilliamHarned commented 4 years ago

On Thu, Oct 24, 2019 at 5:59 PM Brad Harned harned.brad@gmail.com wrote:

On Thu, Oct 24, 2019 at 11:59 AM Brad Harned harned.brad@gmail.com wrote:

David, I'm at work right now but I will get that to you when I get home. Did you install git? https://git-scm.com/downloads

On Thu, Oct 24, 2019 at 11:47 AM meltonpieman notifications@github.com wrote:

Hi William re

I got it to work by running vsc as an administrator. Right-click on the icon and click run as admin. … <#m_-8046617318251380143m-402608059743745954m-3454582288821006061_>

Just tried it - no change. I have compared my platformio.ini and config.h with the latest BTT readme and it all matches. I am at a loss. I get the following warning messages (yellow) in the Terminal: FileNotFoundError: [Errno 2] No such file or directory: 'f:\00 3D PRINTING\3 ENDER 3 pro\SKR mini E3\0 BTT stuff board ver 1.2\github\BIGTREETECH-SKR-MINI-E3-v1.2-with-BLT-endstop.pio\libdeps\STM32F103RC_bigtree_tmp_installing-vfds7bdr-package\U8glib-HAL-bugfix\src\clib\HAL_example_files\LCD_I2C_routines.c.example': File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\main.py", line 126: env.SConscript("$BUILD_SCRIPT") File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 605: return _SConscript(self.fs, *files, subst_kw) File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\users\exken.platformio\platforms\ststm32\builder\main.py", line 91: target_elf = env.BuildProgram() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, *kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 122: _build_project_deps(env) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 47: project_lib_builder = env.ConfigureProjectLibBuilder() File "C:\Users\exken.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(nargs, kwargs) File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1043: project.install_dependencies() File "C:\users\exken.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 878: lm.install(uri) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 359: force=force) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 701: track=True) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 483: self.unpack(dlpath, tmp_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\managers\package.py", line 218: return fu.unpack(dest_dir, with_progress=False) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 118: self._unpacker.extract_item(item, dest_dir) File "c:\users\exken.platformio\penv\lib\site-packages\platformio\unpacker.py", line 38: self._afo.extract(item, dest_dir) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1602: return self._extract_member(member, path, pwd) File "C:\Users\exken.platformio\python37\Lib\zipfile.py", line 1673: open(targetpath, "wb") as target:

Do you get similar messages? Am I missing something basic about getting the missing file in place? Could you send me a text copy of your platformio.ini so that I can compare it with mine?

David

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/56?email_source=notifications&email_token=ANRDLO6LYH7HWHXLG46WEHTQQG7S7A5CNFSM4JDHAMFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECFQFIY#issuecomment-545981091, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANRDLOZ4V2LERK6CZQBXEI3QQG7S7ANCNFSM4JDHAMFA .

#

Marlin Firmware

PlatformIO Configuration File

#

For detailed documentation with EXAMPLES:

#

http://docs.platformio.org/en/latest/projectconf.html

#

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 default_envs = STM32F103RC_bigtree

[common] default_src_filter = +<src/*> -<src/config> -<src/HAL> +<src/HAL/shared> extra_scripts = pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py build_flags = -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ lib_deps = U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip LiquidCrystal@1.3.4

TMCStepper@>=0.5.0,<1.0.0

https://github.com/bigtreetech/TMCStepper

Adafruit NeoPixel@1.2.5

https://github.com/bigtreetech/Adafruit_NeoPixel LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip SailfishRGB_LED=https://github.com/mikeshub/SailfishRGB_LED/archive/master.zip SlowSoftI2CMaster=https://github.com/mikeshub/SlowSoftI2CMaster/archive/master.zip

#################################

Unique Core Architectures

Add a new "env" below if no

entry has values suitable to

build for a given board.

#################################

#

ATmega2560

# [env:megaatmega2560] platform = atmelavr framework = arduino board = megaatmega2560 build_flags = ${common.build_flags} 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/HAL_AVR> monitor_speed = 250000

#

ATmega1280

# [env:megaatmega1280] platform = atmelavr framework = arduino board = megaatmega1280 build_flags = ${common.build_flags} 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/HAL_AVR> monitor_speed = 250000

#

AT90USB1286 boards using CDC bootloader

- BRAINWAVE

- BRAINWAVE_PRO

- SAV_MKI

- TEENSYLU

# [env:at90usb1286_cdc] platform = teensy framework = arduino board = at90usb1286 build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> monitor_speed = 250000

#

AT90USB1286 boards using DFU bootloader

- PrintrBoard

- PrintrBoard Rev.F

- ? 5DPRINT ?

# [env:at90usb1286_dfu] platform = teensy framework = arduino board = at90usb1286 build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> monitor_speed = 250000

#

Due (Atmel SAM3X8E ARM Cortex-M3)

#

- RAMPS4DUE

- RADDS

# [env:DUE] platform = atmelsam framework = arduino board = due build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE> monitor_speed = 250000 [env:DUE_USB] platform = atmelsam framework = arduino board = dueUSB build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE> monitor_speed = 250000 [env:DUE_debug]

Used when WATCHDOG_RESET_MANUAL is enabled

platform = atmelsam framework = arduino board = due build_flags = ${common.build_flags} -funwind-tables -mpoke-function-name lib_deps = ${common.lib_deps} src_filter = ${common.default_src_filter} +<src/HAL/HAL_DUE> monitor_speed = 250000

#

NXP LPC176x ARM Cortex-M3

# [env:LPC1768] platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip framework = arduino board = nxp_lpc1768 build_flags = -DTARGET_LPC1768 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}

debug options for backtrace

-funwind-tables

-mpoke-function-name

lib_ldf_mode = off lib_compat_mode = strict extra_scripts = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py src_filter = ${common.default_src_filter} +<src/HAL/HAL_LPC1768> monitor_speed = 250000 lib_deps = Servo LiquidCrystal U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip TMCStepper@>=0.5.0,<1.0.0 Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/master.zip SailfishLCD=https://github.com/mikeshub/SailfishLCD/archive/master.zip

[env:LPC1769] platform = https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip framework = arduino board = nxp_lpc1769 build_flags = -DTARGET_LPC1768 -DLPC1769 -DU8G_HAL_LINKS -IMarlin/src/HAL/HAL_LPC1768/include -IMarlin/src/HAL/HAL_LPC1768/u8g ${common.build_flags}

debug options for backtrace

-funwind-tables

-mpoke-function-name

lib_ldf_mode = off lib_compat_mode = strict extra_scripts = Marlin/src/HAL/HAL_LPC1768/upload_extra_script.py src_filter = ${common.default_src_filter} +<src/HAL/HAL_LPC1768> monitor_speed = 250000 lib_deps = Servo LiquidCrystal U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip TMCStepper@>=0.5.0,<1.0.0 Adafruit NeoPixel=https://github.com/p3p/Adafruit_NeoPixel/archive/master.zip

#

Melzi and clones (ATmega1284p)

# [env:melzi] platform = atmelavr framework = arduino board = sanguino_atmega1284p build_flags = ${common.build_flags} -fmerge-all-constants upload_speed = 57600 lib_deps = ${common.lib_deps} lib_ignore = TMCStepper src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> monitor_speed = 250000

#

Melzi and clones (Optiboot bootloader)

# [env:melzi_optiboot] platform = atmelavr framework = arduino board = sanguino_atmega1284p build_flags = ${common.build_flags} upload_speed = 115200 lib_deps = ${common.lib_deps} lib_ignore = TMCStepper src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> monitor_speed = 250000

#

RAMBo

# [env:rambo] platform = atmelavr framework = arduino board = reprap_rambo build_flags = ${common.build_flags} 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/HAL_AVR> monitor_speed = 250000

#

Sanguinololu (ATmega644p)

# [env:sanguino_atmega644p] platform = atmelavr framework = arduino board = sanguino_atmega644p build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> monitor_speed = 250000

#

Sanguinololu (ATmega1284p)

# [env:sanguino_atmega1284p] platform = atmelavr framework = arduino board = sanguino_atmega1284p build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip src_filter = ${common.default_src_filter} +<src/HAL/HAL_AVR> monitor_speed = 250000

#

STM32F103RE

# [env:STM32F103RE] platform = ststm32 framework = arduino board = genericSTM32F103RE build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 -DDEBUG_LEVEL=0 build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> monitor_speed = 250000

#

STM32F103RC_fysetc

# [env:STM32F103RC_fysetc] platform = ststm32 framework = arduino board = genericSTM32F103RC

board_build.core = maple

platform_packages = tool-stm32duino extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_fysetc.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 -DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} SoftwareSerialM=https://github.com/FYSETC/SoftwareSerialM/archive/master.zip lib_ignore = Adafruit NeoPixel, SPI lib_ldf_mode = chain src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> monitor_speed = 250000 debug_tool = stlink upload_protocol = serial

#

BigTree SKR Mini V1.1 / SKR mini E3 / SKR E3 DIP (STM32F103RCT6 ARM Cortex-M3)

# [env:STM32F103RC_bigtree] platform = ststm32 framework = arduino board = genericSTM32F103RC platform_packages = tool-stm32duino extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -DDEBUG_LEVEL=0 -std=gnu++14 -DHAVE_SW_SERIAL build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} lib_ignore = SPI src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> monitor_speed = 115200 upload_protocol = stlink debug_tool = stlink

[env:STM32F103RC_bigtree_USB] platform = ststm32 framework = arduino board = genericSTM32F103RC platform_packages = tool-stm32duino extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103RC_SKR_MINI.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -DDEBUG_LEVEL=0 -DUSE_USB_COMPOSITE -std=gnu++14 -DHAVE_SW_SERIAL build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} lib_ignore = SPI src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> monitor_speed = 115200 upload_protocol = stlink debug_tool = stlink

#

STM32F4 with STM32GENERIC

# [env:STM32F4] platform = ststm32 framework = arduino board = disco_f407vg build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F4 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, TMCStepper src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7> monitor_speed = 250000

#

STM32F7 with STM32GENERIC

# [env:STM32F7] platform = ststm32 framework = arduino board = remram_v1 build_flags = ${common.build_flags} -DUSE_STM32GENERIC -DSTM32GENERIC -DSTM32F7 -DMENU_USB_SERIAL -DMENU_SERIAL=SerialUSB lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, TMCStepper src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F4> monitor_speed = 250000

#

ARMED (STM32)

# [env:ARMED] platform = ststm32 framework = arduino board = armed_v1 build_flags = ${common.build_flags} -DUSBCON -DUSBD_VID=0x0483 '-DUSB_MANUFACTURER="Unknown"' '-DUSB_PRODUCT="ARMED_V1"' -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants -fno-strict-aliasing -std=gnu11 -std=gnu++11 lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32> monitor_speed = 250000

#

Longer 3D board in Alfawise U20 (STM32F103VET6)

# [env:STM32F103VE_longer] platform = ststm32 framework = arduino board = genericSTM32F103VE monitor_speed = 250000 extra_scripts = buildroot/share/PlatformIO/scripts/STM32F103VE_longer.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 -USERIAL_USB -DSTM32F1xx -DU20 -DTS_V12 build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI

#

MKS Robin (STM32F103ZET6)

# [env:mks_robin] platform = ststm32 framework = arduino board = genericSTM32F103ZE extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 build_unflags = -std=gnu++11 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI

#

MKS ROBIN LITE/LITE2 (STM32F103RCT6)

# [env:mks_robin_lite] platform = ststm32 framework = arduino board = genericSTM32F103RC extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_lite.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 build_unflags = -std=gnu++11 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI

#

MKS Robin Mini (STM32F103VET6)

# [env:mks_robin_mini] platform = ststm32 framework = arduino board = genericSTM32F103VE extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_mini.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 build_unflags = -std=gnu++11 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI

#

MKS Robin Nano (STM32F103VET6)

# [env:mks_robin_nano] platform = ststm32 framework = arduino board = genericSTM32F103VE extra_scripts = buildroot/share/PlatformIO/scripts/mks_robin_nano.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -std=gnu++14 build_unflags = -std=gnu++11 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI

#

JGAurora A5S A1 (STM32F103ZET6)

# [env:jgaurora_a5s_a1] platform = ststm32 framework = arduino board = genericSTM32F103ZE extra_scripts = buildroot/share/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py ${common.build_flags} -DSTM32F1xx -std=gnu++14 build_unflags = -std=gnu++11 src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1> lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SPI monitor_speed = 250000

#

STM32F407VET6 with RAMPS-like shield

'Black' STM32F407VET6 board - http://wiki.stm32duino.com/index.php?title=STM32F407

Shield - https://github.com/jmz52/Hardware

# [env:STM32F407VE_black] platform = ststm32@5.4.3 framework = arduino board = blackSTM32F407VET6 extra_scripts = pre:buildroot/share/PlatformIO/scripts/black_stm32f407vet6.py build_flags = ${common.build_flags} -DSTM32F4 -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"BLACK_F407VE\" lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, TMCStepper, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32> monitor_speed = 250000

#

Bigtreetech SKR Pro (STM32F407ZGT6 ARM Cortex-M4)

# [env:BIGTREE_SKR_PRO] platform = ststm32 framework = arduino board = BigTree_SKR_Pro extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py build_flags = ${common.build_flags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407ZG\" -DTARGET_STM32F4 -DSTM32F407_5ZX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL6 lib_deps = U8glib-HAL=https://github.com/MarlinFirmware/U8glib-HAL/archive/bugfix.zip LiquidCrystal@1.3.4 TMCStepper@>=0.5.0,<1.0.0 Adafruit NeoPixel LiquidTWI2=https://github.com/lincomatic/LiquidTWI2/archive/master.zip Arduino-L6470=https://github.com/ameyer/Arduino-L6470/archive/dev.zip src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32> monitor_speed = 250000

#

BIGTREE_SKR_BTT002 (STM32F407VET6 ARM Cortex-M4)

# [env:BIGTREE_BTT002] platform = ststm32 framework = arduino board = BigTree_Btt002 extra_scripts = pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py build_flags = ${common.build_flags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID=0x0483 -DUSB_PRODUCT=\"STM32F407VE\" -DTARGET_STM32F4 -DSTM32F407_5VX -DVECT_TAB_OFFSET=0x8000 -DHAVE_HWSERIAL2 -DHAVE_HWSERIAL3 -DPIN_SERIAL2_RX=PD_6 -DPIN_SERIAL2_TX=PD_5 lib_deps = ${common.lib_deps} lib_ignore = Adafruit NeoPixel, SailfishLCD, SailfishRGB_LED, SlowSoftI2CMaster src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32> monitor_speed = 250000

#

Teensy 3.1 / 3.2 (ARM Cortex-M4)

# [env:teensy31] platform = teensy framework = arduino board = teensy31 build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip lib_ignore = Adafruit NeoPixel src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY31_32> monitor_speed = 250000

#

Teensy 3.5 / 3.6 (ARM Cortex-M4)

# [env:teensy35] platform = teensy framework = arduino board = teensy35 build_flags = ${common.build_flags} lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip lib_ignore = Adafruit NeoPixel src_filter = ${common.default_src_filter} +<src/HAL/HAL_TEENSY35_36> monitor_speed = 250000

#

Malyan M200 (STM32F103CB)

# [env:STM32F103CB_malyan] platform = ststm32 framework = arduino board = malyanM200 build_flags = !python Marlin/src/HAL/HAL_STM32F1/build_flags.py -DMCU_STM32F103CB -D STM32F1=1 -std=c++1y -D MOTHERBOARD="BOARD_MALYAN_M200" -DSERIAL_USB -ffunction-sections -fdata-sections -Wl,--gc-sections -DDEBUG_LEVEL=0 -D__MARLIN_FIRMWARE__ src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>

-

lib_ignore = Adafruit NeoPixel, LiquidCrystal, LiquidTWI2, TMCStepper, U8glib-HAL, SPI

#

Espressif ESP32

# [env:esp32] platform = espressif32 board = esp32dev framework = arduino upload_speed = 115200 monitor_speed = 115200 upload_port = /dev/ttyUSB0 lib_deps = AsyncTCP=https://github.com/me-no-dev/AsyncTCP/archive/master.zip ESPAsyncWebServer=https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip lib_ignore = LiquidCrystal, LiquidTWI2, SailfishLCD, SailfishRGB_LED src_filter = ${common.default_src_filter} +<src/HAL/HAL_ESP32>

#

FYSETC F6 V1.3

# [env:fysetc_f6_13] platform = atmelavr framework = arduino board = fysetc_f6_13 build_flags = ${common.build_flags} 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/HAL_AVR> monitor_speed = 250000

#

Native

No supported Arduino libraries, base Marlin only

# [env:linux_native] platform = native build_flags = -DPLAT_LINUX -std=gnu++17 -ggdb -g -lrt -lpthread -DMARLIN_FIRMWARE -Wno-expansion-to-defined src_build_flags = -Wall -IMarlin/src/HAL/HAL_LINUX/include build_unflags = -Wall lib_ldf_mode = off lib_deps = extra_scripts = src_filter = ${common.default_src_filter} +<src/HAL/HAL_LINUX>

#

Adafruit Grand Central M4 (Atmel SAMD51P20A ARM Cortex-M4)

# [env:SAMD51_grandcentral_m4] platform = atmelsam board = adafruit_grandcentral_m4 framework = arduino build_flags = ${common.build_flags} -std=gnu++17 extra_scripts = ${common.extra_scripts} build_unflags = -std=gnu++11 lib_deps = ${common.lib_deps} src_filter = ${common.default_src_filter} +<src/HAL/HAL_SAMD51> debug_tool = jlink

#

Just print the dependency tree

# [env:include_tree] platform = atmelavr framework = arduino board = megaatmega2560 build_flags = -c -H -std=gnu++11 -Wall -Os -D__MARLIN_FIRMWARE__ lib_deps = ${common.lib_deps} TMC26XStepper=https://github.com/trinamic/TMC26XStepper/archive/master.zip src_filter = +<src/Marlin.cpp>

k6115907 commented 4 years ago

I have a similar error also... Git installed ofc.

FileNotFoundError: [Errno 2] No such file or directory: 'c:\Users\tsaou\Desktop\BIGTREETECH-SKR-mini-E3-master\BIGTREETECH-SKR-mini-E3-master\firmware\V1.2\Marlin-2.0.x-SKR-Mini-E3-V1.2\.pio\libdeps\STM32F103RC_bigtree\_tmp_installing-najsf86d-package\U8glib-HAL-bugfix\src\clib\HAL_example_files\LCD_I2C_routines.c.example': File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\builder\main.py", line 126: env.SConscript("$BUILD_SCRIPT") File "C:\Users\tsaou.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 605: return _SConscript(self.fs, *files, subst_kw) File "C:\Users\tsaou.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 286: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\Users\tsaou.platformio\platforms\ststm32\builder\main.py", line 91: target_elf = env.BuildProgram() File "C:\Users\tsaou.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(*nargs, *kwargs) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 122: _build_project_deps(env) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 47: project_lib_builder = env.ConfigureProjectLibBuilder() File "C:\Users\tsaou.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224: return self.method(nargs, kwargs) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1043: project.install_dependencies() File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 878: lm.install(uri) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 359: force=force) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\managers\package.py", line 701: track=True) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\managers\package.py", line 483: self.unpack(dlpath, tmp_dir) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\managers\package.py", line 218: return fu.unpack(dest_dir, with_progress=False) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\unpacker.py", line 118: self._unpacker.extract_item(item, dest_dir) File "C:\Users\tsaou.platformio\penv\lib\site-packages\platformio\unpacker.py", line 38: self._afo.extract(item, dest_dir) File "C:\Users\tsaou.platformio\python37\lib\zipfile.py", line 1602: return self._extract_member(member, path, pwd) File "C:\Users\tsaou.platformio\python37\lib\zipfile.py", line 1673: open(targetpath, "wb") as target:

k6115907 commented 4 years ago

Guys I found to solution. I move my project to a folder in C: named compile. and it just workd. probably it has a problem if the location of the project is in Desktop.

kubik256 commented 4 years ago

Guys I found to solution. I move my project to a folder in C: named compile. and it just workd. probably it has a problem if the location of the project is in Desktop.

This isn't problem with Desktop folder but with full-path length for all source files. E.g.: C:\Users\very-long-named-user\Desktop\Marlin-bugfix-2.0.x\Marlin\src\gcode........

So, keep base folder path as short as possible!!! Also do not compile Marlin inside OneDrive folder unless sync is turned off, that also doesn't work ;) Obviously, if you have Desktop synced with OneDrive that will not work too.

meltonpieman commented 4 years ago

Thank you William for the file copy and k6115907 and kubik256. Moved my project from 4 layers down in my F: drive partition to a new directory in the root C:/ directory and it compiled ....... such a simple solution! The wonders of technology.

space-commits commented 4 years ago

Nothing in this thread worked for me

damvcoool commented 4 years ago

Nothing in this thread worked for me

Which firmware are you trying to compile? and what error are you getting?

lamosca01 commented 4 years ago

Thank you k6115907 I was able compile after so many failed attempts.

Rubberduck84 commented 4 years ago

Thank you k6115907 its works for me also