Releases: 3d-gussner/PF-build-env
Prusa Firmware build environment v1.0.6
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 runningsudo 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 automaticPF-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
- Example: You files are under
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:
- Download and install the 64bit Git version https://git-scm.com/download/win
- Also follow these instructions https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
- Download and install 7z-zip from its official website https://www.7-zip.org/
By default, it is installed under the directory /c/Program Files/7-Zip in Windows 10 - Run
Git-Bash
under Administrator privilege - navigate to the directory /c/Program Files/Git/mingw64/bin
- run
ln -s /c/Program Files/7-Zip/7z.exe zip.exe
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 MMU2MM-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
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 runningsudo 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 automaticPF-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
- Example: You files are under
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:
- Download and install the 64bit Git version https://git-scm.com/download/win
- Also follow these instructions https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
- Download and install 7z-zip from its official website https://www.7-zip.org/
By default, it is installed under the directory /c/Program Files/7-Zip in Windows 10 - Run
Git-Bash
under Administrator privilege - navigate to the directory /c/Program Files/Git/mingw64/bin
- run
ln -s /c/Program Files/7-Zip/7z.exe zip.exe
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 MMU2MM-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
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 runningsudo 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 automaticPF-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
- Example: You files are under
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:
- Download and install the 64bit Git version https://git-scm.com/download/win
- Also follow these instructions https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058
- Download and install 7z-zip from its official website https://www.7-zip.org/
By default, it is installed under the directory /c/Program Files/7-Zip in Windows 10 - Run
Git-Bash
under Administrator privilege - navigate to the directory /c/Program Files/Git/mingw64/bin
- run
ln -s /c/Program Files/7-Zip/7z.exe zip.exe
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 MMU2MM-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