I have two arduino uno,
one with the atmega328p-pu
and another with the atmega328pb
I can’t flash klipper in either of them;
when I try to generate the firmware for the atmega328p-pu:
##### Building firmware ... Creating symbolic link out/board Loaded configuration '/home/mago/klipper/.config' No changes to save (for '/home/mago/klipper/.config') Building out/autoconf.h Compiling out/src/sched.o Compiling out/src/command.o Compiling out/src/basecmd.o Compiling out/src/debugcmds.o Compiling out/src/initial_pins.o Compiling out/src/gpiocmds.o Compiling out/src/stepper.o Compiling out/src/endstop.o Compiling out/src/trsync.o Compiling out/src/adccmds.o Compiling out/src/spicmds.o Compiling out/src/i2ccmds.o Compiling out/src/pwmcmds.o Compiling out/src/buttons.o Compiling out/src/tmcuart.o Compiling out/src/neopixel.o Compiling out/src/pulse_counter.o Compiling out/src/spi_software.o Compiling out/src/i2c_software.o Compiling out/src/sensor_lis2dw.o Compiling out/src/thermocouple.o Compiling out/src/sensor_adxl345.o Compiling out/src/sensor_angle.o Compiling out/src/sensor_mpu9250.o Compiling out/src/avr/main.o Compiling out/src/avr/timer.o Compiling out/src/avr/gpio.o Compiling out/src/avr/adc.o Compiling out/src/avr/spi.o Compiling out/src/avr/i2c.o Compiling out/src/avr/hard_pwm.o Compiling out/src/avr/watchdog.o Compiling out/src/avr/serial.o Compiling out/src/generic/serial_irq.o Building out/compile_time_request.o Version: v0.12.0-36-g3417940f-20231219_011215-mago Linking out/klipper.elf /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: out/klipper.elf section
.text’ will not fit in region text' /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: address 0x800c08 of out/klipper.elf section
.data’ is not within region data' /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: address 0x800d75 of out/klipper.elf section
.bss’ is not within region data' /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: address 0x800c08 of out/klipper.elf section
.data’ is not within region data' /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: address 0x800d75 of out/klipper.elf section
.bss’ is not within region data' /usr/lib/gcc/avr/5.4.0/../../../avr/bin/ld: region
text’ overflowed by
5502 bytes
collect2: error: ld returned 1 exit status
make: *** [Makefile:72: out/klipper.elf] Error 1
and when I try to follow this for the atmega328pb
or this
Besides, the libraries are obsolete…