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
@@ -110,16 +110,7 @@ instructions for other platforms, and just in general, we recommend you see [Ras
110
110
111
111
```
112
112
113
-
3. Setup a CMake build directory.
114
-
For example, if not using an IDE:
115
-
```
116
-
$ mkdir build
117
-
$ cd build
118
-
$ cmake ..
119
-
```
120
-
121
-
4. Write your code (see [pico-examples](https://github.com/raspberrypi/pico-examples) or the [Raspberry Pi Pico C/C++ SDK](https://rptl.io/pico-c-sdk) documentation
122
-
for more information)
113
+
1. Write your code (see [pico-examples](https://github.com/raspberrypi/pico-examples) or the [Raspberry Pi Pico C/C++ SDK](https://rptl.io/pico-c-sdk) documentation for more information)
123
114
124
115
About the simplest you can do is a single source file (e.g. hello_world.c)
125
116
@@ -151,10 +142,17 @@ for more information)
151
142
if you want to use the default USB see the [hello-usb](https://github.com/raspberrypi/pico-examples/tree/master/hello_world/usb) example.
152
143
153
144
154
-
5. Make your target from the build directory you created.
145
+
1. Setup a CMake build directory.
146
+
For example, if not using an IDE:
147
+
```
148
+
$ mkdir build
149
+
$ cd build
150
+
$ cmake ..
151
+
```
152
+
153
+
1. Make your target from the build directory you created.
155
154
```sh
156
155
$ make hello_world
157
156
```
158
157
159
-
6. You now have `hello_world.elf` to load via a debugger, or `hello_world.uf2` that can be installed and
160
-
run on your Raspberry Pi Pico via drag and drop.
158
+
1. You now have `hello_world.elf` to load via a debugger, or `hello_world.uf2` that can be installed and run on your Raspberry Pi Pico via drag and drop.
0 commit comments