Skip to content

Releases: 3d-gussner/PF-build-env

Prusa Firmware build environment v1.0.6

16 Jul 11:59
Compare
Choose a tag to compare

Prusa Firmware build environment v1.0.6

It is based on mkbel Linux64 build environment v1.0.6 and Arduino IDE 1.8.5 portable

Updates made since v1.0.2

  • Minimized to Prusa specific library changes

Prepare. To use this build environment on a Windows machine you gonna need:

If you want to use the automated PF-build.sh you gonna need to install on your Windows a Linux subsystem or Git-bash

Steps for Linux subsystem und Windows 10 64-bit:

  • follow the Microsoft guide https://docs.microsoft.com/en-us/windows/wsl/install-win10
  • Tested versions are at this moment
    • Ubuntu other may different

    • After the installation and reboot please open your Ubuntu bash and do following steps

    • run command apt-get update

    • to install zip run apt-get install zip

    • add few lines at the top of ~/.bashrc by running sudo nano ~/.bashrc

      export OS="Linux"
      export JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"
      export GPG_TTY=$(tty)

      use CRTL-X to close nano and confirm to write the new entries

    • restart Ubuntu bash
      Now your Ubuntu subsystem is ready to use the automatic PF-build.sh script and compile your firmware correctly

Some Tips for Ubuntu

  • Linux is case sensetive so please don't forget to use capital letters where needed, like changing to a directory
  • To change the path to your Prusa-Firmware location you downloaded and unzipped
    • Example: You files are under C:\Users\<your-username>\Downloads\Prusa-Firmware-MK3
    • use under Ubuntu the following command cd /mnt/c/Users/<your-username>/Downloads/Prusa-Firmware-MK3
      to change to the right folder

Compile Prusa-firmware with Ubuntu Linux subsystem installed

  • open Ubuntu bash
  • change to your source code folder (case sensitive)
  • run ./PF-build.sh
  • follow the instructions

Steps for Git-bash under Windows 10 64-bit:

Compile Prusa-firmware with Git-bash installed

  • open Git-bash
  • change to your source code folder
  • run bash PF-build.sh
  • follow the instructions

Usefull tools:

  • Download and install current and correct (64bit or 32bit) Notepad++ version https://notepad-plus-plus.org/download

  • Another great tool to compare your custom mod and stock firmware is WinMerge http://winmerge.org/downloads/?lang=en

  • You can use it also as well as a GUI Arduino version for Prusa-Firmware and MMU2 MM-control-01, if you do so please use it exclusively for this purpose otherwise the PF-build.sh script in the Prusa Firmware might not work properly anymore.

Prusa Firmware build environment for Windows v1.0.2

13 Mar 20:22
Compare
Choose a tag to compare

Prusa Firmware build environment for Windows v1.0.2

It is based on mkbel Linux64 build environment and Arduino IDE 1.8.5 portable

Updates made since v1.0.1

  • Fix maximum firmware flash size.

Prepare. To use this build environment on a Windows machine you gonna need:

If you want to use the automated PF-build.sh you gonna need to install on your Windows a Linux subsystem or Git-bash

Steps for Linux subsystem und Windows 10 64-bit:

  • follow the Microsoft guide https://docs.microsoft.com/en-us/windows/wsl/install-win10
  • Tested versions are at this moment
    • Ubuntu other may different

    • After the installation and reboot please open your Ubuntu bash and do following steps

    • run command apt-get update

    • to install zip run apt-get install zip

    • add few lines at the top of ~/.bashrc by running sudo nano ~/.bashrc

      export OS="Linux"
      export JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"
      export GPG_TTY=$(tty)

      use CRTL-X to close nano and confirm to write the new entries

    • restart Ubuntu bash
      Now your Ubuntu subsystem is ready to use the automatic PF-build.sh script and compile your firmware correctly

Some Tips for Ubuntu

  • Linux is case sensetive so please don't forget to use capital letters where needed, like changing to a directory
  • To change the path to your Prusa-Firmware location you downloaded and unzipped
    • Example: You files are under C:\Users\<your-username>\Downloads\Prusa-Firmware-MK3
    • use under Ubuntu the following command cd /mnt/c/Users/<your-username>/Downloads/Prusa-Firmware-MK3
      to change to the right folder

Compile Prusa-firmware with Ubuntu Linux subsystem installed

  • open Ubuntu bash
  • change to your source code folder (case sensitive)
  • run ./PF-build.sh
  • follow the instructions

