Basic Information:
Printer Model: Custom
MCU / Printerboard: BTT Octopus + CR10 + Nano
Host / SBC: Rpi 3 Rev B
klippy.log: NA
I am working on making a docker container for installing firmware on 3 boards on a custom printer that will eventually be a production model. The boards I am trying to flash are BTT Octopus, a CR10, and an arduino nano.
We seem to be having an issue with avrdude.
Below is the command I run, and the following error. Has anyone encountered this before, or have any suggestions to help troubleshoot this?
$ docker compose -f docker-compose.extra.make.yaml run --rm make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
Creating symbolic link out/board
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/lcd_st7920.o
Compiling out/src/lcd_hd44780.o
Compiling out/src/spi_software.o
Compiling out/src/i2c_software.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/sensor_lis2dw.o
Compiling out/src/sensor_ldc1612.o
src/sensor_ldc1612.c: In function 'ldc1612_query':
src/sensor_ldc1612.c:143:35: warning: left shift count >= width of type [-Wshift-count-overflow] uint32_t data = (d[0] << 24L) | (d[1] << 16L) | (d[2] << 8) | d[3]; ^
src/sensor_ldc1612.c:143:51: warning: left shift count >= width of type [-Wshift-count-overflow] uint32_t data = (d[0] << 24L) | (d[1] << 16L) | (d[2] << 8) | d[3]; ^
Compiling out/src/sensor_bulk.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: ?-20240530_211938-0be72d01654b
Linking out/klipper.elf
Creating hex file out/klipper.elf.hex
Flashing out/klipper.elf.hex to /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 via avrdude
avrdude error: timeout
avrdude error: timeout
avrdude error: timeout
avrdude error: timeout
avrdude error: timeout
avrdude error: timeout
avrdude error: timeout communicating with programmer
avrdude error: unable to open programmer wiring on port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
avrdude done. Thank you.
make: *** [src/avr/Makefile:34: flash] Error 1
…