Notifications
Clear all

How to compile a firmware 5.1.0 and latest  

  RSS
Guru von Pospi LEE
(@guru-von-pospi-lee)
Eminent Member
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

 

 

 

 

Opublikowany : 16/10/2023 7:27 pm
pink_clown
(@pink_clown)
Estimable Member
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?

Opublikowany : 24/10/2023 5:37 am
Guru von Pospi LEE
(@guru-von-pospi-lee)
Eminent Member
Topic starter answered:
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.

Opublikowany : 24/10/2023 7:55 am
julien.bonnet25460@gmail.com
(@julien-bonnet25460gmail-com)
Member
RE: How to compile a firmware 5.1.0 and latest

Hi ,

 

Have you find a solution ?

Posted by: @guru-von-pospi-lee

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

 

 

 

 

 

Opublikowany : 20/02/2024 10:47 pm
Share: