Skip to content

Instantly share code, notes, and snippets.

@NicholasSterling
Created November 7, 2018 01:37
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save NicholasSterling/42055529e10fe5e189933dd96d52138c to your computer and use it in GitHub Desktop.
Save NicholasSterling/42055529e10fe5e189933dd96d52138c to your computer and use it in GitHub Desktop.
Visual Studio Code (vscode) configuration for working with kernel modules on Ubuntu 16.04
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/src/linux-headers-4.15.0-36/include/**",
"/usr/src/linux-headers-4.15.0-36/arch/x86/include/**",
"/usr/src/linux-headers-4.15.0-36-generic/include/**",
"/usr/src/linux-headers-4.15.0-36-generic/arch/x86/include/**"
],
"defines": [
"__KERNEL__"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64"
}
],
"version": 4
@colig
Copy link

colig commented Apr 9, 2024

"cStandard": "gnu11",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment