CUbeIDE -> Makefile

This commit is contained in:
Attila Body 2019-10-18 13:56:50 +02:00
parent e8cff640ac
commit c91bfd8be9
16 changed files with 55025 additions and 603 deletions

20
.vscode/c_cpp_properties.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"CMDLINE",
"USE_FULL_LL_DRIVER",
"HAVE_CONFIG"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
}

22
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,22 @@
{
// 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": [
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug (OpenOCD)",
"preLaunchTask": "build",
"cwd": "${workspaceRoot}",
"executable": "./build/f407ve_hs_uart.elf",
"servertype": "openocd",
"configFiles": [
"interface/stlink.cfg",
"target/stm32f4x.cfg",
],
"svdFile": "./STM32F40x.svd"
}
]
}

30
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,30 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"command": "make",
"showOutput": "always",
"tasks": [
{
"taskName": "build",
"type": "shell",
"args": [
"all",
"-j8"
],
"problemMatcher": [
"$gcc"
]
},
{
"taskName": "clean",
"type": "shell",
"args": [
"clean"
],
"problemMatcher": []
}
]
}