maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
803 stars 233 forks source link

Cannot build example - led example #433

Open christiankoback opened 2 years ago

christiankoback commented 2 years ago

In my development environment (it ia a Macbook air):

when I try to use the following command (from this library's main folder): make -C examples/led all

I get the error: " make: *** No rule to make target `all'. Stop. "

maximkulkin commented 2 years ago

Examples in examples/ directory are designed to be built with esp-open-rtos. There is an example of how to build firmware for esp8266-rtos-sdk in examples/esp8266-rtos/sdk/led although I haven't checked it lately, it might be outdated. If it does not work, let me know.

AchimPieters commented 2 years ago

Probably your IDF_PATH is not defined. Please see https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html#setup-path-to-esp-idf.

AchimPieters commented 2 years ago

try: "make IDF_PATH=$IDF_PATH"