diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2020-03-31 16:05:29 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2020-03-31 16:05:29 +0200 |
| commit | d50d2a22f0252f564fdbc0a58cbb9041f67ba357 (patch) | |
| tree | 714a1d86faa516199f6e2d6d60a566649e3bcaeb /picl-firmware/.vscode | |
| parent | 7e31ec13074d27c6173c89a9d12e9e4be51f9da8 (diff) | |
| download | PiCl-master.tar.gz PiCl-master.tar.bz2 PiCl-master.zip | |
Diffstat (limited to 'picl-firmware/.vscode')
| -rw-r--r-- | picl-firmware/.vscode/c_cpp_properties.json | 16 | ||||
| -rw-r--r-- | picl-firmware/.vscode/tasks.json | 7 |
2 files changed, 17 insertions, 6 deletions
diff --git a/picl-firmware/.vscode/c_cpp_properties.json b/picl-firmware/.vscode/c_cpp_properties.json index add3b91..b9c3363 100644 --- a/picl-firmware/.vscode/c_cpp_properties.json +++ b/picl-firmware/.vscode/c_cpp_properties.json @@ -4,11 +4,23 @@ "name": "AVR", "includePath": [ "${workspaceFolder}/**", - "/usr/avr/include/**" + "/usr/avr/include/**", + "/usr/include/**" + ], + "defines": [ + "__AVR_ATtiny24__" ], - "defines": ["__AVR_ATtiny24__"], "compilerPath": "/usr/bin/avr-gcc", "intelliSenseMode": "clang-x64" + }, + { + "name": "simAVR", + "includePath": [ + "${workspaceFolder}/**", + "/usr/include/**" + ], + "compilerPath": "/usr/bin/clang++", + "intelliSenseMode": "clang-x64" } ], "version": 4 diff --git a/picl-firmware/.vscode/tasks.json b/picl-firmware/.vscode/tasks.json index 069c853..5512abb 100644 --- a/picl-firmware/.vscode/tasks.json +++ b/picl-firmware/.vscode/tasks.json @@ -6,17 +6,16 @@ { "type": "shell", "label": "avr-gcc build active file", - "command": "/bin/avr-gcc", + "command": "/usr/bin/avr-gcc", "args": [ "-mmcu=attiny24", "-g", "${file}", + "-I", + "/usr/include/simavr/", "-o", "${fileDirname}/${fileBasenameNoExtension}" ], - "options": { - "cwd": "/bin" - }, "problemMatcher": [ "$gcc" ], |
