Giovanni has introduced some changes in .mk file which allow to reduce makefile size and reduce effort required to include additional hal libs like chprintf or shell.
I have reworked all the demos to be compliant with this new mechanism. All the STM32 demos and Test HAL applications have been reworked on trunk and Branch_182.
For instance now to include the shell the user should just add the two lines:
Code: Select all
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
include $(CHIBIOS)/os/various/shell/shell.mk
and changes to CSRC and INCDIR are no more required.