How to configure Ubuntu vscode arm driver Development
This article introduces the relevant knowledge of "how to configure Ubuntu vscode arm-driven development". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Install the GLOBAL plug-in
Ubunut sudo apt install global
The vscode search plug-in global is then installed
Configure vscode c_cpp_properties.json
{
"configurations": [
{
"name": "Linuxdrv"
"includePath": [
"${workspaceFolder} / * *"
"/ home/book/100ask_stm32mp157_pro-sdk/Linux-5.4/include/**"
"/ home/book/100ask_stm32mp157_pro-sdk/Linux-5.4/**"
"/ home/book/100ask_stm32mp157_pro-sdk/Linux-5.4/include"
"/ home/book/100ask_stm32mp157_pro-sdk/Linux-5.4/arch/arm/include"
"/ home/book/100ask_stm32mp157_pro-sdk/Linux-5.4/arch/arm/include/generated"
"/ home/book/100ask_stm32mp157_pro-sdk/Linux-5.4/include/uapi"
]
"defines": [
"KBUILD_MODNAME=\" hello_module\ ""
"_ _ KERNEL__"
"_ _ GNUC__"
]
"compilerPath": "/ home/book/100ask_stm32mp157_pro-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin/arm-buildroot-linux-gnueabihf-gcc"
"cStandard": "c11"
"cppStandard": "clockwork 17"
"intelliSenseMode": "clang-x64"
}
]
"version": 4
}
This is the end of "how to configure Ubuntu vscode arm driver Development". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!