esp-homekit-demo icon indicating copy to clipboard operation
esp-homekit-demo copied to clipboard

Cannot build example - led example

Open christiankoback opened this issue 2 years ago • 3 comments

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. "

christiankoback avatar Jun 19 '22 15:06 christiankoback

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.

maximkulkin avatar Jun 21 '22 04:06 maximkulkin

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 avatar Jun 21 '22 11:06 AchimPieters

try: "make IDF_PATH=$IDF_PATH"

AchimPieters avatar Jun 21 '22 11:06 AchimPieters