Skip to content

Update vscode.md to instruct Windows users to install GNU Make + inst… #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 22, 2018
Merged

Conversation

janjongboom
Copy link
Contributor

…ructions to build with CLI

Fix for #409

@iriark01 @AnotherButler

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few questions.

@@ -2,6 +2,8 @@

This document explains how to build and debug Arm Mbed OS applications using Visual Studio Code. Before starting, first [configure your local debug toolchain](/docs/v5.6/tools/setting-up-a-local-debug-toolchain.html).

If you're using Windows, also install [GNU Make](https://www.gnu.org/software/make/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not related to windows, correct? Linux and MacOS would also need make.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not completely. Most linux distributions I believe have it installed by default.

Copy link
Contributor

@theotherjimmy theotherjimmy Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ubuntu does, but base Archlinux does not. Either way, I think it's worth mentioning.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, and Mac does not come with make.


### Building with Mbed CLI

Visual Studio Code uses `make` to build your application. However, you can also build with Mbed CLI. To do this:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visual Studio Code uses make to build your application by default. You can also build with Mbed CLI. To do this:

- In `.vscode/tasks.json`, change `args` to:

```
"args": ["compile", "--profile=debug"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also have -t and -m specified. Otherwise, it won't work. The exported .mbed file contains no configuration.

Add commas for consistent treatment of introductory prepositional phrases.
@janjongboom
Copy link
Contributor Author

@theotherjimmy @AnotherButler Fixed, squashed and pushed.

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks. 👍

Update final list formatting because numbered lists indicate steps that must occur in order, and bulleted lists indicate steps for which order doesn't matter.
@AnotherButler AnotherButler merged commit 5dcdde2 into ARMmbed:new_engine Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants