diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..85444e1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.vscode/*.json linguist-language=JSON-with-Comments diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..a21050d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "preLaunchTask": "cargo build", + "request": "launch", + "name": "Debug", + "program": "${workspaceFolder}/target/debug/chiptool", + // Assume stm32-data and chiptool is cloned side-by-side + /* + "cwd": "${workspaceFolder}/..", + // Add chiptool commandline arguments here to act a debug run. + "args": [ + "transform", + "--transform", + "stm32-data/transforms/SAI.yaml", + "--input", + "stm32-data/data/registers/sai_h5.yaml", + "--output", + "stm32-data/data/registers/sai_h5.yaml" + ] + */ + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..0c08f1b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,14 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "cargo", + "command": "build", + "problemMatcher": [ + "$rustc" + ], + "group": "build", + "label": "cargo build" + } + ] +}