arduino / arduino-renesas-bootloader

A tinyusb based project implementing the bootloader for Uno R4 and Portenta C33
10 stars 4 forks source link

No rule to make target '/examples/make.mk #1

Closed simooon442 closed 8 months ago

simooon442 commented 8 months ago

It seems a folder (examples) containing à "make.mk" is missing when we try to make file.

C:\Users\PC\Downloads\arduino-renesas-bootloader-main\arduino-renesas-bootloader-main>make -f Makefile.minima Makefile.minima:8: /examples/make.mk: No such file or directory make: *** No rule to make target '/examples/make.mk'. Stop.

Is it normal ?

facchinm commented 8 months ago

Hi @simooon442 , you need to clone tinyusb somewhere and specify TINYUSB_ROOT env variable to properly compile the bootloaders :wink:

simooon442 commented 8 months ago

Hello facchinm, thank you for your response, but to be sure I'm not doing wrong, do you mean: 1- Edit compile.sh file and add a new line into ? something like TINYUSB_ROOT='E:\arduino-renesas-bootloader-main\tinyusb' ?

(with of course the tinyusb master folder located at this path)