Installing VSCode with PlaformIO and building MarlinFW

Поділитися
Вставка

КОМЕНТАРІ • 42

  • @wadefallin
    @wadefallin 4 роки тому +3

    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 роки тому +1

      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 роки тому +1

    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 роки тому +1

      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 роки тому +2

    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.

  • @TD2253
    @TD2253 4 роки тому

    Thanks for showing another way to compile for the RAMPS style 3D printer boards!

  • @bruceyoung1343
    @bruceyoung1343 2 роки тому +1

    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 🤞

  • @richardbrown2290
    @richardbrown2290 4 роки тому +1

    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

  • @aleksandrcrypter648
    @aleksandrcrypter648 Рік тому

    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  Рік тому

      Thanks. My issue is the expense of buying boards and viewership.
      Most people help either thru PayPal or Patreon in description.

  • @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.

  • @manuelchaves6835
    @manuelchaves6835 4 роки тому

    Tks

  • @JoseBerruezo
    @JoseBerruezo 4 роки тому

    Nice video!

  • @RyanSeeber
    @RyanSeeber 4 роки тому

    👍

  • @makerdesbois8004
    @makerdesbois8004 3 роки тому

    Merci beaucoup pour ce tuto, dommage que je ne parle pas un mot d'anglais.

    • @EdwardBraiman
      @EdwardBraiman  3 роки тому +1

      Il y a des sous-titres en français, vous êtes les bienvenus

    • @makerdesbois8004
      @makerdesbois8004 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 роки тому +1

      @@makerdesbois8004 J'essaye juste d'aider

    • @makerdesbois8004
      @makerdesbois8004 3 роки тому

      @@EdwardBraiman MERCI

    • @EdwardBraiman
      @EdwardBraiman  3 роки тому

      de rien

  • @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 роки тому +1

      Just in case you're not aware, I have a very long tutorial playlist for MKS Gen L on my channel.