tmk / tmk_keyboard

Keyboard firmwares for Atmel AVR and Cortex-M
3.96k stars 1.7k forks source link

" LUFA may be too old or not found: try 'git submodule update --init'。" #742

Closed SilenceGoo closed 2 years ago

SilenceGoo commented 2 years ago

I downloaded the newest codes to try to compile on my Ubuntu environment, and this happened. Seems I missed some submodules or I missed smth somewhere?

I always used a earlier tmk version codes in the past until today, so what I could do to avoid this in the updated project? Need specific steps, thanks.

tmk commented 2 years ago

You can git clone this repo and then git submodule update --init will work.

Now 'Download ZIP' won't work simply as it did because this repo doesn't include LUFA codes. You need to download and copy LUFA content under tmk_core/protocol/lufa/lufa-abcminiuser yourself.

You better use git command after all.

SilenceGoo commented 2 years ago

Cool, I should use git more frequently from now on, everything seems working well now.

thanks.