Skip to content

Commit

Permalink
local dev files
Browse files Browse the repository at this point in the history
  • Loading branch information
autoferrit committed Dec 9, 2024
1 parent b730c65 commit c825dba
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 30 deletions.
20 changes: 20 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "C:\\QMK_MSYS\\mingw64\\bin\\gcc.exe",
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "windows-gcc-x64"
}
],
"version": 4
}
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"ms-vscode.cpptools",
"plorefice.devicetree",
"twxs.cmake",
"unifiedjs.vscode-mdx"
"unifiedjs.vscode-mdx",
"twxs.cmake"
]
}
52 changes: 39 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,48 @@
{
"files.associations": {
"*.overlay": "dts",
"*.keymap": "dts"
},
"python.formatting.provider": "black",
"[c]": {
"editor.formatOnPaste": false,
"editor.formatOnSave": false
},
"[css][json][jsonc][html][markdown][yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[javascript][javascriptreact][typescript][typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.formatOnSave": false
},
"[markdown]": {
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": false
},
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.python"
"editor.defaultFormatter": "ms-python.python",
"editor.formatOnSave": true
},
"[css][json][jsonc][html][markdown][yaml]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
"C_Cpp.dimInactiveRegions": false,
"cmake.configureOnOpen": false,
"editor.insertSpaces": true,
"files.associations": {
"*.c": "c",
"*.cpp": "cpp",
"*.h": "c",
"*.hpp": "cpp",
"*.inc": "c",
"*.keymap": "dts",
"*.overlay": "dts",
"ranges": "c",
"type_traits": "c",
"utility": "c",
"xstddef": "c"
},
"files.exclude": {
"**/*.bin": true,
"**/*.hex": true,
"**/*.uf2": true,
"**/.build": true
},
"python.formatting.provider": "black"
}
95 changes: 79 additions & 16 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,91 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "cd app && west build",
"command": "/workspaces/zmk-config/scripts/build_docker.sh kyria_rev3_left nice_nano_v2",
"group": {
"kind": "build",
"isDefault": true
}
"isDefault": true,
"kind": "build"
},
"label": "Build kyria left",
"type": "shell"
},
{
"command": "/workspaces/zmk-config/scripts/build_docker.sh kyria_rev3_right nice_nano_v2",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build kyria right",
"type": "shell"
},
{
"command": "../zmk-config/scripts/build.sh ffkb_lite_v1 nice_nano_v2",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build ffkb_lite_v1",
"type": "shell"
},
{
"command": "../zmk-config/scripts/build.sh bykeeb_left seeeduino_xiao_ble",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build bykeeb left",
"type": "shell"
},
{
"command": "/workspaces/zmk-config/scripts/build_docker.sh bykeeb_right seeeduino_xiao_ble",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build bykeeb right",
"type": "shell"
},
{
"command": "../zmk-config/scripts/build.sh [email protected] vik_cirque_i2c",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build pinkies_out_v3",
"type": "shell"
},
{
"command": "/workspaces/zmk-config/scripts/build_docker.sh settings_reset seeeduino_xiao_ble",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build xiao ble reset",
"type": "shell"
},
{
"command": "/workspaces/zmk-config/scripts/build_docker.sh settings_reset nice_nano_v2",
"group": {
"isDefault": true,
"kind": "build"
},
"label": "Build nice_nano_v2 reset",
"type": "shell"
},
{
"label": "Flash",
"type": "shell",
"command": "cd app && west flash",
"group": "test"
"group": "test",
"label": "Flash",
"type": "shell"
},
{
"label": "Debug",
"type": "shell",
"command": "cd app && west debug",
"group": "test"
"group": "test",
"label": "Debug",
"type": "shell"
}
]
],
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0"
}
69 changes: 69 additions & 0 deletions project.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"extensions": {
"recommendations": [
"spadin.zmk-tools",
"spmeesseman.vscode-taskexplorer"
]
},
"folders": [
{
"path": "."
}
],
"settings": {
"editor.formatOnPaste": false,
"files.associations": {
"**/requirements{/**,*}.{txt,in}": "pip-requirements",
"*.c": "c",
"*.cfg": "ini",
"*.code-workspace": "json",
"*.cpp": "cpp",
"*.h": "c",
"*.hpp": "cpp",
"*.inc": "c",
"*.json": "json",
"*.keymap": "dts",
"*.lock": "toml",
"*.overlay": "dts",
"*.sql": "sql",
"*.tcc": "c",
"*.toml": "toml",
".env": "shellscript",
".env.*": "shellscript",
".gitchangelog.rc": "python",
".pythonstartup": "python",
"Pipfile": "toml",
"array": "c",
"bit": "c",
"compare": "c",
"condition_variable": "c",
"cstddef": "c",
"functional": "c",
"limits": "c",
"list": "c",
"memory": "c",
"mutex": "c",
"new": "c",
"optional": "c",
"profile": "shellscript",
"ranges": "c",
"ratio": "c",
"rc": "shellscript",
"regex": "c",
"string": "c",
"system_error": "c",
"toml": "toml",
"tuple": "c",
"type_traits": "c",
"utility": "c",
"variant": "c",
"xstddef": "c"
},
"vars": {
"zmk": "/workspaces/zmk",
"zmk_build": "/workspaces/zmk-config/scripts/build.sh",
"zmk_config": "/workspaces/zmk-config",
"zmk_modules": "/workspaces/zmk-modules"
}
}
}

0 comments on commit c825dba

Please sign in to comment.