maximkulkin / esp-homekit-demo

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

Flash problem (Makefile) #325

Closed borcares closed 4 years ago

borcares commented 4 years ago

Hi.. When I try to flash the Esp8266 with the command: make -C examples/led flash monitor

I have this error: Makefile:13: /Users/xxx/esp8266/esp-homekit-demo/esp-open-rtos/common.mk: No such file or directory make: *** No rule to make target `/Users/xxx/esp8266/esp-homekit-demo/esp-open-rtos/common.mk'. Stop.

hope any1 can help... thank you

maximkulkin commented 4 years ago

Make sure the file is there: /Users/xxx/esp8266/esp-homekit-demo/esp-open-rtos/common.mk

Otherwise check that SDK_PATH environment variable is properly set.

borcares commented 4 years ago

Thanks Maxim,

I have been able to flash with the comand:

_esptool.py -p /dev/cu.wchusbserial1420 --baud 115200 writeflash -fs 1MB -fm dout -ff 40m 0x00000 led.bin

But I think the code doesn't work in my esp... why I don't view the accessory in home app and in serial monitor shows that:

_ets Jan 8 2013,rst cause:2, boot mode:(3,7)

etsmain.c

You know what the problem might be?

Thanks in advance.