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
This is a docker-based interactive development environment using VS Code and Docker Dev Containers removing the need to install any tools locally*
3
-
4
2
3
+
This is a docker-based interactive development environment using VS Code and Docker Dev Containers removing the need to install any tools locally\*
5
4
6
5
## Requirements
7
6
@@ -16,45 +15,41 @@ This is a docker-based interactive development environment using VS Code and Doc
16
15
17
16
1. Clone InfiniTime and update submodules
18
17
2. Launch VS Code
19
-
3. Open InfiniTime directory,
20
-
4. Allow VS Code to open folder with devcontainer.
18
+
3. Open InfiniTime directory,
19
+
4. Allow VS Code to open folder with devcontainer.
21
20
22
-
After this the environment will be built if you do not currently have a container setup, it will install all the necessary tools and extra VSCode extensions.
21
+
After this the environment will be built if you do not currently have a container setup, it will install all the necessary tools and extra VSCode extensions.
23
22
24
23
In order to build InfiniTime we need to run the initial submodule init and CMake commands.
25
24
26
-
#### Manually
25
+
#### Manually
27
26
28
-
You can use the VS Code terminal to run the CMake commands as outlined in the [build instructions](blob/develop/doc/buildAndProgram.md)
27
+
You can use the VS Code terminal to run the CMake commands as outlined in the [build instructions](blob/develop/doc/buildAndProgram.md)
29
28
30
29
#### Script
31
30
32
31
The dev environment comes with some scripts to make this easier, They are located in /opt/.
33
32
34
-
There are also VS Code tasks provided should you desire to use those.
33
+
There are also VS Code tasks provided should you desire to use those.
35
34
36
35
The task "update submodules" will update the git submodules
37
36
38
-
39
-
40
37
### Build
41
38
42
39
You can use the build.sh script located in /opt/
43
40
44
41
CMake is also configured and controls for the CMake plugin are available in VS Code
45
42
46
-
47
-
48
43
### Debugging
49
44
50
45
Docker on windows does not support passing USB devices to the underlying WSL2 subsystem, To get around this we use OpenOCD in server mode running on the host.
This will launch OpenOCD in server mode and attach it to the MCU.
49
+
This will launch OpenOCD in server mode and attach it to the MCU.
55
50
56
51
The default launch.json file expects OpenOCD to be listening on port 3333, edit if needed
57
52
58
-
59
53
## Current Issues
60
-
Currently WSL2 Has some real performance issues with IO on a windows host. Accessing files on the virtualized filesystem is much faster. Using VS Codes "clone in container" feature of the Remote - Containers will get around this. After the container is built you will need to update the submodules and follow the build instructions like normal
54
+
55
+
Currently WSL2 Has some real performance issues with IO on a windows host. Accessing files on the virtualized filesystem is much faster. Using VS Codes "clone in container" feature of the Remote - Containers will get around this. After the container is built you will need to update the submodules and follow the build instructions like normal
0 commit comments