Thanks for this!
I changed the following and it sufficed: .config.zip (584 Bytes)
# These can be set instead in menuconfig.
CONFIG_WANT_DISPLAYS=n
CONFIG_WANT_SENSORS=n
CONFIG_WANT_LIS2DW=n
CONFIG_WANT_SOFTWARE_I2C=n
CONFIG_WANT_SOFTWARE_SPI=n
# These need to be set to "no".
CONFIG_HAVE_GPIO_SPI=n
CONFIG_HAVE_GPIO_I2C=n
Note that setting CONFIG_HAVE_GPIO_ADC=n
would cause a protocol error later on.
Issues mentioning this:
- Firmware no longer builds for Atmega 328p · Issue #4938 · Klipper3d/klipper · GitHub
- klipper compile error for uno328p · Issue #5124 · Klipper3d/klipper · GitHub
- "make" failed to complete, arduino nano · Issue #5540 · Klipper3d/klipper · GitHub
I really regret to have found a comment from @Sineos saying that addressing this is low priority because the boards “are a dying breed anyway”.
In my opinion and local context, that idea would come out as rather obtuse. Everyone doing anything with electronics around me has an Arduino UNO and a CNC shield. I’d gladly bet that the UNO will probably outlive every board that has come out this year.
It would be better if Klipper could run on it without sacrifices. It is still probably the most popular entry-level MCU everywhere.