diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/c_cpp_properties.json b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/c_cpp_properties.json new file mode 100644 index 0000000000..ba2a226bf2 --- /dev/null +++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/c_cpp_properties.json @@ -0,0 +1,36 @@ +{ + "configurations": [ + { + "name": "Mac", + "includePath": [ + "${workspaceRoot}", + "${workspaceRoot}/../../../FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC", + "${workspaceRoot}/../../../FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/CMSIS", + "${workspaceRoot}/../../../FreeRTOS/Source/include", + "${workspaceRoot}/../../../FreeRTOS/Source/portable/GCC/ARM_CM3" + + ], + "defines": ["DEBUG=1", "mainCREATE_SIMPLE_BLINKY_DEMO_ONLY=1"], + "intelliSenseMode": "clang-x64", + "browse": { + "path": [ + "${workspaceRoot}", + "${workspaceRoot}/../../../FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC", + "${workspaceRoot}/../../../FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/CMSIS", + "${workspaceRoot}/../../../FreeRTOS/Source/include", + "${workspaceRoot}/../../../FreeRTOS/Source/portable/GCC/ARM_CM3" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + }, + "macFrameworkPath": [ + "/System/Library/Frameworks", + "/Library/Frameworks" + ], + "compilerPath": "/usr/local/bin/arm-none-eabi-gcc", + "cStandard": "c99", + "cppStandard":"c++11" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/launch.json b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/launch.json new file mode 100644 index 0000000000..8455e94393 --- /dev/null +++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // 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": "Debug", + "type": "gdb", + "request": "attach", + "executable" : "${workspaceRoot}/build/RTOSDemo.axf", + "target": ":1234", + "remote": true, + "cwd": "${workspaceRoot}", + "osx": { + "preLaunchTask": "qemu", + "postDebugTask": "killallqemu" + } + + } + + ] +} + diff --git a/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/tasks.json b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/tasks.json new file mode 100644 index 0000000000..f2cee3c0ed --- /dev/null +++ b/FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC/.vscode/tasks.json @@ -0,0 +1,81 @@ +{ + // 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", + "args": ["DEBUG=1"], + "problemMatcher": { + "owner": "cpp", + "fileLocation": ["relative", "/"], + "pattern": [ + { + "regexp": ".", + "file": 1, + "location": 2, + "message": 3 + } + ] + }, + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "reveal": "always", + "panel": "new" + } + }, + { + "label": "killallqemu", + "type":"shell", + "isBackground":true, + "command": "killall qemu-system-arm", + "presentation": { + "echo": false, + "reveal": "never", + "focus": false, + "showReuseMessage": false, + "clear": true, + }, + }, + { + "label": "qemu", + "type":"shell", + "isBackground":true, + "runOptions": + { + "instanceLimit": 1 + }, + "command": "qemu-system-arm -s -S -machine mps2-an385 -monitor null -semihosting --semihosting-config enable=on,target=native -kernel ./build/RTOSDemo.axf -serial stdio -nographic -d cpu_reset", + "presentation": { + "echo": true, + "reveal": "always", + "focus": true, + "panel": "dedicated", + "showReuseMessage": true, + "clear": true, + }, + "problemMatcher": + { + "owner": "external", + "pattern": [ + { + "regexp": ".", + "file": 1, + "location": 2, + "message": 3 + } + ], + "background": { + "activeOnStart": true, + "beginsPattern": ".", + "endsPattern": "." + } + } + } + ] +} \ No newline at end of file