Galzai / MK32

Keyboard firmware for ESP32 microcontrollers
676 stars 118 forks source link

Custom project path #3

Closed bilogic closed 5 years ago

bilogic commented 5 years ago

Hi,

In step 2 of https://github.com/Galzai/MK32/wiki/Building-and-flashing#2-cloning-mk32, it was indicated to clone the repo into the ~/esp folder

Is this mandatory?

I'm using Windows with export IDF_PATH="E:/esp32/esp-idf"

make flash works when I use these paths: IDF - e:/esp32/esp-idf MSYS32 - e:/esp32/msys2 MK32 - e:/esp32/msys2/esp/MK32

I'm trying to separate MSYS2 from codes, and it fails when my paths are: IDF - e:/esp32/esp-idf MSYS32 - e:/esp32/msys2 MK32 - e:/projects/MK32

I found the following errors:

...
make[2]: *** No rule to make target 'E:/esp32/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc/uECC.c', needed by 'micro-ecc/uECC.o'.  Stop.
...
make[1]: *** [/e/esp32/esp-idf/make/project.mk:527: component-micro-ecc-build] Error 2
make[1]: *** Waiting for unfinished jobs....
...
make: *** [/e/esp32/esp-idf/components/bootloader/Makefile.projbuild:41: /e/projects/MK32/build/bootloader/bootloader.bin] Error 2
make: *** Waiting for unfinished jobs....

Any ideas? Thank you.

bilogic commented 5 years ago

I cleared the /e/projects/MK32/build folder and make flash works now.