Author: John DiBaggio
Built with Espressif IoT Development Framework.
Please check ESP-IDF docs for getting started instructions.
- Run
make menuconfig
i. TODO ii. TODO - Run
make -j5
-
Open up the project properties
-
Expand C/C++ Build menu
i. Uncheck "Use default build command" ii. Go to Environment, and add the following environment variables:
* IDF_PATH: `/Users/johndibaggio/esp/esp-idf` * PYTHON_PATH: `/Library/Python/2.7/site-packages` * PATH: ${PATH}:`/bin:/usr/bin:/usr/sbin:/sbin:/Users/johndibaggio/esp/xtensa-esp32-elf/bin` * BATCH_BUILD: `1`
-
Expand C/C++ General menu
i. Go to Paths and Symbols
* Import includes from [c_includes.xml](eclipse/c_includex.xml) file
ii. Go to Preprocessor Include Paths, Macros, etc.
1. Select the Providers tab 2. Check the box for "CDT GCC Built-in Compiler Settings" 3. Set the compiler spec command to `xtensa-esp32-elf-gcc ${FLAGS} -E -P -v -dD "${INPUTS}"`
-
Click Apply and Close
-
Rebuild the index
GNU General Public License v3.0
Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.