338 return ( |
338 return ( |
339 Preferences.getMicroPython("MpyWorkspace") |
339 Preferences.getMicroPython("MpyWorkspace") |
340 or Preferences.getMultiProject("Workspace") |
340 or Preferences.getMultiProject("Workspace") |
341 or os.path.expanduser("~") |
341 or os.path.expanduser("~") |
342 ) |
342 ) |
|
343 |
|
344 def setWorkspace(self, workspacePath): |
|
345 """ |
|
346 Public method to set the device workspace directory. |
|
347 |
|
348 @param workspacePath directory to be used for saving files |
|
349 @type str |
|
350 """ |
|
351 # nothing to do here |
|
352 pass |
343 |
353 |
344 def selectDeviceDirectory(self, deviceDirectories): |
354 def selectDeviceDirectory(self, deviceDirectories): |
345 """ |
355 """ |
346 Public method to select the device directory from a list of detected |
356 Public method to select the device directory from a list of detected |
347 ones. |
357 ones. |