diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-05-24 15:48:18 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-10 23:59:54 +0200 |
commit | 197d9acab4fb5097d3dce56227c2096abdc075bd (patch) | |
tree | 6da888c3fa96ccd070939958a4297f140e75b660 /.vscode | |
parent | 1ed3d346f61d9115fccb33d3047be783a7dd7f7a (diff) |
Convert binding to use the controller
Change-Id: Iae15b07ee768584d7a1a958fb7e119bca65c29e4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/c_cpp_properties.json | 39 | ||||
-rw-r--r-- | .vscode/launch.json | 5 | ||||
-rw-r--r-- | .vscode/settings.json | 21 |
3 files changed, 33 insertions, 32 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 1c01abe..f7487f5 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -1,32 +1,11 @@ { "configurations": [ { - "name": "Mac", - "includePath": [ - "/usr/include", - "/usr/local/include", - "${workspaceFolder}" - ], - "defines": [], - "intelliSenseMode": "clang-x64", - "browse": { - "path": [ - "/usr/include", - "/usr/local/include", - "${workspaceFolder}" - ], - "limitSymbolsToIncludedHeaders": true, - "databaseFilename": "" - }, - "macFrameworkPath": [ - "/System/Library/Frameworks", - "/Library/Frameworks" - ] - }, - { "name": "Linux", "includePath": [ "${workspaceFolder}", + "${workspaceFolder}/afb-helpers", + "${workspaceFolder}/app-controller/ctl-lib", "/opt/AGL/include", "/usr/include/c++/4.8", "/usr/include/c++/4.8/x86_64-suse-linux", @@ -35,14 +14,18 @@ "/usr/local/include", "/usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed", "/usr/x86_64-suse-linux/include", - "/usr/include", - "${workspaceFolder}/afb-helpers" + "/usr/include" + ], + "defines": [ + "AFB_BINDING_PREV3", + "USE_API_DYN" ], - "defines": [], "intelliSenseMode": "clang-x64", "browse": { "path": [ "${workspaceFolder}", + "${workspaceFolder}/afb-helpers", + "${workspaceFolder}/app-controller/ctl-lib", "/opt/AGL/include", "/usr/include/c++/4.8", "/usr/include/c++/4.8/x86_64-suse-linux", @@ -82,5 +65,5 @@ } } ], - "version": 3 -}
\ No newline at end of file + "version": 4 +} diff --git a/.vscode/launch.json b/.vscode/launch.json index b6f6fc5..b163338 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -11,6 +11,7 @@ "program": "/opt/AGL/bin/afb-daemon", "args": [ "--port=5678", + "--name=afb-xds", "--ws-client=unix:/tmp/supervisor", "--workdir=${workspaceRoot}/build/package/", "--ldpaths=lib", @@ -24,7 +25,9 @@ "cwd": "${workspaceRoot}/build/package", "environment": [ ], - "externalConsole": false, + "windows": { + "externalConsole": false + }, "MIMode": "gdb", "setupCommands": [ { diff --git a/.vscode/settings.json b/.vscode/settings.json index d2877c4..2777e9f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,9 +1,17 @@ { + "[json]": { + "editor.quickSuggestions": { + "strings": true + }, + "editor.tabSize": 2, + "editor.insertSpaces": true, + }, "files.associations": { "*.bb": "bat", "*.inc": "bat", "*.bbclass": "bat", "*.rules": "shellscript", + "Jenkinsfile": "declarative", "json.h": "c", "afb-binding.h": "c", "string.h": "c", @@ -28,11 +36,17 @@ "utility": "c", "supervisor-service.h": "c", "typeinfo": "c", - "istream": "c" + "istream": "c", + "xds-binding.h": "c", + "ctl-plugin.h": "c", + "unistd.h": "c", + "supervisor.h": "c", + "sstream": "c", + "stat.h": "c" }, - // Words to add to dictionary for a workspace. "cSpell.words": [ + "CTLP", "callbinder", "gotevent", "ldpaths", @@ -45,5 +59,6 @@ "replyok", "reqid", "roothttp" - ] + ], + "C_Cpp.intelliSenseEngineFallback": "Enabled" } |