0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 22:31:25 +03:00
This commit is contained in:
OneOfEleven 2023-10-11 23:08:09 +01:00
commit 00f5d77e5a
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,42 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Archlinux Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile"
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.scrollback": 10000,
"git.allowForcePush": true,
"editor.minimap.enabled": false
}/*,
// Here are a few extensions suggestions for more serious development in this Codespace
"extensions": [
"eamodio.gitlens",
"ms-vscode.makefile-tools",
"ms-vscode.cpptools",
"ms-vscode.cpptools-themes"
]*/
}
}
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "cat /etc/os-release",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
}

View File

@ -148,6 +148,14 @@ You may need to edit the bat file (path to make.exe) depending on where you inst
I've left some notes in the win_make.bat file to maybe help with stuff. I've left some notes in the win_make.bat file to maybe help with stuff.
## Building from browser
To build the firmware without installing any software you can run a full featured IDE and compiler in your browser using GitHub Codespace.
The environment is build using the Archlinux Dockerfile provided in the project.
You just need to clic on the green button `<> Code` -> `Codespace` -> `Create Codespace on ...`
After the Codespace is initialized, you can open and edit any file and build the firmware typing `make` in the terminal panel.
# Credits # Credits
Many thanks to various people on Telegram for putting up with me during this effort and helping: Many thanks to various people on Telegram for putting up with me during this effort and helping: