Installing VSCode with PlaformIO and building MarlinFW

  Рет қаралды 18,184

Ed's 3d Tech

Ed's 3d Tech

Күн бұрын

Пікірлер: 42
@wadefallin
@wadefallin 4 жыл бұрын
Edward, your video was right on time! I’ve been rebuilding/ upgrading my Ender 3 printer since November of last year. It’s gotten several new options added that it did not have when it was fresh out of the box. I’m replacing the Creality main board with a SKR Mini E3 32 bit board with TMC2209drivers, adding a BLTouch for bed leveling, filament runout sensor, touch screen control panel, and a dual gear extruder. The biggest hurdle was getting a fresh install of the Marlin 2.0.x firmware up and running. With your tutorial, I should be able to get that done in short order. Thanks for the video!
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
You're welcome.
@als1023
@als1023 4 жыл бұрын
Same experience, same machine etc, thank you for the excellent help, small details helped a lot. Preparing to install the new board, wanted to ensure we could modify and compile properly and accurately.
@seanfarner1253
@seanfarner1253 4 жыл бұрын
Great Tutorial Ed! VS Code has quickly become one of my favorite IDEs over the last year. Glad to see it can be used to easily build Marlin.
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
Thanks, Sean. How's things down south? Hope you and you're family are doing well.
@seanfarner1253
@seanfarner1253 4 жыл бұрын
We are doing well. When you get a minute let's catch up with a call.
@CatalinMinulescu
@CatalinMinulescu 4 жыл бұрын
Excelent tutorial ! I have 2 weeks since I am trying to compile Marlin 2.0 for my Ender 5 PRO and it failed because I was not defining the board. Now I have tried and is working. (I have a Creality 1.1.5 with 1284P) and it gaves me an error being too big (280k insetad of 260k). As far as I remember I saw a video where somebody said to exclude some options but I don't know which options. Anyway great tutorial, thank you !
@leeackerson2579
@leeackerson2579 4 жыл бұрын
Much thanks. The BIGTREE documentation is incorrect for board type, but you explained how it should be done. Thanks again.
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
You're welcome.
@TD2253
@TD2253 4 жыл бұрын
Thanks for showing another way to compile for the RAMPS style 3D printer boards!
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
You're welcome.
@bruceyoung1343
@bruceyoung1343 2 жыл бұрын
Ed. I noticed on second time open of vsCODE with the platform IO extension added many more lower left option buttons. That was my issue when installing vsCODE not adding extension 🤞
@christianschifferle602
@christianschifferle602 4 жыл бұрын
So far, so good, but when I try to compile I always get a error message that the compiler (CC) can't be found. CalledProcessError: Command 'CC -DTARGET_STM32F1 -D__MARLIN_FIRMWARE__ -DHAVE_SW_SERIAL -DMCU_STM32F103VE -DSS_TIMER=4 -w -dM -E -x c++ buildroot/share/PlatformIO/scripts/common-dependencies.h' returned non-zero exit status 1.
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
Can you send me your files on Discord for configuration.h and Platformio.ini? Also if you made changes to any other file like configuration_adv.h.
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
The Discord link should be in Description below.
@christianschifferle602
@christianschifferle602 4 жыл бұрын
@@EdwardBraiman Sorry for my denseness, but I could not a find a Discord link. But anyway, I used the preconfigured library for the MKS Robin Nano board found on github.com/makerbase-mks/Mks-Robin-Nano-Marlin2.0-Firmware. This should be ready to compile in VSCode.
@stephenkosloff6081
@stephenkosloff6081 4 жыл бұрын
hi - thanks for video - i have an issue with visual code - it takes me up to 10hrs to compile ?? sk1.4 turbo ? any ideas whats wrong - pc is fast enough windows 10 - thank you
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
How long does a vanilla Ramps 1.4 take to compile? Can you tell me about your computer? The computer in the video is somewhat high-end diy computer. So compile time looks short with 6 core and 12 threads.
@stephenkosloff6081
@stephenkosloff6081 4 жыл бұрын
@@EdwardBraiman hi - intel i5-34705 @2.9ghz, ram 8gig 64bit windows 10 also Ed, i have the bltouch v3.1 with blue yellow red wiring connected to 1.4 servo and other connection on pins next to it, but no power ? thanks
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
When you download a new version of Marlin firmware and just unzip and build, what happens?
@stephenkosloff6081
@stephenkosloff6081 4 жыл бұрын
@@EdwardBraiman hi-still takes hours
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
@@stephenkosloff6081 Do you have a GPU on your computer? I understand my computer might be different, I'm running a Ryzen 3600x and a GPU card. It brings the compile time down to about 1 minute.
@richardbrown2290
@richardbrown2290 4 жыл бұрын
Interesting my Avast virus says there is a IDG:Generic virus in Python.exe. Installed it and did a scan on the directory and all was OK. Great video. best to you
@danielschumacher9427
@danielschumacher9427 4 жыл бұрын
I cant find firmware.bin
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
Did the build/compile complete successfully? What hardware are you using? Is the board attached via USB?
@danielschumacher9427
@danielschumacher9427 4 жыл бұрын
@@EdwardBraiman i am using the mks gen L and after the succesfull upload nothing happens it is connected via usb
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
On 8 bit printer boards you will not see, firmware.bin. it will flash directly to board. One way to verify is to change endstop logic for one endstop to false and load firmware from a build. Afterward, in Pronterface enter the command, M119 and verify endstop logic is flipped for endstop.
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
Just in case you're not aware, I have a very long tutorial playlist for MKS Gen L on my channel.
@aleksandrcrypter648
@aleksandrcrypter648 2 жыл бұрын
Dear friend, I would like to inform you about MKS Robin Nano v3.1 pdats , there is very little talk on the Internet about it and you explain it super well
@EdwardBraiman
@EdwardBraiman 2 жыл бұрын
Thanks. My issue is the expense of buying boards and viewership. Most people help either thru PayPal or Patreon in description.
@JoseBerruezo
@JoseBerruezo 4 жыл бұрын
Nice video!
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
Thanks.
@manuelchaves6835
@manuelchaves6835 4 жыл бұрын
Tks
@EdwardBraiman
@EdwardBraiman 4 жыл бұрын
You're welcome.
@RyanSeeber
@RyanSeeber 4 жыл бұрын
👍
@ZsasZ_BZH
@ZsasZ_BZH 3 жыл бұрын
Merci beaucoup pour ce tuto, dommage que je ne parle pas un mot d'anglais.
@EdwardBraiman
@EdwardBraiman 3 жыл бұрын
Il y a des sous-titres en français, vous êtes les bienvenus
@ZsasZ_BZH
@ZsasZ_BZH 3 жыл бұрын
@@EdwardBraiman Oui c est vrai, et merci beaucoup, vous êtes le seul à avoir fait un tuto sur cette carte mère. C est toujours plus agréable dans la langue maternelle... Mais par contre vos titre sont en français, ce qui ma permis de vous trouver.
@EdwardBraiman
@EdwardBraiman 3 жыл бұрын
@@ZsasZ_BZH J'essaye juste d'aider
@ZsasZ_BZH
@ZsasZ_BZH 3 жыл бұрын
@@EdwardBraiman MERCI
@EdwardBraiman
@EdwardBraiman 3 жыл бұрын
de rien
Marlin Firmware 2.0.x Explained
1:12:37
Ed's 3d Tech
Рет қаралды 16 М.
Retro MS-DOS Coding - Recreating the Iconic Award BIOS Screen
18:16
NCOT Technology
Рет қаралды 104 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 850 М.
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 953 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 577 М.
Compiling Marlin 2 0 with VsCode and PlatformIO
23:20
3D MakeIt
Рет қаралды 60 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН