forked from platformio/platformio-core
Quick fix when board doesn’t have debug configuration
This commit is contained in:
1 parent
75e1173f80
commit
62e755ce60
1 file changed
+1
-1
@@ -29,7 +29,7 @@ def ProcessDebug(env):
|
||||
def DebugLinkSettings(env):
|
||||
if "BOARD" not in env:
|
||||
return
|
||||
board_debug = env.BoardConfig().get("debug")
|
||||
board_debug = env.BoardConfig().get("debug", {})
|
||||
if not board_debug or not board_debug.get("links"):
|
||||
return
|
||||
debug_links = board_debug.get("links")
|
||||
|
||||
Reference in new issue
Block a user