From 3f114dd7ddef21db6b0acb04008038716354144b Mon Sep 17 00:00:00 2001 From: George Stephens Date: Mon, 1 Aug 2022 20:32:47 +0100 Subject: [PATCH] Raspberry Pi Compute Module 4 Support Adds support for Raspberry Pi Compute Module 4. --- RaspberryDebugger/DebugHelper.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RaspberryDebugger/DebugHelper.cs b/RaspberryDebugger/DebugHelper.cs index 8d39167..9f9a27e 100644 --- a/RaspberryDebugger/DebugHelper.cs +++ b/RaspberryDebugger/DebugHelper.cs @@ -521,13 +521,14 @@ public static ConnectionInfo GetDebugConnectionInfo(ProjectProperties projectPro // .NET Core only supports Raspberry models 3 and 4. if (!connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi 3 Model") && !connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi 4 Model") && + !connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi Compute Module 4") && !connection.PiStatus.RaspberryModel.StartsWith("Raspberry Pi Zero 2")) { await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); MessageBoxEx.Show( $"Your [{connection.PiStatus.RaspberryModel}] is not supported." + - " .NET Core requires a Raspberry Model 3 or 4 or Pi Zero 2.", + " .NET Core requires a Raspberry Model 3 or 4, Pi Zero 2 or Compute Module 4.", "Raspberry Not Supported", MessageBoxButtons.OK, MessageBoxIcon.Error);