esp-homekit-demo
esp-homekit-demo copied to clipboard
Cannot build example - led example
In my development environment (it ia a Macbook air):
-
I followed instructions here: https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/get-started/index.html
-
I have set up the various env variables: export PATH=$PATH:
/xtensa-lx106-elf/bin export PATH=$PATH: /ESP8266_RTOS_SDK export SDK_PATH= /ESP8266_RTOS_SDK export IDF_PATH= /ESP8266_RTOS_SDK export ESPPORT=
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. "
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.
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.
try: "make IDF_PATH=$IDF_PATH"