VoronDesign / Voron-Hardware

Cool Hardware designed by the Voron Design group
GNU General Public License v3.0
874 stars 356 forks source link

Error 1 STM32_Mini12864 on make menuconfig #224

Closed Capn-Rob closed 1 month ago

Capn-Rob commented 2 months ago

Hello, I am trying to make the config for the STM32 board to use with a Mini12864 display. When using Make, I get error 1 with the following explanation:

  Linking out/klipper.elf
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: out/klipper.elf section `.text' will not fit in region `rom'
/usr/lib/gcc/arm-none-eabi/8.3.1/../../../arm-none-eabi/bin/ld: region `rom' overflowed by 802 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:73: out/klipper.elf] Error 1

I imagine it is trying to make the file too big, but I have no idea how to reduce this. I followed the config for this page, but still received this error:

[*] Enable extra low-level configuration options
    Micro-controller Architecture (STMicroelectronics STM32)  --->
    Processor model (STM32F042)  --->
    Bootloader offset (No bootloader)  --->
    Clock Reference (Internal clock)  --->
    Communication interface (USB (on PA9/PA10))  --->
    USB ids  --->
    Optional features (to reduce code size)  --->
()  GPIO pins to set at micro-controller startup
Capn-Rob commented 1 month ago

I got this working. I tried it on a different pi, and it worked no problems.
I don't know why the first pi refused.