Steps for Git-bash under Windows 10 64-bit:

Compile Prusa-firmware with Git-bash installed

  • open Git-bash
  • change to your source code folder
  • run bash PF-build.sh
  • follow the instructions

Usefull tools:

  • Download and install current and correct (64bit or 32bit) Notepad++ version https://notepad-plus-plus.org/download

  • Another great tool to compare your custom mod and stock firmware is WinMerge http://winmerge.org/downloads/?lang=en

  • You can use it also as well as a GUI Arduino version for Prusa-Firmware and MMU2 MM-control-01, if you do so please use it exclusively for this purpose otherwise the win_build.sh script in the Prusa Firmware might not work properly anymore.

Changes made to Ardinuo IDE 1.8.5 version:

  • Folder created "portable" to get this instance exclusively for Prusa Firmware development
  • Folder created "portable\output"
    Changes made to \lib\preferences.txt
  • sketchbook.path=C:\PF-build-env-1.0.1\portable\sketchbook
  • build.path=C:\PF-build-env-1.0.1\portable\output
  • boardsmanager.additional.urls=https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json,https://raw.githubusercontent.com/prusa3d/Arduino_Boards/master/IDE_Board_Manager/package_prusa3d_index.json
  • build.verbose=true
  • compiler.cache_core=false
  • compiler.warning_level=more
  • board=rambo
  • editor.linenumbers=true

Prusa Firmware build environment for Windows

03 Feb 12:13
Compare
Choose a tag to compare

Prusa Firmware build environment for Windows

It is based on mkbel Linux64 build environment and Arduino IDE 1.8.5 portable

Prepare. To use this build environment on a Windows machine you gonna need:

If you want to use the automated PF-build.sh you gonna need to install on your Windows a Linux subsystem or Git-bash

Steps for Linux subsystem und Windows 10 64-bit:

  • follow the Microsoft guide https://docs.microsoft.com/en-us/windows/wsl/install-win10
  • Tested versions are at this moment
    • Ubuntu other may different

    • After the installation and reboot please open your Ubuntu bash and do following steps

    • run command apt-get update

    • to install zip run apt-get install zip

    • add few lines at the top of ~/.bashrc by running sudo nano ~/.bashrc

      export OS="Linux"
      export JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true"
      export GPG_TTY=$(tty)

      use CRTL-X to close nano and confirm to write the new entries

    • restart Ubuntu bash
      Now your Ubuntu subsystem is ready to use the automatic PF-build.sh script and compile your firmware correctly

Some Tips for Ubuntu

  • Linux is case sensetive so please don't forget to use capital letters where needed, like changing to a directory
  • To change the path to your Prusa-Firmware location you downloaded and unzipped
    • Example: You files are under C:\Users\<your-username>\Downloads\Prusa-Firmware-MK3
    • use under Ubuntu the following command cd /mnt/c/Users/<your-username>/Downloads/Prusa-Firmware-MK3
      to change to the right folder

Compile Prusa-firmware with Ubuntu Linux subsystem installed

  • open Ubuntu bash
  • change to your source code folder (case sensitive)
  • run ./PF-build.sh
  • follow the instructions

Steps for Git-bash under Windows 10 64-bit:

Compile Prusa-firmware with Git-bash installed

  • open Git-bash
  • change to your source code folder
  • run bash PF-build.sh
  • follow the instructions

Usefull tools:

  • Download and install current and correct (64bit or 32bit) Notepad++ version https://notepad-plus-plus.org/download

  • Another great tool to compare your custom mod and stock firmware is WinMerge http://winmerge.org/downloads/?lang=en

  • You can use it also as well as a GUI Arduino version for Prusa-Firmware and MMU2 MM-control-01, if you do so please use it exclusively for this purpose otherwise the win_build.sh script in the Prusa Firmware might not work properly anymore.

Changes made to Ardinuo IDE 1.8.5 version:

  • Folder created "portable" to get this instance exclusively for Prusa Firmware development
  • Folder created "portable\output"
    Changes made to \lib\preferences.txt
  • sketchbook.path=C:\PF-build-env-1.0.1\portable\sketchbook
  • build.path=C:\PF-build-env-1.0.1\portable\output
  • boardsmanager.additional.urls=https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json,https://raw.githubusercontent.com/prusa3d/Arduino_Boards/master/IDE_Board_Manager/package_prusa3d_index.json
  • build.verbose=true
  • compiler.cache_core=false
  • compiler.warning_level=more
  • board=rambo
  • editor.linenumbers=true