how to build a esp32 project in eclipse?
Posted: Thu May 03, 2018 8:01 am
Hi all ,
There are several info about my esp-idf and esp-adf below:
ESP32 packet location ====>>>
1. esp-adf located in :F:\Embedded\esp-adf
2. esp-idf located in :F:\Embedded\esp-adf\esp-idf
3. msys32 toolchain located in :F:\msys32
Eclipse setting ====>>>
1. import project exiting code location: F:\Embedded\esp-adf\examples\player\pipeline_bt_sink
2. Toolchain editor :Cygwin GCC
3. C/C++ Build->Environment :
ADF_PATH ==== F://Embedded//esp-adf
IDF_PATH ==== F://Embedded//esp-adf//esp-idf
PATH ==== F:\msys32\usr\bin;F:\msys32\mingw32\bin;F:\msys32\opt\xtensa-esp32-elf\bin;
BATCH_BUILD ==== 1
4. C/C++ Build->Builder Settings :
Build command: python ${IDF_PATH}/tools/windows/eclipse_make.py
5. C/C++ General -> Preprocessor Include Paths, Macros, etc. :setting as like below pic
but when build project ,there is always a error happen which shows there is not rule in make
and there is also another problem that Symbol 'CONFIG_LOG_DEFAULT_LEVEL' could not be resolved,
although i have include esp_log.h file and finish setting the PATH...
does anybody make it right ???
There are several info about my esp-idf and esp-adf below:
ESP32 packet location ====>>>
1. esp-adf located in :F:\Embedded\esp-adf
2. esp-idf located in :F:\Embedded\esp-adf\esp-idf
3. msys32 toolchain located in :F:\msys32
Eclipse setting ====>>>
1. import project exiting code location: F:\Embedded\esp-adf\examples\player\pipeline_bt_sink
2. Toolchain editor :Cygwin GCC
3. C/C++ Build->Environment :
ADF_PATH ==== F://Embedded//esp-adf
IDF_PATH ==== F://Embedded//esp-adf//esp-idf
PATH ==== F:\msys32\usr\bin;F:\msys32\mingw32\bin;F:\msys32\opt\xtensa-esp32-elf\bin;
BATCH_BUILD ==== 1
4. C/C++ Build->Builder Settings :
Build command: python ${IDF_PATH}/tools/windows/eclipse_make.py
5. C/C++ General -> Preprocessor Include Paths, Macros, etc. :setting as like below pic
but when build project ,there is always a error happen which shows there is not rule in make
Code: Select all
15:33:08 **** Incremental Build of configuration Default for project pipeline_bt_sink ****
make all
make: *** No rule to make target 'all'. Stop.
15:33:08 Build Failed. 1 errors, 0 warnings. (took 752ms)
and there is also another problem that Symbol 'CONFIG_LOG_DEFAULT_LEVEL' could not be resolved,
although i have include esp_log.h file and finish setting the PATH...
does anybody make it right ???