Skip to content

Unresolved inclusion. unless it was included in "app_main.c". (IEP-1206) #938

@SirPumpkin797

Description

@SirPumpkin797

Describe the bug
I have created one project from Espress IDF Project SPI_Slave_Receive and modified it by adding DEFINE.h Extern_Vars.h Global_Vars.c HW_Setup.h SPI.h SPI.c Wifi.h Wifi.c.

All inclusions that refers to common libraries like "stdio.h" "esp_wifi.h" are not able to be resolved, unless it was included in file "app_main.c". (for example in DEFINE.H).

To Reproduce

  1. create header file like "DEFINE.H"
  2. include "DEFINE.H" in app_main.c
  3. include all inclusions in "DEFINE.H" instead of in app_main.c
  4. see erros.
    Expected behavior

Screenshots
grafik
grafik
grafik

Espressif-IDE Product Information:
Espressif-IDE Product Information.txt

Eclipse Error log.log:
Window > Show View > Other > Search for "Error Log" (Attach as a file)

Please attach the error log as described here https://github.com/espressif/idf-eclipse-plugin#error-log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions