Makefiles, for now, have a lot of repeatings and are complicated and require improvements.
In skycoin-crypto Makefile, you can build a static library, so instead of including object files from skycoin-crypto directory all the time, much easier and shorter just to link it.
create a new folder with tests and create new Makefile for them, so when I'm making full-firmware commands, that are for tests won't be running. Also, it will help with understanding, which Makefile what do.
The same is entanglement is between firmware and emulator. I think, that if we have folder emulator, then we need the same folder for files, that now are in tiny-firmware, that are related to the device, so recursive make will be more understandable.
To prevent all these problems, maybe it is a good idea to use a nonrecursive method for the make.
Minor improvements:
user pattern-specific variables to add MEMORY_PROTECTED to CPPFLAGS(in the bootloader and full-firmware mem-protect), so there is no need for writing the same commands with only one change of parameter
Feature description
Makefiles, for now, have a lot of repeatings and are complicated and require improvements.
Minor improvements: