Merge pull request #35 from gcopoix/fix/vscode_workspace_v9
fixed VS Code workspace file after v9 upate
This commit is contained in:
commit
d1f7c041c8
@ -5,7 +5,7 @@ The [LVGL](https://github.com/lvgl/lvgl) is written mainly for microcontrollers
|
||||
## Requirements
|
||||
This project is configured for [VSCode](https://code.visualstudio.com) and only tested on Linux, although this may work on OSx or WSL. It requires a working version of GCC, GDB and make in your path.
|
||||
|
||||
To allow debugging inside VSCode you will also require a GDB [extension](https://marketplace.visualstudio.com/items?itemName=webfreak.debug) or other suitable debugger. All the requirements have been pre-configured in the [.workspace](simulator.code-workspace) file (simply open the project by doubleclick on this file).
|
||||
To allow debugging inside VSCode you will also require a GDB [extension](https://marketplace.visualstudio.com/items?itemName=webfreak.debug) or other suitable debugger. All the requirements, build and debug settings have been pre-configured in the [.workspace](simulator.code-workspace) file (simply open the project by doubleclick on this file).
|
||||
|
||||
The project can use **SDL** but it can be easily relaced by any other built-in LVGL dirvers.
|
||||
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
"recommendations": [
|
||||
"ms-vscode.cpptools", // common C/C++ support
|
||||
"ms-vscode.cpptools-themes", // general C/C++ theme
|
||||
"ms-vscode.cmake-tools" // cmake support
|
||||
],
|
||||
"unwantedRecommendations": [
|
||||
]
|
||||
@ -22,13 +23,7 @@
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"cmake.configureOnOpen": false,
|
||||
"files.associations": {
|
||||
"lv_demos.h": "c",
|
||||
"lvgl.h": "c",
|
||||
"lv_drv_conf.h": "c",
|
||||
"stdlib.h": "c"
|
||||
},
|
||||
"cmake.configureOnOpen": true,
|
||||
},
|
||||
// tasks.json section
|
||||
"tasks": {
|
||||
@ -36,7 +31,10 @@
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build",
|
||||
"command": "make",
|
||||
"command": "cmake",
|
||||
"args": [
|
||||
"--build", "${command:cmake.buildDirectory}"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
@ -64,9 +62,9 @@
|
||||
"name": "Debug LVGL demo with gdb",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/demo",
|
||||
"program": "${workspaceFolder}/bin/main",
|
||||
"args": [],
|
||||
"cwd": "${fileDirname}",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"preLaunchTask": "Build",
|
||||
"stopAtEntry": false,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user