Hello.
I'm trying to build a minima bootloader, as described by arduino in the readme file here but without success.
When I execute the step TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.minima
, I get this error message :
MacBook-Pro:arduino-renesas-bootloader $ TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.minima
Makefile.minima:8: /Users/Downloads/bootloader/arduino-renesas-bootloader/../tinyusb/examples/make.mk: No such file or directory
Makefile.minima:32: /Users/Downloads/bootloader/arduino-renesas-bootloader/../tinyusb/examples/rules.mk: No such file or directory
make: *** No rule to make target `/Users/Downloads/bootloader/arduino-renesas-bootloader/../tinyusb/examples/rules.mk'. Stop.
MacBook-Pro:arduino-renesas-bootloader $
So I looked inside tinyusb folder and I found that missed files where inside, but not in the place the program expected to.
So after copying required files at the right place, I re-executed TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.minima
, and this time get this error message :
MacBook-Pro:arduino-renesas-bootloader $ TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.minima
You must provide a BOARD parameter with 'BOARD='
/Users/Downloads/bootloader/arduino-renesas-bootloader/../tinyusb/examples/make.mk:60: *** Invalid BOARD specified. Stop.
MacBook-Pro:arduino-renesas-bootloader $
When I looked into the MakeFile.minima, I saw these first line
TOP ?= $(TINYUSB_ROOT)
BOARD ?= uno_r4
# run
# python tools/get_deps.py ra
# once in the tinyusb root folder
include $(TOP)/examples/make.mk
So I changed BOARD ?= uno_r4 to BOARD = uno_r4 to see If it does something, but not, same error.
Need help please to know how to make it works.
Thanks
PS : I seems instruction given by arduino was written with earlier tinyusb version (like 0.15 or 0.14) where missed file is located at the right place