ugfx/halext
2012-08-09 03:13:12 +02:00
..
drivers Merge branch 'master' into touchpad 2012-08-09 03:13:12 +02:00
include more touchpad stuff 2012-08-09 02:31:42 +02:00
src touchpad fix 2012-08-09 03:07:07 +02:00
templates Many changes including scaled fonts 2012-08-05 02:32:31 +10:00
halext.mk some more touchpad stuff 2012-08-09 00:43:52 +02:00
readme.txt more touchpad stuff 2012-08-09 01:20:15 +02:00

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

	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

	5/ Do a make clean.