Tidy up platform script
This commit is contained in:
parent
e08da697f0
commit
7d82e08324
@ -12,7 +12,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import copy
|
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
from platformio.managers.platform import PlatformBase
|
from platformio.managers.platform import PlatformBase
|
||||||
@ -102,7 +101,7 @@ class RaspberrypiPlatform(PlatformBase):
|
|||||||
|
|
||||||
def configure_debug_session(self, debug_config):
|
def configure_debug_session(self, debug_config):
|
||||||
adapter_speed = debug_config.speed or "5000"
|
adapter_speed = debug_config.speed or "5000"
|
||||||
|
|
||||||
server_options = debug_config.server or {}
|
server_options = debug_config.server or {}
|
||||||
server_arguments = server_options.get("arguments", [])
|
server_arguments = server_options.get("arguments", [])
|
||||||
if "interface/cmsis-dap.cfg" in server_arguments:
|
if "interface/cmsis-dap.cfg" in server_arguments:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user