src/main/kotlin/com/jetbrains/micropython/devices/PyboardDeviceProvider.kt [47:61]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun getPackageRequirements(sdk: Sdk): List { val manager = PyPackageManager.getInstance(sdk) return manager.parseRequirements("""|pyserial>=3.5,<4.0 |docopt>=0.6.2,<0.7 |adafruit-ampy>=1.0.5,<1.1""".trimMargin()) } override fun getRunCommandLineState(configuration: MicroPythonRunConfiguration, environment: ExecutionEnvironment): CommandLineState? { val module = configuration.module ?: return null val command = getMicroUploadCommand(configuration.path, module) ?: return null return object : CommandLineState(environment) { override fun startProcess() = OSProcessHandler(GeneralCommandLine(command)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/main/kotlin/com/jetbrains/micropython/devices/RPiPicoDeviceProvider.kt [55:69]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun getPackageRequirements(sdk: Sdk): List { val manager = PyPackageManager.getInstance(sdk) return manager.parseRequirements("""|pyserial>=3.5,<4.0 |docopt>=0.6.2,<0.7 |adafruit-ampy>=1.0.5,<1.1""".trimMargin()) } override fun getRunCommandLineState(configuration: MicroPythonRunConfiguration, environment: ExecutionEnvironment): CommandLineState? { val module = configuration.module ?: return null val command = getMicroUploadCommand(configuration.path, module) ?: return null return object : CommandLineState(environment) { override fun startProcess() = OSProcessHandler(GeneralCommandLine(command)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -