blob: cfd4da2d7f121b779d948367097f07dd4c5cad19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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.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.
|