Skip to content

Commit 473bac7

Browse files
committed
Fix build instructions
1 parent d3940c7 commit 473bac7

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -191,16 +191,16 @@ Controllers that was tested on different host modes.
191191

192192
### Building
193193

194-
#### If you have set PICO SDK already
195-
196194
```
197195
git clone https://github.com/Loc15/PicoGamepadConverter
198196
cd PicoGamepadConverter/
199197
git submodule update --init
200-
cd src/
198+
cd pico-sdk/
199+
git submodule update --init
200+
cd ..
201201
mkdir build
202202
cd build
203-
cmake ..
203+
cmake ../src
204204
make
205205
```
206206

@@ -217,12 +217,16 @@ _The instructions below have been successful on Windows (11) but should mostly a
217217
cd /home/dev
218218
mkdir pico
219219
cd pico
220-
git clone --recursive https://github.com/Loc15/PicoGamepadConverter.git
220+
git clone https://github.com/Loc15/PicoGamepadConverter
221+
cd PicoGamepadConverter/
222+
git submodule update --init
223+
cd pico-sdk/
224+
git submodule update --init
221225
```
222226
5. Wait a bit then:
223227

224228
```
225-
cd PicoGamepadConverter
229+
cd ..
226230
mkdir build
227231
cd build
228232
cmake ../src

0 commit comments

Comments
 (0)