Setting up SmoothieBoard on Windows 7.

First out I use jpsofts take command, instead of cmd shell, http://jpsoft.com there is a LE version that’s free and fine, cmd might work but it might not. it’s a much better shell than cmd and its been around forever.

clone the git repo, I use https://tortoisegit.org

http://smoothieware.org/getting-smoothie

open a shell inside the folder you checked out too, in my case f:\code\smoothie\

use this

http://smoothieware.org/compiling-smoothie

stop after win_install.cmd, I used this just fine from the shell.

edit the file

gcc-arm-none-eabi\bin\buildenv.cmd

mine said

SET PATH=F:\code\Smoothie\;F:\code\Smoothie\..\..\build\win32;F:\code\Smoothie\gcc-arm-none-eabi\bin\;%PATH%

I changed it too

SET PATH=F:\code\Smoothie\;F:\code\Smoothie\build\win32;F:\code\Smoothie\gcc-arm-none-eabi\bin\;%PATH%

then I ran

make clean all

This generated the elf. It wants a git.exe in the path as well.

[F:\code\Smoothie]dir *.elf/s

Volume in drive F is data           Serial number is 7275:a00c

Directory of  F:\code\Smoothie\bootloader\*.elf

7/05/2015  10:00         242,061  DFU-Bootloader.elf
           242,061 bytes in 1 file and 0 dirs    245,760 bytes allocated

    Total for:  F:\code\Smoothie\bootloader\*.elf
           242,061 bytes in 1 file and 0 dirs    245,760 bytes allocated

Directory of  F:\code\Smoothie\LPC1768\*.elf

7/05/2015  10:30       7,509,384  main.elf
         7,509,384 bytes in 1 file and 0 dirs    7,512,064 bytes allocated

    Total for:  F:\code\Smoothie\LPC1768\*.elf
         7,509,384 bytes in 1 file and 0 dirs    7,512,064 bytes allocated

    Total for:  F:\code\Smoothie\*.elf
         7,751,445 bytes in 2 files and 0 dirs    7,757,824 bytes allocated
   892,891,717,632 bytes free

Advertisements