diff --git a/.gitignore b/.gitignore index 672faca..069d24f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build/* src/.local.vimrc -src/.vscode \ No newline at end of file +src/.vscode +.vscode diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 0d9e486..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "configurations": [ - { - "name": "STM32F103x8", - "includePath": [ - "/usr/lib/gcc/arm-none-eabi/9.2.0/include", - "${workspaceRoot}/third_party/core", - "${workspaceRoot}/third_party/device", - "${workspaceRoot}" - ], - "defines": [ - "_DEFAULT_SOURCE", - "STM32F103xB" - ], - "intelliSenseMode": "clang-x64", - "browse": { - "path": [ - "/usr/lib/gcc/arm-none-eabi/9.2.0/include", - "${workspaceRoot}/third_party/core", - "${workspaceRoot}/third_party/device", - "${workspaceRoot}" - ], - "limitSymbolsToIncludedHeaders": true, - "databaseFilename": "" - } - } - ], - "version": 4 -} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 8335832..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - // Verwendet IntelliSense zum Ermitteln möglicher Attribute. - // Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen. - // Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Debug STM32F103C8T6", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceRoot}/build/main.elf", - "cwd": ".", - "MIMode": "gdb", - "miDebuggerServerAddress": "localhost:3333", - "preLaunchTask": "make", - "miDebuggerPath": "/usr/bin/arm-none-eabi-gdb", - "internalConsoleOptions": "openOnSessionStart", - "environment": [], - "setupCommands": [ - { - "description": "Load ELF file into GDB", - "text": "file ${workspaceRoot}/build/main.elf", - "ignoreFailures": false - }, - { - "description": "Connect to remote", - "text": "target remote :3333", - "ignoreFailures": false - }, - { - "description": "Reset and Halt", - "text": "monitor reset halt", - "ignoreFailures": false - }, - { - "description": "Flash", - "text": "monitor flash write_image erase ${workspaceRoot}/build/main.bin 0x8000000", - "ignoreFailures": false - }, - { - "description": "Reset and Halt", - "text": "monitor reset halt", - "ignoreFailures": false - }, - { - "description": "Enable semihosting", - "text": "monitor arm semihosting enable", - "ignoreFailures": false - } - ], - "serverStarted": "watchpoints", - "debugServerPath": "/usr/bin/openocd", - "debugServerArgs": "-f interface/stlink-v2.cfg -f target/stm32f1x.cfg", - "customLaunchSetupCommands": [ - - ], - "stopAtEntry": true, - "logging": { - "exceptions": true, - "moduleLoad": true, - "programOutput": true, - "engineLogging": false, - "trace": false, - "traceResponse": false - }, - "externalConsole": false, - "filterStderr": true, - "filterStdout": false, - "showDisplayString": true, - "targetArchitecture": "arm" - } - ] -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index cb13591..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "files.associations": { - "usb_descriptors.h": "c", - "main.h": "c", - "uart.h": "c", - "steppers.h": "c", - "pinning.h": "c", - "ltp1245.h": "c", - "stm32f103x6.h": "c", - "stm32f1xx.h": "c", - "stm32f100xb.h": "c", - "buildid.h": "c", - "font_arpegius_32.h": "c", - "font_arpegius_16.h": "c", - "debug.h": "c" - }, - "C_Cpp.intelliSenseEngineFallback": "Enabled" -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 1dc1014..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "taskName": "make", - "identifier": "make", - "type": "shell", - "command": "make", - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": "$gcc", - "isBackground": false, - "presentation": { - "echo": true, - "reveal": "always", - "focus": false, - "panel": "shared" - } - }, - { - "taskName": "openocd", - "identifier": "openocd", - "type": "shell", - "command": "openocd", - "args": [ - "-f", - "interface/stlink-v2.cfg", - "-f", - "target/stm32f1x.cfg" - ], - "group": "none", - "isBackground": true, - "presentation": { - "echo": true, - "reveal": "silent", - "focus": false, - "panel": "dedicated" - }, - "dependsOn": "make", - "problemMatcher": [] - }, - { - "taskName": "program", - "identifier": "program", - "type": "shell", - "command": "make", - "args": [ - "program" - ], - "group": "build", - "problemMatcher": "$gcc", - "isBackground": false, - "presentation": { - "echo": true, - "reveal": "always", - "focus": false, - "panel": "shared" - } - } - ] -} \ No newline at end of file