Notifications
Clear all

How edit and compile firmware to MINI+  

Stránka 2 / 2
  RSS
BogdanH
(@bogdanh)
Honorable Member

Changing only bed (Y) size is not a problem.. but how about auto-bed-leveling positions and homing?

You have quite special hardware change and so I recommend that you compile firmware yourself. Because of two reasons: New firmware versions will be released in future and you would sure wish to have it. And second, if something goes wrong with firmware (compiled by someone else), nobody wish to take blame for that -I'm sure you understand what I mean.

Btw. what does "i have change the size in visual coded.." mean? You should use Notepad (or similar "plain" text editor) to change firmware parameters.

[Mini+] [MK3S+BEAR]

Napsal : 13/10/2021 7:28 am
buggyfreak
(@buggyfreak)
Active Member
compile

i have change the following code ( https://github.com/FYSETC/FYSETC-Prusa-mini-clone-plus/tree/main/firmware) using visual code:

In file src/gui/gui_config_mini.h following define is changed.

#define Y_LEN 253

In file include/marlin/Configuration_A3ides_2209_MINI.h following defines are changed.

#define Y_BED_SIZE 250 #define Y_MIN_POS -6

now is to compile. which i dono how to use python.

please advice on how to use the python. i have install. when i open it show ">>" i try to type in and enter, it shows syntax error.
i try to use command prompt. it shows python was not found.

Napsal : 13/10/2021 9:49 pm
3Delight
(@3delight)
Moderátor Moderator
Find them here...

Check out the instructions on the Prusa GitHub page here: https://github.com/prusa3d/Prusa-Firmware-Buddy#readme

Napsal : 13/10/2021 10:14 pm
ryan thorp
(@ryan-thorp)
New Member
RE: How edit and compile firmware to MINI+

i get this error is there some way i can fix it ModuleNotFoundError: No module named 'polib'

 

Napsal : 22/11/2021 4:39 pm
EpicMount
(@epicmount)
New Member
RE: How edit and compile firmware to MINI+

I was unable to build the *.BBF files with the flag --generate-bbf. However running the flag "--generate-dfu" created the BFF files in the \build\products folder. 

This was in Windows 10

Napsal : 25/11/2021 3:53 am
Anxodia
(@anxodia)
Active Member
RE: How edit and compile firmware to MINI+

Hello. Can anyone tell me what I did do wrong? I have no clue what Im doing I just want to change few parameters. But I tried to compile with unchanged firmware.

Help would be greatly appreciated, Thanks in advance!

 

Best, Anxodia

Napsal : 27/05/2022 1:42 am
towlerg
(@towlerg)
Noble Member
RE: How edit and compile firmware to MINI+

I have no clue what Im doing

Are you sure you should continue. What are you trying to change?

Napsal : 28/05/2022 2:35 pm
Guru von Pospi LEE
(@guru-von-pospi-lee)
Eminent Member
Topic starter answered:
RE: How edit and compile firmware to MINI+

Hi all once again. I was a time and I was prepared a next printer upgrade Axis Z. I need help with configuration Axis Z. On the original is a Axis Z 180mm and changing to new parameter 230mm. I look on the Configuration_A3ides_2209_MINI.h, but I do not find where I must changing the Axis Z. Please it is here anybody who will help with this?

On the file I was find only the configuration and changing, but changing not funktion and the AXIS Z is 180mm.

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS -2#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 230

#ifdef USE_PRUSA_EEPROM_AS_SOURCE_OF_DEFAULT_VALUES
#define DEFAULT_Z_MAX_POS 230
#define Z_MIN_LEN_LIMIT 1
#define Z_MAX_LEN_LIMIT 10000
#define Z_MAX_POS 230
#else
#define Z_MAX_POS 230
#endif

 

 

Napsal : 31/08/2022 10:03 pm
Curtis
(@curtis-2)
New Member
RE: How edit and compile firmware to MINI+

Hi all, I have a similar upgrade to my MINI, except I'm making it 5 times longer. All the physical hardware has been modified, but now for some reason my screen won't turn on and the buttons don't do anything. The printer is acting very strange. I was hoping to flash the firmware but I can't figure out how to do so without the screen. Fuses are all good, hardware is all in order. Pronterface can control the printer but not consistently and sometimes the controls do things they shouldn't. Like When I try to move on the X axis, it'll move on the Y axis instead. I have no clue...

 

Any ideas would be greatly appreciated!

 

 

Napsal : 12/02/2023 9:38 pm
princeba
(@princeba)
New Member
RE: How edit and compile firmware to MINI+

Hi There, thanks for this thread I have been searching for something like this for long. But now that I have it, I think there might be some changes in the code that I can located or know exactly which file configuration.h file I can make the changes to. Anyone with any idea can help me out. thank you

Napsal : 03/04/2023 2:10 am
tjmitchem
(@tjmitchem)
Active Member
RE: How edit and compile firmware to MINI+

I hit an interesting error compiling the firmware on OpenSuSE.

firmware section `.data' will not fit in region `FLASH'
region `FLASH' overflowed by 3692 bytes

ninja: build stopped: subcommand failed.

Has anyone else seen something like this?

Napsal : 08/07/2023 8:33 pm
Ma
 Ma
(@ma)
New Member
RE:

hello after numerous problems i have installed the custom firmware

1) do not download pithon 3.12 something is missing i have pithon 3.11.7 "include PATH"

2) check that pithon has all the packages

https://packaging.python.org/en/latest/tutorials/installing-packages/

restart the computer after installing Pithon. open cmd as administrator and enter the following commands for Windows

py --versionpy -m

pip --versionpy -m Guaranteepip --default-pippy -m

pip --versionpy -m

pip install --upgrade

pip setuptools wheelpy -m venv

tutorial_envtutorial_env\Scripts\activate

3) install virtualenv

https://virtualenv.pypa.io/en/latest/installation.html

restart your computer, open cmd as administrator and enter the following commands for Windows

python -m pip install --user virtualenv

python -m virtualenv --help

4) install the Microsoft Visual C++ compilation tool to eliminate errors Microsoft Visual C++ 14.0

https://learn.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-14-0-or-greater-is-requir

restarts the computer

download link: https://visualstudio.microsoft.com/it/visual-cpp-build-tools/

5) run "python -m venv .venv" which bypasses an error via previously installed virtualenv

https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/3579

restart your computer, open cmd as administrator and enter the following commands for Windows

cd x:\Prusa-Firmware-Buddy-5.1.2

python -m venv

cd x:\Prusa-Firmware-Buddy-5.1.2 is the directory of the file instead of "x" is the path to the file (note: deleting the double subdirectory is equivalent to e.g. g:\Prusa-Firmware-Buddy- 5.1.2\Prusa-Firmware-Buddy-5.1.2)

6) if you don't find the firmware file to be modified are x:\Prusa-Firmware-Buddy-5.1.2\includingemarlin\Configuration_MINI.h

and change e.g. max. nozzle temperature to 300:

#define HEATER_0_MAXTEMP 290 --> 315

or max. bed temperature to 110:#define BED_MAXTEMP 110 --> 120

7) Start the firmware compilation with 'python utils/build.py --preset mini --generate-bbf' in this order

cd x:\Prusa-Firmware-Buddy-5.1.2

python utils/build.py --preset mini,xl --generate-bbf

if there are any errors, I recommend restarting the computer and repeating step 7 (this one)

 

This post was modified před 11 months 2 times by Ma
Napsal : 02/01/2024 10:30 pm
Ma
 Ma
(@ma)
New Member
RE: How edit and compile firmware to MINI+

p.s.

disable firewall and real-time protection to eliminate other errors and the link to download 5.1.2 Firmware for Original Prusa MINI, MK4, MK3.9 & XL, the file is "Source code (zip)".

download link: https://github.com/prusa3d/Prusa-Firmware-Buddy/releases

Napsal : 02/01/2024 10:59 pm
Stránka 2 / 2
Share: