Provok3d Therm^2 Firmware to overflow rom

Basic Information:

Printer Model:
MCU / Printerboard:
Host / SBC
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:


Therm^2 Board
Klipper flashing STMF042

Building out/compile_time_request.o
Version: v0.12.0-482-g2ec69ae36
Preprocessing out/src/generic/armcm_link.ld
Linking out/klipper.elf
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: out/klipper.elf section .text' will not fit in region rom’
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: region `rom’ overflowed by 5089 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:73: out/klipper.elf] Error 1

Can somebody help me please

It seems the resulting firmware image is too big for the used MCU. Try:


Thats the standard

Umm, yes, I know. What do you want to say with this? Try with the config given above.

with your setting it works
Thanks for help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.