Open WilliamHarned opened 4 years ago
https://github.com/MarlinFirmware/Marlin/issues/15514 This solved the problem for me:)!
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 ;)
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 .
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.
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
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.
For me it was
not -> default_envs = STM32F103RC_bigtree should be -> env_default = STM32F103RC_bigtree
It did not work for me!
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 .
Hi William re
I got it to work by running vsc as an administrator. Right-click on the icon and click run as admin. …
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
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 .
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
/**
// Show the Marlin bootscreen on startup. ENABLE FOR PRODUCTION
// 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
// Name displayed in the LCD "Ready" message and Info menu
// 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]
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
// For Cyclops or any "multi-extruder" that shares a single nozzle. //#define SINGLENOZZLE
/**
// Override the default DIO selector pins here, if needed. // Some pins files may provide defaults for these pins. //#define E_MUX0_PIN 40 // Always Required //#define E_MUX1_PIN 42 // Needed for 3 to 8 inputs //#define E_MUX2_PIN 44 // Needed for 5 to 8 inputs
/**
// A dual extruder that uses a single stepper motor //#define SWITCHING_EXTRUDER
#define SWITCHING_EXTRUDER_E23_SERVO_NR 1
// A dual-nozzle that uses a servomotor to raise/lower one (or both) of the nozzles //#define SWITCHING_NOZZLE
//#define SWITCHING_NOZZLE_E1_SERVO_NR 1 // If two servos are used, the index of the second
/**
/**
//#define MANUAL_SOLENOID_CONTROL // Manual control of docking solenoids with M380 S / M381
#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
#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
/**
/**
/**
#define SWITCHING_TOOLHEAD_SERVO_NR 2 // Index of the servo connector
#define SWITCHING_TOOLHEAD_SERVO_ANGLES { 0, 180 } // (degrees) Angles for Lock, Unlock
#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
#define SWITCHING_TOOLHEAD_Z_HOP 2 // (mm) Z raise for switching
/**
//#define DIRECT_MIXING_IN_G1 // Allow ABCDHI mix factors in G1 movement commands //#define GRADIENT_MIX // Support for gradient mixing with M166 and LCD
//#define GRADIENT_VTOOL // Add M166 T to use a V-tool index as a Gradient alias
// 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
/**
//#define PS_DEFAULT_OFF // Keep power off until enabled directly with M80
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
#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
// @section temperature
//=========================================================================== //============================= Thermal Settings ============================ //===========================================================================
/**
// Dummy thermistor constant temperature readings, for use with 998 and 999
// 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
// Below this temperature the heater will be switched off // because it probably indicates a broken thermistor wire.
// 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.)
//=========================================================================== //============================= PID Settings ================================ //=========================================================================== // PID Tuning Guide here: http://reprap.org/wiki/PID_Tuning
// Comment the following line to disable PID and enable bang-bang.
//#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]
// 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
// 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
//=========================================================================== //====================== PID > Bed Temperature Control ====================== //===========================================================================
/**
//#define BED_LIMIT_SWITCHING
/**
//#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)
//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.
// @section extruder
/**
/**
//=========================================================================== //======================== Thermal Runaway Protection ======================= //===========================================================================
/**
//=========================================================================== //============================= 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_XMAX_PLUG //#define USE_YMAX_PLUG //#define USE_ZMAX_PLUG
// Enable pullup for all endstops to prevent a floating state
// 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
// Enable pulldown for all endstops to prevent a floating state //#define 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
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
/**
//#define X2_DRIVER_TYPE A4988 //#define Y2_DRIVER_TYPE A4988 //#define Z2_DRIVER_TYPE A4988 //#define Z3_DRIVER_TYPE A4988
//#define E1_DRIVER_TYPE A4988 //#define E2_DRIVER_TYPE A4988 //#define E3_DRIVER_TYPE A4988 //#define E4_DRIVER_TYPE A4988 //#define E5_DRIVER_TYPE A4988
// 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.
/**
//============================================================================= //============================== Movement Settings ============================ //============================================================================= // @section motion
/**
/**
/**
/**
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
/**
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
/**
/**
value set here, it may happen instantaneously. */ //#define CLASSIC_JERK
//#define LIMITED_JERK_EDITING // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
/**
/**
//=========================================================================== //============================= Z Probe Options ============================= //=========================================================================== // @section probes
// // See http://marlinfw.org/docs/configuration/probes.html //
/**
/**
*/ //#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default
/**
/**
/**
/**
/**
/**
//#define TOUCH_MI_DEPLOY_XPOS (X_MAX_BED + 2) // For a magnet on the right side of the bed //#define TOUCH_MI_MANUAL_DEPLOY // For manual deploy (LCD menu)
// 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
// // For Z_PROBE_ALLEN_KEY see the Delta example configurations. //
/**
// Certain types of probes need to stay away from edges
// X and Y axis travel speed (mm/m) between probes
// Feedrate (mm/m) for the first approach when double-probing (MULTIPLE_PROBING == 2)
// Feedrate (mm/m) for the "accurate" probe of each point
/**
/**
M851 Z-5
with a CLEARANCE of 4 => 9mm from bed to nozzle.M851 Z+1
with a CLEARANCE of 2 => 2mm from bed to nozzle.
*/
//#define Z_AFTER_PROBING 5 // Z position after probing is done
// For M851 give a range for adjusting the Z probe offset
// 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
//#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe
/**
//#define WAIT_FOR_BED_HEATER // Wait for bed to heat back up between probes (to improve accuracy)
//#define PROBING_FANS_OFF // Turn fans off when probing //#define PROBING_STEPPERS_OFF // Turn steppers off (unless needed to hold position) when probing //#define DELAY_BEFORE_PROBING 200 // (ms) To prevent vibrations from triggering piezo sensors
// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 // :{ 0:'Low', 1:'High' }
// Disables axis stepper immediately when it's not being used. // WARNING: When motors turn off there is a chance of losing position accuracy!
// Warn on display about possibly reduced accuracy //#define DISABLE_REDUCED_ACCURACY_WARNING
// @section extruder
//#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.
// @section extruder
// For direct drive extruder v9 set to true, for geared extruder set to 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]
// @section machine
// The size of the print bed
// Travel limits (mm) after homing, corresponding to endstop positions.
/**
// Min software endstops constrain movement within minimum coordinate bounds
// Max software endstops constrain movement within maximum coordinate bounds
//#define SOFT_ENDSTOPS_MENU_ITEM // Enable/Disable software endstops from the LCD
/**
By default the firmware assumes HIGH=FILAMENT PRESENT. */ //#define FILAMENT_RUNOUT_SENSOR
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
// Set one or more commands to execute on filament runout. // (After 'M412 H' Marlin will ask the host to handle the process.)
// After a runout is detected, continue printing this length of filament // before executing the runout script. Useful for a sensor at the end of // a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead. //#define FILAMENT_RUNOUT_DISTANCE_MM 25
// Enable this option to use an encoder disc that toggles the runout pin // as the filament moves. (Be sure to set FILAMENT_RUNOUT_DISTANCE_MM // large enough to avoid false positives.) //#define FILAMENT_MOTION_SENSOR
//=========================================================================== //=============================== Bed Leveling ============================== //=========================================================================== // @section calibrate
/**
//#define AUTO_BED_LEVELING_UBL //#define MESH_BED_LEVELING
/**
/**
// 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
// 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.
/**
// Set the number of grid points per dimension.
// Probe along the Y axis, advancing X after each column //#define PROBE_Y_FIRST
// 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
//=========================================================================== //========================= Unified Bed Leveling ============================ //===========================================================================
//#define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh
//#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.
//=========================================================================== //=================================== Mesh ================================== //===========================================================================
//#define MESH_G28_REST_ORIGIN // After homing all axes ('G28' or 'G28 XYZ') rest Z at Z_MIN_POS
/**
//#define MESH_EDIT_MENU // Add a menu to edit mesh points
// Add a menu item to move between bed corners for manual bed adjustment //#define LEVEL_BED_CORNERS
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
/**
// @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. //
// Homing speeds (mm/m)
// Validate that endstops are triggered on homing moves
// @section calibrate
/**
// Input all length measurements here:
// Or, set the default skew factors directly here // to override the above measurements:
//#define 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
// Enable this option for M852 to set skew at runtime //#define SKEW_CORRECTION_GCODE
//============================================================================= //============================= Additional Features =========================== //=============================================================================
// @section extras
/**
//#define DISABLE_M503 // Saves ~2700 bytes of PROGMEM. Disable for release!
//#define EEPROM_AUTO_INIT // Init EEPROM automatically on any errors.
// // Host Keepalive // // When enabled Marlin will send a busy status message to the host // every couple of seconds when it can't accept commands. //
// // 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
/**
// Specify a park position as { X, Y, Z_raise }
/**
*/ //#define NOZZLE_CLEAN_FEATURE
// Default number of pattern repetitions
// Default number of triangles
// Specify positions as { X, Y, Z }
// Circular pattern radius
// Circular pattern circle fragments number
// Middle point of circle
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 .
#
#
#
#
#
#
[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
https://github.com/bigtreetech/TMCStepper
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
#################################
#################################
#
# [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
#
# [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
#
# [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
#
# [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
#
#
# [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]
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
#
# [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}
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}
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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [env:STM32F103RC_fysetc] platform = ststm32 framework = arduino board = genericSTM32F103RC
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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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
#
# [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>
#
# [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
#
# [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>
#
# [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
#
# [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>
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:
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.
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.
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.
Nothing in this thread worked for me
Nothing in this thread worked for me
Which firmware are you trying to compile? and what error are you getting?
Thank you k6115907 I was able compile after so many failed attempts.
Thank you k6115907 its works for me also