Mair / create-esp32-app

esp32 vscode generator
54 stars 18 forks source link

Espressif Visual Studio Plugin #21

Open don41382 opened 3 years ago

don41382 commented 3 years ago

Thanks for your tutorial.

I followed your instruction and after pressing CMD+~ I get the following result:

[Running] cd "~/dev/iot/esp/projects/hello_world_native/main/" && gcc main.c -o main && "~/dev/iot/esp/projects/hello_world_native/main/"main
main.c:3:10: fatal error: 'driver/gpio.h' file not found
#include "driver/gpio.h"
         ^~~~~~~~~~~~~~~
1 error generated.

It looks like he is not picking up the cmd described in settings.conf. I have added

"terminal.integrated.allowWorkspaceConfiguration": true,

to the user setting, but that doesn't seem to help.

And I am asking myself, is there a reason that you are not using the official espressif visual studio plugin?