mirror of
https://github.com/lukstep/raspberry-pi-pico-docker-sdk.git
synced 2025-12-22 18:45:56 +03:00
Update README.md
This commit is contained in:
10
README.md
10
README.md
@@ -62,11 +62,9 @@ docker run -d -it --name pico-sdk --mount type=bind,source=${PWD},target=/home/d
|
|||||||
docker exec -it pico-sdk /bin/sh
|
docker exec -it pico-sdk /bin/sh
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Click the green button in the lower left corner of VSCode and select options: Attach to Running Container...
|
4. When the container is launched, go to VSCode, click the green button in the lower left corner of VSCode and select options: Attach to Running Container...
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
5. Select the SDK container.
|
5. Select the SDK container.
|
||||||
|
|
||||||
@@ -86,7 +84,7 @@ docker exec -it pico-sdk /bin/sh
|
|||||||
|
|
||||||
### Pico SDK aware Intellisense
|
### Pico SDK aware Intellisense
|
||||||
|
|
||||||
For an IntelliSense that will be aware of Raspberry Pi Pico SDK dependencies, we will use [Clangd](https://clangd.llvm.org). Clangd is a language server provided by the LLVM project. To Setup Clang as Intellisense engine follow instruction below:
|
For an IntelliSense that will be aware of Raspberry Pi Pico SDK dependencies, we will use [Clangd](https://clangd.llvm.org). Clangd is a C/C++ language server provided by the LLVM project. To Setup Clang as Intellisense engine follow instruction below:
|
||||||
|
|
||||||
1. To begin with, you need to install the server itself (Clangd is not installed by default in the SDK container image), to do this in the terminal call the command:
|
1. To begin with, you need to install the server itself (Clangd is not installed by default in the SDK container image), to do this in the terminal call the command:
|
||||||
|
|
||||||
@@ -132,7 +130,7 @@ make
|
|||||||
|
|
||||||
5. Now IntelliSense should work!. Now you should see a prompt when you start typing. If you hover your cursor over a function from the SDK you should see its documentation, You can go to the function definition by pressing F12.
|
5. Now IntelliSense should work!. Now you should see a prompt when you start typing. If you hover your cursor over a function from the SDK you should see its documentation, You can go to the function definition by pressing F12.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user