Configtool: add SD card select pin support.
For now on the general pinout page, may be moved to a separate tab together with display stuff later. --Traumflug
This commit is contained in:
parent
53dfab3be3
commit
aa401650a7
|
|
@ -61,6 +61,7 @@ class PinoutsPage(wx.Panel, Page):
|
||||||
'STEPPER_ENABLE_PIN': "Stepper Enable Pin:",
|
'STEPPER_ENABLE_PIN': "Stepper Enable Pin:",
|
||||||
'STEPPER_INVERT_ENABLE': "Stepper Invert Enable",
|
'STEPPER_INVERT_ENABLE': "Stepper Invert Enable",
|
||||||
|
|
||||||
|
'SD_CARD_SELECT_PIN': "SD Card Pin:",
|
||||||
'DEBUG_LED_PIN': "Debug LED Pin:"}
|
'DEBUG_LED_PIN': "Debug LED Pin:"}
|
||||||
|
|
||||||
labelWidth = 120
|
labelWidth = 120
|
||||||
|
|
@ -162,10 +163,14 @@ class PinoutsPage(wx.Panel, Page):
|
||||||
tc = self.addPinChoice(k, "", pinNames, True, labelWidth)
|
tc = self.addPinChoice(k, "", pinNames, True, labelWidth)
|
||||||
sz.Add(tc, pos = (5, 3))
|
sz.Add(tc, pos = (5, 3))
|
||||||
|
|
||||||
k = "DEBUG_LED_PIN"
|
k = "SD_CARD_SELECT_PIN"
|
||||||
tc = self.addPinChoice(k, "", pinNames, True, labelWidth)
|
tc = self.addPinChoice(k, "", pinNames, True, labelWidth)
|
||||||
sz.Add(tc, pos = (3, 7))
|
sz.Add(tc, pos = (3, 7))
|
||||||
|
|
||||||
|
k = "DEBUG_LED_PIN"
|
||||||
|
tc = self.addPinChoice(k, "", pinNames, True, labelWidth)
|
||||||
|
sz.Add(tc, pos = (5, 7))
|
||||||
|
|
||||||
self.SetSizer(sz)
|
self.SetSizer(sz)
|
||||||
self.enableAll(False)
|
self.enableAll(False)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue