diff --git a/Cura/gui/firmwareInstall.py b/Cura/gui/firmwareInstall.py
index 6c2b60c..482a933 100644
--- a/Cura/gui/firmwareInstall.py
+++ b/Cura/gui/firmwareInstall.py
@@ -17,47 +17,6 @@ from Cura.util import profile
from Cura.util import resources
def getDefaultFirmware(machineIndex = None):
- machine_type = profile.getMachineSetting('machine_type', machineIndex)
- extruders = profile.getMachineSettingFloat('extruder_amount', machineIndex)
- heated_bed = profile.getMachineSetting('has_heated_bed', machineIndex) == 'True'
- baudrate = 250000
- if sys.platform.startswith('linux'):
- baudrate = 115200
- if machine_type == 'ultimaker':
- name = 'MarlinUltimaker'
- if extruders > 2:
- return None
- if heated_bed:
- name += '-HBK'
- name += '-%d' % (baudrate)
- if extruders > 1:
- name += '-dual'
- return resources.getPathForFirmware(name + '.hex')
-
- if machine_type == 'ultimaker_plus':
- name = 'MarlinUltimaker-UMOP-%d' % (baudrate)
- if extruders > 2:
- return None
- if extruders > 1:
- name += '-dual'
- return resources.getPathForFirmware(name + '.hex')
-
- if machine_type == 'ultimaker2':
- if extruders > 2:
- return None
- if extruders > 1:
- return resources.getPathForFirmware("MarlinUltimaker2-dual.hex")
- return resources.getPathForFirmware("MarlinUltimaker2.hex")
- if machine_type == 'ultimaker2go':
- return resources.getPathForFirmware("MarlinUltimaker2go.hex")
- if machine_type == 'ultimaker2extended':
- if extruders > 2:
- return None
- if extruders > 1:
- return resources.getPathForFirmware("MarlinUltimaker2extended-dual.hex")
- return resources.getPathForFirmware("MarlinUltimaker2extended.hex")
- if machine_type == 'Witbox':
- return resources.getPathForFirmware("MarlinWitbox.hex")
return None
class InstallFirmware(wx.Dialog):
@@ -68,7 +27,7 @@ class InstallFirmware(wx.Dialog):
if filename is None:
filename = getDefaultFirmware(machineIndex)
if filename is None:
- wx.MessageBox(_("I am sorry, but Cura does not ship with a default firmware for your machine configuration."), _("Firmware update"), wx.OK | wx.ICON_ERROR)
+ wx.MessageBox(_("I am sorry, but Cura on Fedora does not ship firmware for technical reasons. Please go download it and install it as custom firmware instead."), _("Firmware update"), wx.OK | wx.ICON_ERROR)
self.Destroy()
return
self._machine_type = profile.getMachineSetting('machine_type', machineIndex)
diff --git a/Cura/gui/mainWindow.py b/Cura/gui/mainWindow.py
index 9cbb3d1..b263023 100644
--- a/Cura/gui/mainWindow.py
+++ b/Cura/gui/mainWindow.py
@@ -375,7 +375,6 @@ class mainWindow(wx.Frame):
self.splitter.SetSashPosition(self.normalSashPos, True)
# Enabled sash
self.splitter.SetSashSize(4)
- self.defaultFirmwareInstallMenuItem.Enable(firmwareInstall.getDefaultFirmware() is not None)
if profile.getMachineSetting('machine_type').startswith('ultimaker2'):
self.bedLevelWizardMenuItem.Enable(False)
self.headOffsetWizardMenuItem.Enable(False)
@@ -483,9 +482,6 @@ class mainWindow(wx.Frame):
#Add tools for machines.
self.machineMenu.AppendSeparator()
- self.defaultFirmwareInstallMenuItem = self.machineMenu.Append(-1, _("Install default firmware..."))
- self.Bind(wx.EVT_MENU, self.OnDefaultMarlinFirmware, self.defaultFirmwareInstallMenuItem)
-
i = self.machineMenu.Append(-1, _("Install custom firmware..."))
self.Bind(wx.EVT_MENU, self.OnCustomFirmware, i)