Last active
April 20, 2020 06:55
-
-
Save BugenZhao/a251c71d197e0295a8ef94da037ec3d1 to your computer and use it in GitHub Desktop.
IntelliSense configuration for Android kernel development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"name": "Linux", | |
"includePath": [ | |
"${workspaceFolder}/**", | |
"~/Android/kernel/goldfish/include", | |
"~/Android/kernel/goldfish/arch/arm/include" | |
], | |
"defines": [ | |
"__KERNEL__", | |
"__GNUC__=4", | |
"_GNU_SOURCE" | |
], | |
"compilerPath": "/usr/bin/gcc", | |
"cStandard": "c89", | |
"intelliSenseMode": "gcc-x64", | |
"browse": { | |
"path": [ | |
"${workspaceFolder}/**", | |
"~/Android/kernel/goldfish/include", | |
"~/Android/kernel/goldfish/arch/arm/include" | |
], | |
"limitSymbolsToIncludedHeaders": true, | |
"databaseFilename": "" | |
} | |
} | |
], | |
"version": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To fix
asm/*.h
problem, runcd include && ln -s asm-generic asm
to create a soft link.