You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-15Lines changed: 40 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,8 +98,6 @@ _(Rust on Windows is needed to support the Rust RLS extension for Visual Studio
98
98
99
99
1. Open the Windows Command Prompt (not Windows Ubuntu). Enter into the command prompt:
100
100
```
101
-
c:
102
-
cd \stm32bluepill-mynewt-sensor
103
101
rustup update
104
102
rustc -V
105
103
```
@@ -116,15 +114,25 @@ _(Rust on Windows is needed to support the Rust RLS extension for Visual Studio
116
114
rustup component add rls rust-analysis rust-src
117
115
```
118
116
119
-
If you see an error like `error: component 'rls' for target 'x86_64-apple-darwin' is unavailable for download for channel 'nightly'`, enter these commands to select an older working build of RLS (2019-05-22)...
117
+
1. If you see an error like [`error: component 'rls' for target 'x86_64-apple-darwin' is unavailable for download for channel 'nightly'`](https://github.com/rust-lang/rls#error-component-rls-is-unavailable-for-download-nightly)...
120
118
121
-
```
119
+
We will need to install an older working build of Rust Language Server (RLS), I recommend the `2019-05-22` build. Follow these steps:
120
+
121
+
Ignore the error and continue to the next step of this installation guide.
122
+
123
+
After completing the steps for _"Install Apache Mynewt"_, enter these commands into the Windows Command Prompt (not Windows Ubuntu)...
# Install Rust on Windows Subsystem for Linux (Windows)
@@ -141,7 +149,6 @@ _(Rust on Windows Subsystem for Linux is needed for building Rust and Mynewt pro
141
149
142
150
1. Enter into the Windows Ubuntu command prompt (not Windows Command Prompt):
143
151
```
144
-
cd /mnt/c/stm32bluepill-mynewt-sensor
145
152
rustup update
146
153
rustc -V
147
154
```
@@ -158,23 +165,32 @@ _(Rust on Windows Subsystem for Linux is needed for building Rust and Mynewt pro
158
165
rustup component add rls rust-analysis rust-src
159
166
```
160
167
161
-
If you see an error like `error: component 'rls' for target 'x86_64-apple-darwin' is unavailable for download for channel 'nightly'`, enter these commands to select an older working build of RLS (2019-05-22)...
168
+
1. If you see an error like [`error: component 'rls' for target 'x86_64-apple-darwin' is unavailable for download for channel 'nightly'`](https://github.com/rust-lang/rls#error-component-rls-is-unavailable-for-download-nightly)...
162
169
163
-
```
170
+
We will need to install an older working build of Rust Language Server (RLS), I recommend the `2019-05-22` build. Follow these steps:
171
+
172
+
Ignore the error and continue to the next step of this installation guide.
173
+
174
+
After completing the steps for _"Install Apache Mynewt"_, enter these commands into the Windows Ubuntu command prompt (not Windows Command Prompt)...
1. Install `rustup` according to the instructions at https://rustup.rs
174
191
175
192
1. Enter into the command prompt:
176
-
```
177
-
cd $HOME/stm32bluepill-mynewt-sensor
193
+
```bash
178
194
rustup update
179
195
rustc -V
180
196
```
@@ -186,20 +202,29 @@ _(Rust on Windows Subsystem for Linux is needed for building Rust and Mynewt pro
186
202
```
187
203
188
204
1. Enter into the command prompt:
189
-
```
205
+
```bash
190
206
rustup target add thumbv7m-none-eabi
191
207
rustup component add rls rust-analysis rust-src
192
208
```
193
209
194
-
If you see an error like `error: component 'rls' for target 'x86_64-apple-darwin' is unavailable for download for channel 'nightly'`, enter these commands to select an older working build of RLS (2019-05-22)...
210
+
1. If you see an error like [`error: component 'rls' for target 'x86_64-apple-darwin' is unavailable for download for channel 'nightly'`](https://github.com/rust-lang/rls#error-component-rls-is-unavailable-for-download-nightly)...
195
211
196
-
```
212
+
We will need to install an older working build of Rust Language Server (RLS), I recommend the `2019-05-22` build. Follow these steps:
213
+
214
+
Ignore the error and continue to the next step of this installation guide.
215
+
216
+
After completing the steps for _"Install Apache Mynewt"_, enter these commands into the command prompt...
0 commit comments