- Open project directory which contains a CMakeLists.txt
- Set environment variables (Settings > Build, Execution, Deployment > CMake):
- Ensure
IDF_PATH
is present & correct - Ensure
PATH
includesxtensa-esp32-elf
'sbin
directory ($IDF_TOOLS_PATH/tools/xtensa-esp32-elf/esp32-<version>/xtensa-esp32-elf/bin
) - Add the python2.7 virtualenv's
bin
directory toPATH
($IDF_TOOLS_PATH/python_env/<version>/bin
) - Add a
PYTHONPATH
variable pointing at the virtualenv'ssite-packages
($IDF_TOOLS_PATH/python_env/<version>/lib/python2.7/site-packages
)
- Ensure
- Set the 'Generation path' to
build
Created
August 17, 2019 14:59
-
-
Save jamieparkinson/6846857cc67a8363c9e2f66c8ba6e520 to your computer and use it in GitHub Desktop.
ESP-IDF CLion/CMake setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment