How to compile a firmware 5.1.0 and latest
Hi all. Know anybody how to compile the new firmware 5.1.0 and latest? I looked on the github where is a step by step how do this, but I have a problem with setup the VS Code. I was doing on a system Windows 11 Pro x64
1. Install latest Python 3.12 x64
2. Install Visual Studio Code
On the VSC I instal from pip cmake, cmake-tools, wheel
But when I compile on the VSC with parameter :
python utils/build.py --preset mini --build-type debug
then I have a error code:
1. "Getting requirements to build wheel: finished with status `error`
2. Swittching to Buddys virtual environment.
Yuo can disable this by settings th BUDDY_NO VIETUALENV=1 env. variable
Have anybody the funktion way?
THX so much for feedback
RE:
Usually the debug version contains additional functionality to feauture the debugging, which leads to flash memory overflow. To prevent this to happen you block some functionality to reduce the code volume, or use a board with larger MCU flash memory capacity. Both options require a deeper knowledge of the FW the second one even HW change.
If your no debug build succeds, yor VSC setup is ok.
Do you really need the debug version?
RE:
Hi. THX for any answer. Yes I not need a debug version. On the compile firmware or any python programing I am basic user and I do not need undestand this solution. I only need chaging the size Y 370, Z 230 mm axis and Mash bad leveling from 4x4 to 4x8, because I rebuild my Prusa mini. Now I have a two heat bed. On the old firmware 4.4.1 the firmware compiler funktion without problem, but this I was compile on the cmd python. The new firmware I compile througt the VSCode. I was doing all what is wrote on the GitHub, but I don't know how to deal with it anymore.
RE: How to compile a firmware 5.1.0 and latest
Hi ,
Have you find a solution ?
Hi all. Know anybody how to compile the new firmware 5.1.0 and latest? I looked on the github where is a step by step how do this, but I have a problem with setup the VS Code. I was doing on a system Windows 11 Pro x64
1. Install latest Python 3.12 x64
2. Install Visual Studio Code
On the VSC I instal from pip cmake, cmake-tools, wheelBut when I compile on the VSC with parameter :
python utils/build.py --preset mini --build-type debug
then I have a error code:
1. "Getting requirements to build wheel: finished with status `error`
2. Swittching to Buddys virtual environment.
Yuo can disable this by settings th BUDDY_NO VIETUALENV=1 env. variableHave anybody the funktion way?
THX so much for feedback