Skip to content

compliing as esp-idf component, error compiling diskio.h after clean install #3066

Closed
@qt1

Description

@qt1

With an old (working) project,

I have reinstalled esp-idf from repository
git describe --tags => v4.0-dev-1381-g6fe853a2c

and arduino-esp under components/arduino
git describe --tags => 1.0.3-rc1-42-gfa55a2c

Now AzureIoT fails compilation, so I disabled the component in 'make menuconfig'

And now I get this king of error:

In file included from /home/baruch/esp/rmt_sender/components/arduino/libraries/SD/src/sd_diskio.cpp:16:0:
/home/baruch/esp/esp-idf/components/fatfs/src/diskio.h:13:9: error: 'BYTE' does not name a type
 typedef BYTE DSTATUS;
         ^
/home/baruch/esp/esp-idf/components/fatfs/src/diskio.h:29:1: error: 'DSTATUS' does not name a type
 DSTATUS disk_initialize (BYTE pdrv);

....

/home/baruch/esp/rmt_sender/components/arduino/libraries/WiFi/src/ETH.cpp:22:25: fatal error: eth_phy/phy.h: No such file or directory
compilation terminated.

It looks like the code tries to pull include files from esp-idf and there is some inconsistency between the version of the SDK

It may be something to do with the make system or some other ritual I didn't do right. However I am a bit concerned this indicates mismatch

Please advise.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions