Skip to content

Commit

Permalink
Prepare mbed-tools release 7.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
monty-bot committed Feb 20, 2021
1 parent cf0b74a commit c4ccaf1
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ beta releases are not included in this history. For a full list of all releases,

[//]: # (begin_release_notes)

7.1.2 (2021-02-20)
==================

Bugfixes
--------

- Raise a nicer error from mbed-tools detect when running on an unrecognised OS. (#20210218112043)
- Fix for create a new Mbed OS project in current directory bug. (#20210218122316)


7.1.1 (2021-02-19)
==================

Expand Down
2 changes: 1 addition & 1 deletion docs/api/cli/project_management.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1 class="title">Module <code>mbed_tools.cli.project_management</code></h1>

@click.command()
@click.option(&#34;--create-only&#34;, &#34;-c&#34;, is_flag=True, show_default=True, help=&#34;Create a program without fetching mbed-os.&#34;)
@click.argument(&#34;path&#34;, type=click.Path())
@click.argument(&#34;path&#34;, type=click.Path(resolve_path=True))
def new(path: str, create_only: bool) -&gt; None:
&#34;&#34;&#34;Creates a new Mbed project at the specified path. Downloads mbed-os and adds it to the project.

Expand Down
31 changes: 30 additions & 1 deletion docs/api/devices/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ <h1 class="title">Module <code>mbed_tools.devices.exceptions</code></h1>


class NoDevicesFound(MbedDevicesError):
&#34;&#34;&#34;No Mbed Enabled devices were found.&#34;&#34;&#34;</code></pre>
&#34;&#34;&#34;No Mbed Enabled devices were found.&#34;&#34;&#34;


class UnknownOSError(MbedDevicesError):
&#34;&#34;&#34;The current OS is not supported.&#34;&#34;&#34;</code></pre>
</details>
</section>
<section>
Expand Down Expand Up @@ -100,6 +104,7 @@ <h3>Subclasses</h3>
<ul class="hlist">
<li><a title="mbed_tools.devices.exceptions.DeviceLookupFailed" href="#mbed_tools.devices.exceptions.DeviceLookupFailed">DeviceLookupFailed</a></li>
<li><a title="mbed_tools.devices.exceptions.NoDevicesFound" href="#mbed_tools.devices.exceptions.NoDevicesFound">NoDevicesFound</a></li>
<li><a title="mbed_tools.devices.exceptions.UnknownOSError" href="#mbed_tools.devices.exceptions.UnknownOSError">UnknownOSError</a></li>
</ul>
</dd>
<dt id="mbed_tools.devices.exceptions.NoDevicesFound"><code class="flex name class">
Expand All @@ -123,6 +128,27 @@ <h3>Ancestors</h3>
<li>builtins.BaseException</li>
</ul>
</dd>
<dt id="mbed_tools.devices.exceptions.UnknownOSError"><code class="flex name class">
<span>class <span class="ident">UnknownOSError</span></span>
<span>(</span><span>*args, **kwargs)</span>
</code></dt>
<dd>
<div class="desc"><p>The current OS is not supported.</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class UnknownOSError(MbedDevicesError):
&#34;&#34;&#34;The current OS is not supported.&#34;&#34;&#34;</code></pre>
</details>
<h3>Ancestors</h3>
<ul class="hlist">
<li><a title="mbed_tools.devices.exceptions.MbedDevicesError" href="#mbed_tools.devices.exceptions.MbedDevicesError">MbedDevicesError</a></li>
<li><a title="mbed_tools.lib.exceptions.ToolsError" href="../lib/exceptions.html#mbed_tools.lib.exceptions.ToolsError">ToolsError</a></li>
<li>builtins.Exception</li>
<li>builtins.BaseException</li>
</ul>
</dd>
</dl>
</section>
</article>
Expand All @@ -148,6 +174,9 @@ <h4><code><a title="mbed_tools.devices.exceptions.MbedDevicesError" href="#mbed_
<li>
<h4><code><a title="mbed_tools.devices.exceptions.NoDevicesFound" href="#mbed_tools.devices.exceptions.NoDevicesFound">NoDevicesFound</a></code></h4>
</li>
<li>
<h4><code><a title="mbed_tools.devices.exceptions.UnknownOSError" href="#mbed_tools.devices.exceptions.UnknownOSError">UnknownOSError</a></code></h4>
</li>
</ul>
</li>
</ul>
Expand Down
1 change: 0 additions & 1 deletion news/20210218112043.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/20210218122316.bugfix

This file was deleted.

0 comments on commit c4ccaf1

Please sign in to comment.