espressif / esp-homekit-sdk

541 stars 98 forks source link

ESP IDF v5.0 support #99

Closed vihanb closed 1 year ago

vihanb commented 1 year ago

I was attempting to run the example "fan" project. I notice the Makefile has line include $(IDF_PATH)/make/project.mk. This fails as I am using ESP IDF v5.0 which does not seem to have a $IDF_PATH/make/ directory. Should my v5.0 installation work? Is there a suggested workaround for working with ESP IDF v5.0?

vihanb commented 1 year ago

Looks like this is a duplicate of #95

shahpiyushv commented 1 year ago

@vihanb ESP IDF v5.0 does not support "make", but uses cmake instead. So the file to check is CMakeLists.txt, which would be same for v4.x as well as v5.x. However, there could be other compilation errors as v5.0 has some breaking changes. We will fix those soon since idf v5.0 has now been officially released.