Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type 'esp_chip_info_t' could not be resolved in new idf project created using helloworld tmplate project (IEP-122) #49

Closed
Fick707 opened this issue Jan 29, 2020 · 5 comments

Comments

@Fick707
Copy link

Fick707 commented Jan 29, 2020

Describe the bug
Type 'esp_chip_info_t' could not be resolved
osx
eclipse 2019-12 cdt

To Reproduce
Steps to reproduce the behavior:

  1. create a new idf project using hello_world template project;
  2. add some include directories;
  3. build success,but Type 'esp_chip_info_t' could not be resolved in hello_world_main.c file

Screenshots
issues001

Environment Information:
eclipse.info.txt

ESP-IDF Tools Information:
Executing /usr/bin/python /Users/fick/esp/esp-idf/tools/idf_tools.py list

  • xtensa-esp32-elf: Toolchain for Xtensa (ESP32) based on GCC
    • esp-2019r2-8.2.0 (recommended, installed)
  • xtensa-esp32s2-elf: Toolchain for Xtensa (ESP32-S2) based on GCC
    • esp-2019r2-8.2.0 (recommended, installed)
  • esp32ulp-elf: Toolchain for ESP32 ULP coprocessor
    • 2.28.51-esp-20191205 (recommended, installed)
  • esp32s2ulp-elf: Toolchain for ESP32-S2 ULP coprocessor
    • 2.28.51-esp-20191205 (recommended, installed)
  • cmake: CMake build system (optional)
    • 3.13.4 (recommended, installed)
  • openocd-esp32: OpenOCD for ESP32
    • v0.10.0-esp32-20191114 (recommended, installed)
  • ninja: Ninja build system (optional)
    • 1.9.0 (recommended, installed)
@github-actions github-actions bot changed the title Type 'esp_chip_info_t' could not be resolved in new idf project created using helloworld tmplate project Type 'esp_chip_info_t' could not be resolved in new idf project created using helloworld tmplate project (IEP-122) Jan 29, 2020
@Fick707
Copy link
Author

Fick707 commented Jan 29, 2020

when I double click the sdkconfig file in my helloesp32 project, sdkconfig editor shows a errror "Error retrieving output from the JSON configuration server,please check the console",and the console print below:

Executing action: confserver
Build directory '/Users/fick/eclipse-workspace/helloesp32/build' configured for project '/Users/fick/esp/esp-idf/examples/get-started/hello_world' not '/Users/fick/eclipse-workspace/helloesp32'. Run '/Users/fick/esp/esp-idf/tools/idf.py fullclean' to start again.

something wrong?

@Fick707
Copy link
Author

Fick707 commented Jan 30, 2020

I miss "/usr/local/bin" in PATH environment variable .(Go into project properties,C/C++ Build->Environment->PATH)

@Fick707 Fick707 closed this as completed Jan 30, 2020
@kolipakakondal
Copy link
Collaborator

usr/local/bin

Wasn't this added automatically when you run "install tools" from the eclipse menu?

@pavan-vibhute
Copy link

I am getting this same error. What is the resolution ? I am running on Windows 10.
I am using esp-idf-v4.1

@lakshminarayanaks79
Copy link

/usr/local/bin" what exactly you mean from this because all the bin path are added and i am still getting error. so help me solve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants