Skip to content

Commit 44e508a

Browse files
Fix instructions for updating Mbed
1 parent 2c73d79 commit 44e508a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This project implements a basic hello world using Mbed OS Community Edition. Us
44
## How to set up this project:
55

66
1. Clone it to your machine. Don't forget to use `--recursive` to clone the submodules: `git clone --recursive https://github.com/mbed-ce/mbed-ce-hello-world.git`
7-
2. You may want to update the mbed-os submodule to the latest version, with `cd mbed-os && git pull origin master`
7+
2. You may want to update the mbed-os submodule to the latest version, with `cd mbed-ce-hello-world/mbed-os && git fetch origin && git reset --hard origin/master`
88
3. Set up the GNU ARM toolchain (and other programs) on your machine using [the toolchain setup guide](https://github.com/mbed-ce/mbed-os/wiki/Toolchain-Setup-Guide).
99
4. Set up the CMake project for editing. We have three ways to do this:
1010
- On the [command line](https://github.com/mbed-ce/mbed-os/wiki/Project-Setup:-Command-Line)

0 commit comments

Comments
 (0)