Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
FROM letssteam/makecode-toolchain:latest
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
cu \
curl \
make \
software-properties-common \
tar \
udev \
usbutils && \
apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

RUN adduser vscode dialout && \
adduser vscode plugdev

USER vscode
RUN pyocd pack install STM32WB55RGVx && \
pyocd pack install STM32L475VGTx
15 changes: 13 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,19 @@
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.rulers": [130],
"javascript.validate.enable": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"javascript.format.semicolons": "insert",
"typescript.format.semicolons": "insert",
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.format.enable": true,
"eslint.validate": ["typescript", "typescriptreact"],
"C_Cpp.default.compilerPath": "/arm_toolchain/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc",
"C_Cpp.default.cStandard": "c23",
Expand All @@ -91,6 +99,7 @@
"amiralizadeh9480.cpp-helper",
"augustocdias.tasks-shell-input",
"dan-c-underwood.arm",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"github.vscode-pull-request-github",
"keroc.hex-fmt",
Expand All @@ -109,7 +118,9 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3232, 3233],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "make setup build",
"postAttachCommand": "make setup build",
"postCreateCommand": "sudo /lib/systemd/systemd-udevd --daemon",

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ gh-pages
_locales
package-lock.json
.vscode/ipch
*.code-workspace
*.DS_STORE
.pxt/
*.user
Expand Down
10 changes: 0 additions & 10 deletions .vscode/extensions.json

This file was deleted.

92 changes: 0 additions & 92 deletions .vscode/settings.json

This file was deleted.

44 changes: 0 additions & 44 deletions .vscode/tasks.json

This file was deleted.

Loading