Rainmaker setup for Visual Studio on Mac
Posted: Wed Mar 03, 2021 4:23 pm
I'm trying to get example code running on Visual Studio Code on my MacBook (M1, Big Sur).
Clean install of ESP-IDF and runs ok via VS Code
================
.profile:
export IDF_PATH=~/esp/esp-idf
export PATH="$IDF_PATH/tools:$PATH"
PATH=$PATH:/esp/esp-idfx/esp-rainmaker/cli
================
C/C++ Configurations
${config:idf.espIdfPath}/components/**
${config:idf.espIdfPathWin}/components/**
${workspaceFolder}/**
${config:idf.espIdfPath}/esp-rainmaker/components/**
${config:idf.espIdfPathWin}/esp-rainmaker/components/**
================
eep-rainmaker clones to:
esp/esp-idf/esp-rainmaker
================
esp-rainmaker examples added to the esp/esp-idf/examples folder
Example but from one of these using the ESP-IDF-how examples utility and stored under documents.
================
When compiling the builder can't find any of the rainmaker files - bombs out at:
../main/app_main.c:17:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
which is on the paths (see above)
Any ideas on what environment variable I'm missing??
Thank you
Clean install of ESP-IDF and runs ok via VS Code
================
.profile:
export IDF_PATH=~/esp/esp-idf
export PATH="$IDF_PATH/tools:$PATH"
PATH=$PATH:/esp/esp-idfx/esp-rainmaker/cli
================
C/C++ Configurations
${config:idf.espIdfPath}/components/**
${config:idf.espIdfPathWin}/components/**
${workspaceFolder}/**
${config:idf.espIdfPath}/esp-rainmaker/components/**
${config:idf.espIdfPathWin}/esp-rainmaker/components/**
================
eep-rainmaker clones to:
esp/esp-idf/esp-rainmaker
================
esp-rainmaker examples added to the esp/esp-idf/examples folder
Example but from one of these using the ESP-IDF-how examples utility and stored under documents.
================
When compiling the builder can't find any of the rainmaker files - bombs out at:
../main/app_main.c:17:10: fatal error: esp_rmaker_core.h: No such file or directory
#include <esp_rmaker_core.h>
which is on the paths (see above)
Any ideas on what environment variable I'm missing??
Thank you