Installing VSCode with PlaformIO and building MarlinFW

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • This is a basic tutorial on installing VSCode with PlatformIO extension and learning how to compile Marlin firmware.
    One Time Tips, You Can PayPal Me:
    www.paypal.me/EBraiman
    Discord:
    / discord
    buymeacoffee:
    www.buymeacoffee.com/ebraiman
    Patreon:
    / edbraiman
    Software:
    Marlin Firmware 2.0.x marlinfw.org/meta/download/
    Vscode code.visualstudio.com/download#
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 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 3 ปีที่แล้ว +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.

  • @CatalinMinulescu
    @CatalinMinulescu 3 ปีที่แล้ว +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 !

  • @seanfarner1253
    @seanfarner1253 3 ปีที่แล้ว +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  3 ปีที่แล้ว +1

      Thanks, Sean. How's things down south? Hope you and you're family are doing well.

    • @seanfarner1253
      @seanfarner1253 3 ปีที่แล้ว

      We are doing well. When you get a minute let's catch up with a call.

  • @TD2253
    @TD2253 4 ปีที่แล้ว

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

  • @leeackerson2579
    @leeackerson2579 3 ปีที่แล้ว

    Much thanks. The BIGTREE documentation is incorrect for board type, but you explained how it should be done. Thanks again.

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

  • @JoseBerruezo
    @JoseBerruezo 4 ปีที่แล้ว

    Nice video!

  • @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  3 ปีที่แล้ว

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

  • @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 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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  3 ปีที่แล้ว

      The Discord link should be in Description below.

    • @christianschifferle602
      @christianschifferle602 3 ปีที่แล้ว

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

  • @RyanSeeber
    @RyanSeeber 4 ปีที่แล้ว

    👍

  • @manuelchaves6835
    @manuelchaves6835 4 ปีที่แล้ว

    Tks

  • @danielschumacher9427
    @danielschumacher9427 3 ปีที่แล้ว

    I cant find firmware.bin

    • @EdwardBraiman
      @EdwardBraiman  3 ปีที่แล้ว

      Did the build/compile complete successfully? What hardware are you using? Is the board attached via USB?

    • @danielschumacher9427
      @danielschumacher9427 3 ปีที่แล้ว

      @@EdwardBraiman i am using the mks gen L and after the succesfull upload nothing happens it is connected via usb

    • @EdwardBraiman
      @EdwardBraiman  3 ปีที่แล้ว

      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  3 ปีที่แล้ว +1

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

  • @makerdesbois8004
    @makerdesbois8004 2 ปีที่แล้ว

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

    • @EdwardBraiman
      @EdwardBraiman  2 ปีที่แล้ว +1

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

    • @makerdesbois8004
      @makerdesbois8004 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว +1

      @@makerdesbois8004 J'essaye juste d'aider

    • @makerdesbois8004
      @makerdesbois8004 2 ปีที่แล้ว

      @@EdwardBraiman MERCI

    • @EdwardBraiman
      @EdwardBraiman  2 ปีที่แล้ว

      de rien