From 89be54a9feb65bfbad237b79969bf3446c90eebd Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sat, 28 Mar 2020 20:30:24 +0100 Subject: Adds initial version of the Attiny24 firmware --- picl-firmware/.vscode/c_cpp_properties.json | 15 +++++++++++++++ picl-firmware/.vscode/tasks.json | 26 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 picl-firmware/.vscode/c_cpp_properties.json create mode 100644 picl-firmware/.vscode/tasks.json (limited to 'picl-firmware/.vscode') diff --git a/picl-firmware/.vscode/c_cpp_properties.json b/picl-firmware/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..add3b91 --- /dev/null +++ b/picl-firmware/.vscode/c_cpp_properties.json @@ -0,0 +1,15 @@ +{ + "configurations": [ + { + "name": "AVR", + "includePath": [ + "${workspaceFolder}/**", + "/usr/avr/include/**" + ], + "defines": ["__AVR_ATtiny24__"], + "compilerPath": "/usr/bin/avr-gcc", + "intelliSenseMode": "clang-x64" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/picl-firmware/.vscode/tasks.json b/picl-firmware/.vscode/tasks.json new file mode 100644 index 0000000..069c853 --- /dev/null +++ b/picl-firmware/.vscode/tasks.json @@ -0,0 +1,26 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "avr-gcc build active file", + "command": "/bin/avr-gcc", + "args": [ + "-mmcu=attiny24", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "options": { + "cwd": "/bin" + }, + "problemMatcher": [ + "$gcc" + ], + "group": "build" + } + ] +} \ No newline at end of file -- cgit v1.2.3-70-g09d2