From d50d2a22f0252f564fdbc0a58cbb9041f67ba357 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Tue, 31 Mar 2020 16:05:29 +0200 Subject: Tries to trace the OCOA and OCOB pins but no output? --- picl-firmware/.vscode/c_cpp_properties.json | 16 ++++++++++++++-- picl-firmware/.vscode/tasks.json | 7 +++---- 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'picl-firmware/.vscode') 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" ], -- cgit v1.2.3-70-g09d2