Issue compiling firmware for atmega328p

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:

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.