-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
Description
When following the klipper installation process the firmware compilation step fails. After sending following the command to the Raspberry Pi the process ends with an error:
make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
Console output:
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/adccmds.o
Compiling out/src/spicmds.o
Compiling out/src/thermocouple.o
Compiling out/src/i2ccmds.o
src/i2ccmds.c:14:23: error: field ‘i2c_config’ has incomplete type
struct i2c_config i2c_config;
^
src/i2ccmds.c: In function ‘command_config_i2c’:
src/i2ccmds.c:23:23: warning: implicit declaration of function ‘i2c_setup’ [-Wimplicit-function-declaration]
i2c->i2c_config = i2c_setup(args[1], args[2], addr);
^
src/i2ccmds.c: In function ‘command_i2c_write’:
src/i2ccmds.c:35:5: warning: implicit declaration of function ‘i2c_write’ [-Wimplicit-function-declaration]
i2c_write(i2c->i2c_config, data_len, data);
^
src/i2ccmds.c: In function ‘command_i2c_read’:
src/i2ccmds.c:48:5: warning: implicit declaration of function ‘i2c_read’ [-Wimplicit-function-declaration]
i2c_read(i2c->i2c_config, reg_len, reg, data_len, data);
^
make: *** [Makefile:64: out/src/i2ccmds.o] Error 1
There are no problems when connecting the OctoPrint with the printer.
Platform: Raspberry Pi Zero W
System: OctoPi 0.17.0
Printer: Anycubic Mega Zero 2.0
Reactions are currently unavailable