RPi Pico screen, CannedMessageModule (CardKB) and reboot support (#2595)

* Make input_source case insensitive

* Implement reboot for RP2040

* Remove EXT_NOTFIFY_OUT as it conflicts with I2C and module is not supported

* RP2040 has screen, button and wire

* Add default I2C pins also for Pico W
This commit is contained in:
GUVWAF
2023-07-08 18:32:36 +02:00
committed by GitHub
parent 97606cd382
commit d8ad2b3f48
5 changed files with 20 additions and 9 deletions

View File

@@ -12,6 +12,8 @@ void powerCommandsCheck()
ESP.restart();
#elif defined(ARCH_NRF52)
NVIC_SystemReset();
#elif defined(ARCH_RP2040)
rp2040.reboot();
#else
rebootAtMsec = -1;
LOG_WARN("FIXME implement reboot for this platform. Skipping for now.\n");
@@ -33,4 +35,4 @@ void powerCommandsCheck()
LOG_WARN("FIXME implement shutdown for this platform");
#endif
}
}
}