Get the App
SLTechnology News&Howtos  ›  Development  › 

How to configure Ubuntu vscode arm driver Development

Shulou Source: shulou.com Published: 2022-06-03 07:27:04 11月12日 Update

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!

Tags: Configuration development driver content plug-ins more knowledge practicality achievement next dilemma reality situation article case editing website industry process high quality Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB MySQL Shulou Technology Shulou Information Microsoft