Project starting point

This commit is contained in:
2020-09-06 16:13:07 +02:00
commit a77fd20d2d
20 changed files with 750 additions and 0 deletions

22
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,22 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/var/lib/gems/2.7.0/gems/ceedling-0.30.0/vendor/unity/src",
"/var/lib/gems/2.7.0/gems/ceedling-0.30.0/vendor/cmock/src",
"/usr/lib/avr/include"
],
"defines": [
"__AVR_ATmega644PA__",
"F_CPU=11059200"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c99",
"cppStandard": "gnu++14",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}

28
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,28 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Ceedling Test Explorer Debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/test/out/${command:ceedlingExplorer.debugTestExecutable}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"miDebuggerPath": "/usr/bin/gdb"
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"ceedlingExplorer.debugConfiguration": "Ceedling Test Explorer Debug"
}

43
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,43 @@
{
// 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": "make",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "make clean",
"type": "shell",
"command": "make",
"args": [
"clean"
],
"problemMatcher": []
},
{
"label": "ceedling clobber",
"type": "shell",
"command": "ceedling",
"args": [
"clobber"
],
"problemMatcher": []
},
{
"label": "clean",
"dependsOn": [
"make clean",
"ceedling clobber"
],
"problemMatcher": []
}
]
}