We have a few AVR-specific things which do not have a guard yet, and cause issues on other architectures. This adds those missing guards to the following places: - The `kaleidoscope::Hardware` base class, which is deprecated, but still exists. As such, it needs to be restricted to AVR devices only (since that's all it supported, non-AVR devices should use the new APIs). - `device/keyboardio/twi` are only used by the Imago at the moment, and is AVR-specific, so guard that too. - Removed an unneeded include from `driver::bootloader::None`, because it doesn't need `<avr/wdt.h>`. - `plugin::FirmwareDump` is now restricted to AVR, because that's the only architecture we support dumping the firmware on. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/719/head
parent
caaf67f6bb
commit
faba5dfdf2
Loading…
Reference in new issue