diff --git a/docs b/docs index 2c2dce47..438d910c 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 2c2dce47ab2ee3eb20893d6fb8e01a34fef5c5ee +Subproject commit 438d910cc4d35337df90a6b23955f89a0675b52c diff --git a/examples b/examples index bcdcf466..2fdead5d 160000 --- a/examples +++ b/examples @@ -1 +1 @@ -Subproject commit bcdcf46691c1fe79e8cb2cc74e1a156f6bac5e90 +Subproject commit 2fdead5df5f146c6f7c70eeef63669bebab7a225 diff --git a/platformio/managers/platform.py b/platformio/managers/platform.py index 5fa38a43..52842ca0 100644 --- a/platformio/managers/platform.py +++ b/platformio/managers/platform.py @@ -609,7 +609,7 @@ class PlatformBase(PlatformPackagesMixin, PlatformRunMixin): @property def vendor_url(self): - return self._manifest.get("url") + return self._manifest.get("homepage") @property def docs_url(self): diff --git a/scripts/docspregen.py b/scripts/docspregen.py index 3628f609..3c498309 100644 --- a/scripts/docspregen.py +++ b/scripts/docspregen.py @@ -88,12 +88,12 @@ def generate_boards_table(boards, skip_columns=None): lines.append(prefix + name) for data in sorted(boards, key=lambda item: item['name']): - has_onboard_debug = (data['debug'] and any( + has_onboard_debug = (data.get('debug') and any( t.get("onboard") for (_, t) in data['debug']['tools'].items())) debug = "No" if has_onboard_debug: debug = "On-board" - elif data['debug']: + elif data.get('debug'): debug = "External" variables = dict(id=data['id'], @@ -170,11 +170,11 @@ def generate_debug_contents(boards, skip_board_columns=None, extra_rst=None): skip_board_columns.append("Debug") lines = [] onboard_debug = [ - b for b in boards if b['debug'] and any( + b for b in boards if b.get('debug') and any( t.get("onboard") for (_, t) in b['debug']['tools'].items()) ] external_debug = [ - b for b in boards if b['debug'] and b not in onboard_debug + b for b in boards if b.get('debug') and b not in onboard_debug ] if not onboard_debug and not external_debug: return lines @@ -723,7 +723,7 @@ You can change upload protocol using :ref:`projectconf_upload_protocol` option: # lines.append("Debugging") lines.append("---------") - if not board['debug']: + if not board.get('debug'): lines.append( ":ref:`piodebug` currently does not support {name} board.".format( **variables)) @@ -781,7 +781,7 @@ def update_debugging(): platforms = [] frameworks = [] for data in BOARDS: - if not data['debug']: + if not data.get('debug'): continue for tool in data['debug']['tools']: