ugfx/halext
Tectu c5e9fa504f added SPI config struct to TOUCHPADDriver 2012-08-09 12:54:22 +02:00
..
drivers added SPI config struct to TOUCHPADDriver 2012-08-09 12:54:22 +02:00
include added SPI config struct to TOUCHPADDriver 2012-08-09 12:54:22 +02:00
src Removed GDISPDriver structure, add macros 2012-08-09 18:56:09 +10:00
templates Multi-thread, Async Multi-thread & VMT 2012-08-09 17:18:32 +10:00
halext.mk Multi-thread, Async Multi-thread & VMT 2012-08-09 17:18:32 +10:00
readme.txt Multi-thread, Async Multi-thread & VMT 2012-08-09 17:18:32 +10:00

readme.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

To include any of these functions/drivers in your project...

	1/ Specify the path to the LCDLIB. If none defined, default is $(CHIBIOS)/ext/lcd

	2/ In your project Makefile (amongst similiar lines but after the hal line) add the line...
		include $(LCDLIB)/lcd.mk

	3/ In your project Makefile add the makefiles for any specific drivers you want e.g
		include $(LCDLIB)/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.mk
		include $(LCDLIB)/halext/drivers/gdispNokia6610/gdisp_lld.mk

	4/ In your project halconf.h turn on the support you want eg.
		/**
		 * @brief   Enables the Touchpad subsystem.
		 */
		#if !defined(HAL_USE_TOUCHPAD) || defined(__DOXYGEN__)
			#define HAL_USE_TOUCHPAD           TRUE
		#endif
		/**
		 * @brief   Enables the GDISP subsystem.
		 */
		#if !defined(HAL_USE_GDISP) || defined(__DOXYGEN__)
			#define HAL_USE_GDISP           TRUE
			/* Any driver specific defines required go here. The below line is an example. */
			#define GDISP_NEED_MULTITHREAD	TRUE
		#endif
	5/ Do a make clean.