micropython / micropython-esp32

Old port of MicroPython to the ESP32 -- new port is at https://github.com/micropython/micropython
MIT License
669 stars 216 forks source link

Failed to build #258

Closed Chrithon closed 4 years ago

Chrithon commented 4 years ago

I had tried many times, but it still fails Results: ying@ying-MS-7B22:~/esp/micropython-esp32/ports/esp32$ make Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. 16:45:18.132237 git.c:344 trace: built-in: git show -s '--pretty=format:%H' WARNING The git hash of ESP IDF does not match the supported version The build may complete and the firmware may work but it is not guaranteed ESP IDF path: /home/ying/esp/esp-idf Current git hash: a0644bf8ae6a9435ed2ce46d0828e5970e5f4623 Supported git hash: 2c95a77cf93781f296883d5dbafcdc18e4389656 16:45:18.148349 git.c:344 trace: built-in: git describe CC /home/ying/esp/esp-idf/components/bootloader_support/src/bootloader_flash.c /home/ying/esp/esp-idf/components/bootloader_support/src/bootloader_flash.c:16:10: fatal error: bootloader_flash.h: No such file or directory

include

      ^~~~~~~~~~~~~~~~~~~~

compilation terminated. Makefile:897: recipe for target 'build/bootloader//home/ying/esp/esp-idf/components/bootloader_support/src/bootloader_flash.o' failed make: *** [build/bootloader//home/ying/esp/esp-idf/components/bootloader_support/src/bootloader_flash.o] Error 1

I followed the README file, but it still doesn't work. (See issue: https://github.com/micropython/micropython-esp32/issues/1

Chrithon commented 4 years ago

Device: ESP32