37c1266a51
Fixed fonts for draw/fill char/string. On my display I require GDISP_SOFTWARE_TEXTFILLDRAW for filled char/string but that may because my display blit may be broken. Also found that code in header files doesn't have debug symbols generated for it so I converted the include files that contained code into real C files and altered the halext.mk to match. |
||
---|---|---|
.. | ||
drivers | ||
include | ||
src | ||
templates | ||
halext.mk | ||
readme.txt |
To include any of these functions/drivers in your project... 1/ Place this halext directory into the $(CHIBIOS)/os directory 2/ In your project Makefile (amongst similiar lines but after the hal line) add the line... include $(CHIBIOS)/os/halext/halext.mk 3/ In your project Makefile add the makefiles for any specific drivers you want e.g include $(CHIBIOS)/os/halext/drivers/gdispNokia6610/gdisp_lld.mk 4/ In your project halconf.h turn on the support you want eg. /** * @brief Enables the GDISP subsystem. */ #if !defined(HAL_USE_GDISP) || defined(__DOXYGEN__) #define HAL_USE_GDISP TRUE /* Any driver specific defines required go here */ #define GDISP_NEED_MULTITHREAD TRUE #endif 5/ Do a make clean.