how to setup the esp mdf in vs code
how to setup the esp mdf in vs code
Hello, I want to use the esp mdf framework. I installed the esp idf 4.0 in vs code using the esp idf plugin. is there is any way to use the Mdf in the vs code. does copying the mdf components in the components folder of idf directory will work?
-
- Posts: 53
- Joined: Sun Aug 29, 2021 1:50 pm
Re: how to setup the esp mdf in vs code
Try that not work. Anyone can provide step??
-
- Posts: 3
- Joined: Mon Aug 30, 2021 9:29 am
Re: how to setup the esp mdf in vs code
You can try the https://github.com/maxgerhardt/pio-esp- ... ee/arduino example and take a look at the following forum post: https://community.platformio.org/t/esp- ... rt/19372/9
-
- Posts: 53
- Joined: Sun Aug 29, 2021 1:50 pm
Re: how to setup the esp mdf in vs code
Thanks, will take a look on that, and I have some test and following .vscode setting seem work.
- {
- "configurations": [
- {
- "name": "Win32",
- "includePath": [
- "${workspaceFolder}/**",
- "${workspaceFolder}/build/config",
- "${env:MDF_PATH}/esp-idf/components/**",
- "${env:MDF_PATH}/components/**"
- ],
- "defines": [
- "_DEBUG",
- "UNICODE",
- "_UNICODE"
- ],
- "windowsSdkVersion": "10.0.19041.0",
- "compilerPath": "C:\\<change to your path>\\.espressif\\tools\\xtensa-esp32-elf\\esp-2020r3-8.4.0\\xtensa-esp32-elf\\bin\\xtensa-esp32-elf-gcc.exe",
- "cStandard": "c17",
- "cppStandard": "c++17",
- "intelliSenseMode": "${default}",
- "browse": {
- "path": [
- "${workspaceFolder}",
- "${workspaceFolder}/build/config",
- "${env:MDF_PATH}/esp-idf/components",
- "${env:MDF_PATH}/components"
- ]
- }
- }
- ],
- "version": 4
- }
-
- Posts: 3
- Joined: Mon Aug 30, 2021 9:29 am
Re: how to setup the esp mdf in vs code
Thank you for sharing your configuration!
Who is online
Users browsing this forum: No registered users and 49 guests