Platformio does not like something in your path to the Marlin source often non English characters or spaces or ' charater in the path will confuse platformio.by Dust - Firmware - Marlin
Marlin already has a cooler function, but it does not use pid, it uses a simple hysteresis loop. Marlin is community driven, there a very few actual plans, someone wants something and has the skills to add it simply adds itby Dust - Developers
It was renamed. #elif defined(X_PROBE_OFFSET_FROM_EXTRUDER) || defined(Y_PROBE_OFFSET_FROM_EXTRUDER) || defined(Z_PROBE_OFFSET_FROM_EXTRUDER) #error "_PROBE_OFFSET_FROM_EXTRUDER is now NOZZLE_TO_PROBE_OFFSET." Z Not moving at all is generally your config has told marlin to look in at the wrong port. If probe is plugged into the 5 pin probe port you need this in your configuration.h //#defiby Dust - Firmware - Marlin
covert voltages 0-5v to adc values 0-1023 ie voltage * (1023/5) and round the results to nearest Integer eg constexpr temp_entry_t temptable_1[] PROGMEM = { { OV( 130 ), 70 }, { OV( 161 ), 65 }, { OV( 192 ), 60 }, { OV( 223 ), 50 }, { OV( 285 ), 45 }, { OV( 318 ), 40 }, { OV( 356 ), 35 }, { OV( 393 ), 30 }, { OV( 435 ), 25 }, { OV( 495 ), 20 }, { OV( 589 ), 15 }, { OV( 633 )by Dust - Developers
You need to research your board... Note: Controllable fan: 1, Uncontrollable fans: 3 There is no software control over fan 3 There are very few free pin on this board that are broken out So what things are you not using? for eg if your not using Extruder 2, there are 3 IO lines you can get access to there...by Dust - General
You need to generate your own thermistor table Use the script buildroot/share/scripts/createTemperatureLookupMarlin.pyby Dust - Developers
a) pio check "Perform static analysis check on PlatformIO based project. By default Cppcheck analysis tool is used." this has nothing to do with building the firmware normally. Most of these static analysis tools are not up to the task of doing anything useful in marlin use pio run, or even better use vscode as a gui. b) no one uses Arduino IDE any more, its slow and painful and you haveby Dust - Firmware - Marlin
You don't choose RSENSE RSENSE is a physical resistor on your stepper drivers For example, if you have BIGTREETECH-TMC2208-V3.0 you look at the circuit diagram This shows the rsense resistors are 0.11 The SL42STH40-1684A are listed as 1.8A stepper motors. This is probably a PEAK value and we need RMS so we multiply it by 0.707 1800 x 0.707 = 1272.6 is your absolute max I prefer not to eby Dust - Firmware - Marlin
your using tmc2208, but all the tmc setting are the defaults eg for X you have #define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current. #define X_RSENSE 0.11 // Multiplied x1000 for TMC26X are these actually correct for your machine? The rsense value is dependent on your stepper drivers the current is dependent on your stepper motorsby Dust - Firmware - Marlin
the bottom characters are the websire URL Its hidden away to discourage you changing it to a 3rd party website You simply edit #define MARLIN_WEBSITE_URL "marlinfw.org" in Marlin/src/core/language.h egby Dust - Firmware - Marlin
3) Its a serial port, -1 In Configuration.h you have to have one of these SERIAL_PORT , SERIAL_PORT_2 or SERIAL_PORT_3 set to -1by Dust - Firmware - Marlin
You look in Boards.h You fine the line #define BOARD_MKS_ROBIN_NANO_V3_1 5228 // MKS Robin Nano V3.1 (STM32F407VE)by Dust - Firmware - Marlin
Marlin does as it is told via gcodes You would need to write a program to generate the required sequence of gcodesby Dust - Firmware - Marlin
by Dust - Firmware - Marlin
Is one of those scatter gun users Has posted to this github, and marlin discord, and probably other places too Is being answered on discord.by Dust - Firmware - Marlin
was renamed in newer code #error "Z_HOMING_HEIGHT is now Z_CLEARANCE_FOR_HOMING."by Dust - Firmware - Marlin
Yes you can move the gnd to that pin if you wishby Dust - Prusa i3 and variants
from current pins_ANET_10.h (you might have older code, I only added this graphic to bugfix 2 weeks ago) /** * Connector pinouts * * ------ ------ ---- * (SDA) D17 | 1 2 | (A1) D30 3V3 | 1 2 | D4 (SS) J3_RX |1 2| J3_TX * (SCL) D16 | 3 4 | (A2) D29 GND | 3 4 | RESET (TXOby Dust - Prusa i3 and variants
Use a serial program such as vscode serial monitor Make sure to send M503 in uppercase without making typos (pronterface automatically turns the input into uppercase for you) Also how old is your pronterface? Perhaps it needs updatingby Dust - Firmware - Marlin
No such thing as marlin 2.17 List of all marlin versions so far 1.0.0-beta 1.0.1 1.0.2 1.0.2-1 1.0.2-2 1.0.2-3 1.1.0 1.1.0-RC1 1.1.0-RC2 1.1.0-RC3 1.1.0-RC4 1.1.0-RC5 1.1.0-RC6 1.1.0-RC7 1.1.0-RC8 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.1.9.1 1.1.9.2 2.0.0 2.0.0.1 2.0.1 2.0.1.1 2.0.2 2.0.2.1 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.4.2 2.0.4.3 2.0.4.4 2.0.4.5 2.0.5 2.0.5.1 2.0.5.2 2.0.5by Dust - Firmware - Marlin
Your all over the place. 1) vscode does not look at or use the makefile, that is for make via command line. (which is not well maintained, as very very few use it) 2) this board is using -Os you can override it by editing ini/stm32f1.ini In section eg extends = common_stm32 board = malyanm200_f103cb build_flags = ${common_stm32.build_flags} -O0by Dust - Firmware - Marlin
Provided configs work as expected, so issue is with your machine delete directory "C:\Users\venca\.platformio" and restart vscode, this will reinstall platformio from scratch, give it time to download all it needs, dont reboot before it is done.by Dust - Firmware - Marlin
Himm, seem that line has not been updated in 2.1.2.1 In Marlin/src/lcd/language/language_en.h 2.1.2.1 has LSTR MSG_LCD_SOFT_ENDSTOPS = _UxGT("Soft Endstops"); LSTR MSG_MAIN = _UxGT("Main"); change it to LSTR MSG_LCD_SOFT_ENDSTOPS = _UxGT("Soft Endstops"); LSTR MSG_MAIN_MENU = _UxGT("Main Menu");by Dust - Firmware - Marlin
I then verified that vscode/platformio can upload, I used environemnt melzi_optiboot_optimized It uploaded code fine. Executing task: platformio run --target upload Processing melzi_optiboot_optimized (board: sanguino_atmega1284p; platform: atmelavr@~4.0.1; framework: arduino) --------------------------------------------------------------------------------------------------------------------by Dust - Firmware - Marlin
As I asked before what programmer are you using? My programmer does not provide 5v power to the board. So I also have to have the USB plugged into power (to save serial port confusion I use a usb power bank, not the computer) Are you getting a the blue power LED on the control board while your trying to flash?by Dust - Firmware - Marlin
I just re flashed the bootloader on my Creality V1.1.4 and used Arduino IDE (1.8.19) menu tool burn bootloader log of a susessful bootloader flashing (in ubuntu) /home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/dust/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega1284p -cstk500 -P/dev/ttyACM0 -e -Ulock:w:0x3F:m -Ueby Dust - Firmware - Marlin
If installing a 8bit bootloaders I use arvdude on command line with a old Pololu USB AVR Programmer Or Arduino IDE, which just uses avrdude For code I use vscode, for two reasons It gets all the source requirements for your without have to manually install them, No having to hunt down an install libraries vscode has source filtering, what that does it makes up a list of files that it has toby Dust - Firmware - Marlin
Before anyone else answers checkby Dust - Firmware - Marlin
points worthy of note: They did not write the firmware, he added a new user interface for the Ender 3 V2 TFT to stock marlin code. their v2.0.1 is really marlin 2.0.9.2 NOTE This code will no longer compile. both python and stm32 libraries and platformio itself have all been updated breaking this old code. JYERSUI was backported into main marlin, you just need to enable it "#define DWby Dust - Firmware - Marlin
This doesn't make any sense Creality V4.2.2 boards where not added to marlin until 2.0.6 env: STM32F103RC_creality was added to marlin since 2.0.9 Please update to a much newer marlin instead of trying to update an obsolete version of marlin..by Dust - Firmware - Marlin