-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
38 lines (38 loc) · 1000 Bytes
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// https://aka.ms/devcontainer.json
// https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
"name": "Zephyr Development Environment",
"build": {
"dockerfile": "dockerfile",
"args": {
"BASE_IMAGE": "ubuntu:latest",
"ZEPHYR_VERSION": "3.5.0",
"ZEPHYR_SDK_VERSION": "0.16.5"
}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--privileged",
"--network=host"
],
"mounts": [
"source=/dev,target=/dev,type=bind",
"source=/opt,target=/opt,type=bind"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/root/bearsink,type=bind,consistency=cached",
"workspaceFolder": "/root/bearsink",
"postCreateCommand": "gcc -v && cmake --version && python3 --version",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"marus25.cortex-debug",
"nordic-semiconductor.nrf-devicetree",
"nordic-semiconductor.nrf-kconfig"
]
}
}
}